narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
Rond has quit [Ping timeout: 252 seconds]
Rond has joined #linux-amlogic
Daanct12 has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-amlogic
Daanct12 has quit [Quit: WeeChat 4.3.5]
Daanct12 has joined #linux-amlogic
Rond has quit [Quit: ZNC - http://znc.in]
Rond has joined #linux-amlogic
djrscally has joined #linux-amlogic
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 276 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 276 seconds]
luka177 has joined #linux-amlogic
psydroid has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
luka177 has quit [Ping timeout: 245 seconds]
luka177 has joined #linux-amlogic
naoki has quit [Quit: naoki]
psydroid has joined #linux-amlogic
luka177 has quit [Ping timeout: 265 seconds]
luka177 has joined #linux-amlogic
anessen97338370 has joined #linux-amlogic
Daanct12 has quit [Quit: WeeChat 4.3.5]
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 248 seconds]
luka177 has joined #linux-amlogic
jacobk has joined #linux-amlogic
psydroid2 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
_whitelogger has quit [Ping timeout: 246 seconds]
_whitelogger has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
cottsay has quit [Quit: TTFN]
cottsay has joined #linux-amlogic
naoki has joined #linux-amlogic
<minute> investigating 8822cs issues, i'm wondering: why, in amlogic vendor linux, they use a PWM on aml_wifi?
<minute> ah, it's used to make a 32khz clock
<minute> the bpi vendor dts says: pwms = <&pwm_ef MESON_PWM_0 30541 0>; and: duty_cycle = <15270>;
<minute> but mainline says: pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
<minute> why is there this small difference?
<minute> as this is likely the RTC clock used for wifi power-save, could this be the reason why powersave is semi broken on rtw88_8822cs?
leah has quit [Ping timeout: 245 seconds]
leah has joined #linux-amlogic
vagrantc has joined #linux-amlogic
<xdarklight> minute: rtw88's SDIO code is fairly simple and does not support card waking up the host. also Jernej and myself had our focus on making it work, I don't think that we spent much/any time testing powersave
<minute> xdarklight: ah, then i misunderstood this feature
<minute> xdarklight: currently, rtw8822cs's connection often gets "stuck", and disabling power saving on the interface helps somewhat
<minute> this coincides with > rtw_8822cs mmc2:0001:1: firmware failed to leave lps state
<xdarklight> that message may require support from Ping-Ke, he has been investigating this on PCIe chips: https://bugzilla.kernel.org/show_bug.cgi?id=215496
<xdarklight> jbrunet: DT backwards compatibility is tricky, indeed. I don't see it as must-have - I was just curios
<xdarklight> jbrunet: I put "test dropping CLK_SET_RATE_PARENT on some video clocks" on my TODO-list. it's an interesting thought and I haven't tried it yet. unfortunately it will take a while until I'm able to try it out
<minute> xdarklight: also, is 20-30mbit RX the max that should be possible on rtw8822cs on mesong12b?
<xdarklight> minute: I assume not, there's also some very fresh patches for USB that may help us as well (when adapting the SDIO code accordingly): https://patchwork.kernel.org/project/linux-wireless/patch/b4c0d54c-6755-4b0f-9dd7-f9196fd74b68@gmail.com/ (especially the second sentence in the patch description is interesting as it matches the speeds that we're seeing)
<minute> ohh
<xdarklight> it's also possible that Bitterblue found a more (CPU) efficient way of reading data with RX aggregation (compared to the basic approach that we have in the SDIO driver)
<xdarklight> (SDIO code memcpy's the left-over data for the next packet(s) while Bitterblue re-uses the data buffer and just creates new skb wrappers)
<minute> mhmm
<minute> yeah, theoretically we have 50MHz x 4bit = 200mbit max bandwidth, right?
<xdarklight> that's the theoretical maximum bus speed. however we also have to discount for performance loss since DMA is not working with the SDIO controller and we need to memcpy from/to a bounce buffer
<minute> i wonder how much bandwidth is lost there
<jbrunet> xdarklight: no worries. when you try, you can start by cutting propagation after your source PLLs (hdmi, vid ? gp maybe) That way should not have the TDMS, DAC and friends tripping on each other
<jbrunet> Unfortunately that's the kind of choice you have make early on considering it may impact the interface you need for proper control. Again difficult to change later on with a stable DT ABI if you realize you made a mistake.
anessen97338370 has quit [Read error: Connection reset by peer]
anessen97338370 has joined #linux-amlogic
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
naoki has quit [Quit: naoki]
<minute> now giving hdmi audio a try on g12b
<minute> oh, got it to work
vagrantc has quit [Quit: leaving]
<minute> hmmm, having audio dropouts on hdmi unfortunately
naoki has joined #linux-amlogic
djrscally has quit [Ping timeout: 276 seconds]
vagrantc has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
jacobk has joined #linux-amlogic
vagrantc has quit [Ping timeout: 276 seconds]
Terry13732293409 has quit [Quit: Bye Bye]
Terry13732293409 has joined #linux-amlogic
anessen97338370 has quit [Read error: Connection reset by peer]
anessen97338370 has joined #linux-amlogic
jacobk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]