ChanServ changed the topic of #linux-msm to:
<bamse> CosmicPenguin: isn't the problem that the hardware has the clock prepared but the selected parent is not ticking?
junari has joined #linux-msm
junari has quit [Remote host closed the connection]
junari has joined #linux-msm
junari has quit [Ping timeout: 480 seconds]
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
junari has joined #linux-msm
junari_ has joined #linux-msm
junari_ has quit [Remote host closed the connection]
junari has quit [Ping timeout: 480 seconds]
zstas_ has joined #linux-msm
jhovold has joined #linux-msm
<krzk> CosmicPenguin: bamse: I have the same for dispcc on sm8750. Both are not allowed: setting parent and setting rate, while parent (the DSI PHY PLL) is disabled and the DSI PHY PLL itself is not configured. This is kind of logical, if you think about it, but kernel infrastructure, including assigned-clock-parents, is not ready for that, I think.
<krzk> CosmicPenguin: so the history is that no one implemented this because mostly things were working :/
zstas_ has quit [Quit: Leaving]
zstas has joined #linux-msm
srinik has joined #linux-msm
zstas_ has joined #linux-msm
zstas has quit [Ping timeout: 480 seconds]
vsro has joined #linux-msm
pespin has joined #linux-msm
Caterpillar has joined #linux-msm
vsro has quit [Ping timeout: 480 seconds]
Caterpillar has quit [Ping timeout: 480 seconds]
svarbanov__ has joined #linux-msm
svarbanov_ has quit [Ping timeout: 480 seconds]
vsro has joined #linux-msm
mripard has quit [Quit: WeeChat 4.4.4]
svarbanov_ has joined #linux-msm
svarbanov__ has quit [Ping timeout: 480 seconds]
vsro has quit [Remote host closed the connection]
Caterpillar has joined #linux-msm
Caterpillar has quit []
Caterpillar has joined #linux-msm
<CosmicPenguin> bamse, krzk: preparing it first went from a "rcg didn't update its configuration" warning to a watchdog reset. Starting to feel that parent not ticking is a strong possibility
jacobk has joined #linux-msm
Caterpillar has quit [Quit: Konversation terminated!]
svarbanov_ has quit [Quit: Leaving]
svarbanov_ has joined #linux-msm
srinik has quit [Ping timeout: 480 seconds]
zstas_ has quit [Ping timeout: 480 seconds]
<bamse> CosmicPenguin: is that with clk_ignore_unused?
<CosmicPenguin> bamse: hmm - no its not. That might be a good idea
<bamse> CosmicPenguin: does the problem appear after the kernel has fiddled with the associated gdsc(s)?
<CosmicPenguin> bamse: yeah, I believe so
<bamse> CosmicPenguin: so perhaps not using pd_ignore_unused either then?
<CosmicPenguin> nope, let me toss both of those in
<bamse> CosmicPenguin: looking at cam_cc_slow_ahb_clk_src, it used clk_rcg2_ops...if you use clk_rcg2_shared_ops instead, the kernel will make an attempt to park the clock tree on tcxo when we're disabling some of the things
<bamse> so i believe that's more or less what enable_safe_config did (might remember wrong though)
<CosmicPenguin> yeah, that is pretty much what enable_safe_config does - that run configure during enable instead of set_rate
<CosmicPenguin> s/that/that and/
<CosmicPenguin> ah, yeah, I see shared ops is used on similar camcc targets
ungeskriptet_ has joined #linux-msm
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet_ is now known as ungeskriptet
pespin has quit [Remote host closed the connection]
<CosmicPenguin> bamse: I am very pleased to report that was indeed the solution. Do you want a patch for sm8250?
<bamse> CosmicPenguin: makes it look like the other platforms? if so that sounds very reasonable and i'd merge that patch
<CosmicPenguin> on it, thanks
Daanct12 has joined #linux-msm
jhovold has quit [Ping timeout: 480 seconds]