ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
<iscle> I've pushed all changes in a single clean commit here: https://github.com/iscle/linux-v853/commit/801bcc4e376eb3b8537c92f019dff608c48875bf
<iscle> Host mode has NOT been tested, so I expect it to not work or just work partially
<apritzel> you would at least need to split off the V853 enablement, since they are independent from the DMA rest
<apritzel> and those #ifdef's look odd, though I think they are an existing pattern for the various MUSB glue DMA bits?
<apritzel> try at least to use IF_ENABLED(), where possible, for instance for the writeb(SUNXI_MUSB_VEND0_DMA_MODE, ...) call
<apritzel> and you can move the stubs for _create() and _destroy() into some header file, as static inline, #ifdef'ed with CONFIG_USB_SUNXI_DMA, that keeps that contained there and doesn't disturb the actual C code
<iscle> apritzel: "you would at least need to split off the V853 enablement" > yep, I know, for now I'm keeping it all in one commit because I'm sure I'll have to modify something more when testing host mode, but I'm keeping it in mind
<iscle> the #ifdef
<iscle> the #ifdef's are indeed a common pattern in other MUSB drivers, but I do agree that they are a bit odd. In fact, the driver won't work if you compile without DMA if you don't specify CONFIG_MUSB_PIO_ONLY
<iscle> Not really sure why they decided to do it like this, but for me it does not make much sense: https://github.com/iscle/linux-v853/blob/a460436e68e2044b2a85d678b332e75ea22a344b/drivers/usb/musb/musb_core.c#L2420
apritzel has quit [Ping timeout: 480 seconds]
iscle has quit [Remote host closed the connection]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<gamiee> iscle : well done!
<gamiee> by PIO you mean Polling mode?
wingrime1 has joined #linux-sunxi
wingrime-ww has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
szemzoa has joined #linux-sunxi
Hypfer has joined #linux-sunxi
mripard has joined #linux-sunxi
colinsane has quit []
colinsane has joined #linux-sunxi
apritzel has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
tlwoerner has quit [Quit: Leaving]
<loki666> apritzel tokyovigilante macromorgan, any idea how to enable mmc2 on H700 ?
<apritzel> loki666: I guess you mean the second SD card on the Anbernic devices? There was something odd about a (GPIO?) regulator powering that port, don't remember the details, but they would be on the mailing list
montjoie_ is now known as montjoie
<loki666> so I need a powerseq ?
<apritzel> that was an unanswered question, IIRC it didn't work reliably?
<loki666> it seems there is a pwr-gpios
bauen1 has quit [Ping timeout: 480 seconds]
<apritzel> ... which is a property made up by AW, also the format doesn't seem to make much sense. I guess we need to wait for macromorgan to shed some light on this ...
swiftgeek has quit [Ping timeout: 480 seconds]
swiftgeek has joined #linux-sunxi
bauen1 has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
warpme has quit []
JohnDoe_71Rus has joined #linux-sunxi
dsimic is now known as Guest5672
dsimic has joined #linux-sunxi
Guest5672 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit []
Hypfer has quit [Quit: Ping timeout (120 seconds)]
Hypfer has joined #linux-sunxi
Hypfer has quit [Quit: Ping timeout (120 seconds)]
Hypfer has joined #linux-sunxi
ftg has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
<macromorgan> yes, it's a GPIO... give me a bit and I can remember what I did previously. Honestly I thought I already upstreamed the work. TL;DR it's just a GPIO controlled fixed regulator that's missing.
<macromorgan> also, anyone know where the PWM ended up? This is the last message I can see (from July): https://lore.kernel.org/linux-sunxi/dkoqgfvl2s4ly7jjzvln6x2nt4ztti4vxuiazx45vhwm5nb6e3@5ia7l3h2cnge/
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
<apritzel> macromorgan: PWM> cannot remember any update since then either, so it's up for grabs, I guess
<macromorgan> I might send an email first... since it got all the way to v9 and then just died
<apritzel> re: 2nd SD: wasn't there more than just a GPIO? I dimly remember this didn't work easily, or there was another problem?
<apritzel> well, it looks like it needs some actual work, according to Uwe's comments, or where they addressed already?
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
colinsane has quit []
vagrantc has joined #linux-sunxi
colinsane has joined #linux-sunxi
Hypfer is now known as Guest5706
Hypfer has joined #linux-sunxi
Guest5706 has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
ftg has joined #linux-sunxi
ftg has quit [Ping timeout: 480 seconds]