<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>
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>
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]