ChanServ changed the topic of #linux-msm to:
vknecht[m] has joined #linux-msm
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
mani_s is now known as Guest7978
z3ntu has joined #linux-msm
Adrian[m] has joined #linux-msm
Daanct12 has joined #linux-msm
ungeskriptet has joined #linux-msm
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
ungeskriptet has joined #linux-msm
djakov_ has joined #linux-msm
djakov has quit [Read error: Connection reset by peer]
djakov has joined #linux-msm
djakov_ has quit [Read error: Connection reset by peer]
<Daanct12> aka_[m]: what's apcs2 in msm8939? like what is it used for
djakov has quit [Ping timeout: 480 seconds]
djakov has joined #linux-msm
djakov has quit [Remote host closed the connection]
djakov has joined #linux-msm
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
Newbyte has joined #linux-msm
ungeskriptet has joined #linux-msm
ungeskriptet is now known as Guest8005
ungeskriptet has joined #linux-msm
ungeskriptet is now known as Guest8006
ungeskriptet has joined #linux-msm
Guest8005 has quit [Ping timeout: 480 seconds]
Guest8006 has quit [Ping timeout: 480 seconds]
<aka_[m]> Daanct12: in linux it's mostly exposed as clock controller for cpu cluster
<aka_[m]> Inside apcs space there is mux to switch source for cpu clock signal
<aka_[m]> It's bigger register space and it also have interrupt bits
<aka_[m]> Wiki should have what it's abbreviation
<Daanct12> ah ok
<aka_[m]> On 8937 there is 3 apcs spaces
<aka_[m]> For cluster0, cluster 1 and cci
<aka_[m]> Wait
<aka_[m]> Not sure
<aka_[m]> Uh I guess it's like that maybe there is less plls
Daanct12 has quit [Quit: WeeChat 4.1.1]
lumag_ has joined #linux-msm
cbraga6 has joined #linux-msm
abhinav__5 has joined #linux-msm
jessica_247 has joined #linux-msm
pneuhardt0 has joined #linux-msm
parellan9 has joined #linux-msm
Guest7978 is now known as mani_s
mani_s is now known as Guest8013
telent has quit [Quit: Ping timeout (120 seconds)]
telent has joined #linux-msm
Guest8013 is now known as mani_s
mani_s is now known as Guest8017
svarbanov__ has joined #linux-msm
svarbanov_ has quit [Ping timeout: 480 seconds]
lumag_ has quit [Quit: ZNC 1.8.1 - https://znc.in]
lumag_ has joined #linux-msm
junari has joined #linux-msm
<z3ntu> krzk: regarding wcd938x, on my device both swr devices are attached: /sys/bus/soundwire/devices/sdw:0:0217:010d:00:3/status:Attached /sys/bus/soundwire/devices/sdw:0:0217:010d:00:4/status:Attached
<z3ntu> but I think checking pm_runtime was a good idea, the log seems a bit weird? https://pastebin.com/raw/fsW7V4Un
<z3ntu> seems both wcd938x_sdw and the soundwire bus gets suspended, then the issue occurs
<krzk> z3ntu: uhu, nice, so that's the cause. the "sdw" is regmap provider. The wcd9380-codec uses its regmap. When sdw suspends, regmap will be in cache mode, so it will return stale values.
<krzk> z3ntu: this probably needs proper device links, so runtime PM is ordered
<z3ntu> Can I for now just force it on for now?
<krzk> z3ntu: however such link is added in bind callback, so I wonder why it does not work for you
<krzk> yes, you can
<z3ntu> pm_runtime_get in wcd938x-sdw.c or something?
<krzk> yes, could work. or disable runtime pm
<z3ntu> With the device links you mean the device_link_add calls in wcd938x.c, right?
junari has quit [Ping timeout: 480 seconds]
cbraga6 has quit []
lumag_ has quit [Quit: ZNC 1.8.1 - https://znc.in]
abhinav__5 has quit []
jessica_247 has quit []
pneuhardt0 has quit [Quit: The Lounge - https://thelounge.chat]
parellan9 has quit []
abhinav__7 has joined #linux-msm
cbraga0 has joined #linux-msm
jessica_247 has joined #linux-msm
parellan9 has joined #linux-msm
pneuhardt5 has joined #linux-msm
lumag_ has joined #linux-msm
robertfoss has joined #linux-msm
djakov has quit [Remote host closed the connection]
djakov has joined #linux-msm
mripard has quit [Quit: mripard]
RayyanAnsari[m] has joined #linux-msm
<z3ntu> krzk: this is weird, only after wcd938x_sdw_runtime_suspend is called (which then calls swrm_runtime_suspend and then sdw_bus_clk_stop) do we get an qcom_swrm_irq_handler call with "SWR new slave attached". So somehow something there in the suspend code triggers the device attachment, but since it's already half suspended stuff's a bit broken
<krzk> z3ntu: yes, its weird, maybe something pokes the reset-gpio? Anyway it might be good to send report to mailing lists (ccing maintainers printed on scripts/get_maintainer.pl -f sound/soc/qcom/ arch/arm64/boot/dts/qcom/ )
<krzk> with some logs (or linsk to logs), description of your hardware and of course description of the issue
jonesv has left #linux-msm [#linux-msm]
<z3ntu> the reset gpio isn't even touched during suspend it seems, just during probe it gets toggled. And since the pin is called RESET_N in schematics, it also makes to use GPIO_ACTIVE_LOW like all other devices with wcd9385. One thing I noticed now is that this reset-gpio toggle happens very early in boot since I have the driver built-in, so at second ~0.3 of boot. I'm going to try now to build it as module to see if that changes anything..