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
apritzel has quit [Ping timeout: 480 seconds]
colinsane has joined #linux-sunxi
colinsane has quit []
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
zoenggit has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<tokyovigilante> apritzel: we do but I wasn't sure whether it was best to do that separately. I have patches for the RG35XX but because there is only a single line-out there is a separate mux, headphone detect and speaker amp GPIO to manage, and the other boards may have bespoke hw. Otherwise only a simple codec { status = "okay"; } is required.
<tokyovigilante> Sorry about the timing but I only have so much free time to work on these so have to take advantage of when I can spend some time.
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
colinsane has joined #linux-sunxi
colinsane has quit []
colinsane has joined #linux-sunxi
zoenggit has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
mripard has joined #linux-sunxi
warpme has quit []
apritzel has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<apritzel> tokyovigilante: no worries, I think it's fine here, it was just a heads up: I heard of maintainers ignoring new patches sent during the merge window
<loki666> apritzel, testing tokyovigilante DE33 patches on 6.12-rc1, but kernel doesn't boot
<loki666> are all AXP717 merged ?
<loki666> kernels logs ends with
<loki666> [ 3.056939] sun50i-h616-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator
<loki666> [ 3.074886] axp20x-i2c 0-0034: Failed to set masks in 0x40: -6
<loki666> [ 3.067679] axp20x-i2c 0-0034: AXP20x variant AXP717 found
<loki666> [ 3.081311] axp20x-i2c 0-0034: failed to add irq chip: -6
<apritzel> loki666: interesting, thanks for the report!
<loki666> Not related to tokyovigilante patches, I just tried a bare 6.12-rc1
colinsane has quit []
<loki666> Uboot/TFA ?
<apritzel> I doubt it, it looks like a write to some interrupt related register failed, and I think the code tries to verify that write
colinsane has joined #linux-sunxi
<loki666> That issue rings a bell to me...
<loki666> mmmh taught, it was this one https://lore.kernel.org/linux-sunxi/20240613233104.17529-1-andre.przywara@arm.com/ , but seems to be merge
<loki666> I'll try to switch to rsb
colinsane has quit [Ping timeout: 480 seconds]
colinsane has joined #linux-sunxi
<loki666> it works with pmic on rsb
warpme has joined #linux-sunxi
<loki666> that's as much as I can test, I have no clues on what's going when axp is on i2c
<loki666> maybe macromorgan has an idea ?
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has quit []
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
warpme has joined #linux-sunxi
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
dsimic is now known as Guest5011
dsimic has joined #linux-sunxi
Guest5011 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
arti_ has quit []
arti has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
apritzel has joined #linux-sunxi
iscle has joined #linux-sunxi
<iscle> I have a doubt with something about dts. (I'm writing the DMA driver for USB for those that did not follow the conversation 2-3 days ago).
juri_ has quit [Ping timeout: 480 seconds]
<iscle> The current DTS for Allwinner D1 uses the following nomenclature to declare DMA channels
<iscle> dmas = <&dma 25>, <&dma 25>;
<iscle> dma-names = "rx", "tx";
<iscle> The DMA controller seems to always have the same channel for TX and RX, but the dts specifies both instead of just 1.
<iscle> For USB, there are 5 RX and 5 TX channels, one for each endpoint. Should I also implement the driver to read the repeated RX and TX values, or should I just declare it 1 time for each endpoint like in the following example?
<iscle> dmas = <&dma 30>, <&dma 31>, <&dma 32>, <&dma 33>, <&dma 34>;
<iscle> dma-names = "ep1", "ep2", "ep3", "ep4", "ep5";
<iscle> To be clear, right now the DTS is not specifying any DMA channels for USB, I have to write it by myself
<iscle> So I'd like feedback for any of the two options (to repeat channels or not to do so)
<apritzel> iscle: are there other users of the MUSB DMA feature? I'd check how they solve this.
<apritzel> I think the rx/tx differentation comes from different code paths involved in sending and receiving, so having them separately makes sense. Not sure how this works in your code
<apritzel> My gut feeling is that just per-endpoint elements would be fine, as you sketched above
<iscle> There are other MUSB drivers implementing DMA for other SOCs but each of them handle in their own code. One of them is, for example, "stericsson,db8500-musb" which does repeat each channel ("iep_1_9", "oep_1_9", "iep_2_10", "oep_2_10", ...)
juri_ has joined #linux-sunxi
<apritzel> do you have the code finished and working? Often those things become clearer if you look how the code would need to handle this
<iscle> At least two drivers for musb dma use separate tx and rx channels, even if they are the same
<apritzel> in general I wouldn't sweat it, reviewers on the list will complain early enough. Maybe just think about how the other way would be implemented already, just in case.
<iscle> apritzel: not yet finished nor working, it compiles at least. I will implement it by repeating the channels and then upload the code so you (or somebody else) can take a second look and lmk their opinion
<iscle> I just wanted to know if there was a general convention or not
<apritzel> I think this question is more MUSB/USB/Linux specific, probably not the right audience in here. If you really need to know before sending, ask on the list
<apritzel> was there anyone in here having trouble with audio on the D1/T113s? Just found what looks like a bug in the PLL_AUDIO0 setup, which would mean its frequency would always be halved. Does that ring a bell with someone?
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
jernej has quit []
jernej has joined #linux-sunxi