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
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
Mangy_Dog has quit [Ping timeout: 480 seconds]
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
cmeerw has quit [Ping timeout: 480 seconds]
mehdix has quit []
mehdix has joined #linux-sunxi
hlauer has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
<MoeIcenowy> apritzel: I think your commit cc72570747e43335f4933a24dd74d5653639176a ("arm64: dts: allwinner: A64: properly connect USB PHY to port 0") finally breaks OTG.
<MoeIcenowy> and for it to work I think some workaround is needed
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel> MoeIcenowy: yeah, there is something fishy with the PHY code, I figured it doesn't work when:
<apritzel> a) you have dr_mode = "peripheral"; and
<apritzel> b) you have OHCI0/EHCI0 enabled (and thus the "phys = <&usbphy 0>" link in effect)
<apritzel> actually for true peripheral boards we should disable OHCI0/EHCI0: they are not needed anyway
<apritzel> I debugged it down to both MUSB and *HCI asking for the PHY, and the PHY code preferring *HCI, so setting the mux to HCI, even though it should not when in peripheral mode
<apritzel> but I didn't find time yet to properly fix it
<apritzel> wens, mripard, MoeIcenowy: was there any recent change for kmalloc(0), or the devm_* variants?
<apritzel> I see v5.14-rc1 complaining when it tries to allocate 0 IRQ banks for the h616-r pinctrl
Mangy_Dog has joined #linux-sunxi
warpme_ has joined #linux-sunxi
<MoeIcenowy> apritzel: maybe we should add a phy_configure_if_unconfigured function :-)
<MoeIcenowy> apritzel: BTW could you review my R329 changeset for ATF?
<apritzel> MoeIcenowy: I am already looking at them ...
<apritzel> my inbox was 90% Icenowy this morning
<MoeIcenowy> ooooooooooops
<apritzel> no worries, it's patches, so that's fine
<MoeIcenowy> apritzel: BTW something weird -- I cannot find where does ehci-platform/ohci-platform opens PHY
<apritzel> I don't know from the top of my head, but I think that's higher up in the layers?
<apritzel> MoeIcenowy: does the R329 have built-in DRAM?
<MoeIcenowy> apritzel: yes, DDR3 128M/256M
<MoeIcenowy> but all BGA.
<apritzel> well, it helps cutting the cost and board size, I guess, and for that target market it's probably enough
<MoeIcenowy> weird... I see some interrupt fails to fire on R329
<MoeIcenowy> I don't know what's wrong
<MoeIcenowy> (PB_EINT3
<apritzel> scratch that kmalloc(0), that was something else, sending a fix in a minute ...
<apritzel> MoeIcenowy: so did I get this correctly that the memory map, clocks, pinctrl and other parts of the R329 are close/identical to the D1/R528?
warpme_ has quit [Quit: Connection closed for inactivity]
<apritzel> it seems the clocks are quite different. I am still hoping to some day find some rhyme or reason in Allwinner's SoC designs ...
<juri_> sources consulted: <crackpipe.jpg>
warpme_ has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
cmeerw has joined #linux-sunxi
cmeerw has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
vagrantc has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
tuxd3v has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
hlauer has quit [Ping timeout: 480 seconds]
Mangy_Dog has quit [Ping timeout: 480 seconds]