APE6EVM and Runtime PM
Hi Magnus,
in the course of looking look at consolidating our defconfigs I noticed that SMSC ethernet and rcar_thermal seem seem to not work when runtime PM is enabled.
I'm wondering if you have any ideas of what might be the cause of this or if you could give me some guidance on investigating this problem.
I assume that it relates to a clock or clocks not being enabled.
Hi Simon
Quoted 8 lines
in the course of looking look at consolidating our defconfigs I noticed that SMSC ethernet and
rcar_thermalseem seem to not work when runtime PM is enabled.I'm wondering if you have any ideas of what might be the cause of this or if you could give me some guidance on investigating this problem.
I assume that it relates to a clock or clocks not being enabled.
About rcar_thermal, it needs my patch which was sent to PM ML.
I got email from Zhang that he accepted my patch (pm_runtime support for thermal). But it seems he didn't push his branch yet...
I guess I explained this on my [PATCH 0/x] email.
Best regards
---
Kuninori Morimoto
Quoted 10 lines · Kuninori Morimoto
Hi Simon
Quoted 7 lines
in the course of looking look at consolidating our defconfigs I noticed that SMSC ethernet and
rcar_thermalseem seem to not work when runtime PM is enabled.I'm wondering if you have any ideas of what might be the cause of this or if you could give me some guidance on investigating this problem.
Quoted 6 lines
Quoted 1 line
I assume that it relates to a clock or clocks not being enabled.
About
rcar_thermal, it needs my patch which was sent to PM ML.
I got email from Zhang that he accepted my patch (pm_runtimesupport for thermal). But it seems he didn't push his branch yet...
I guess I explained this on my [PATCH 0/x] email.
Thanks, sorry for missing that.
I guess we are down to just SMSC then.
Dear Simon
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
in the course of looking look at consolidating our defconfigs I noticed that SMSC ethernet and
rcar_thermalseem seem to not work when runtime PM is enabled.I'm wondering if you have any ideas of what might be the cause of this or if you could give me some guidance on investigating this problem.
I assume that it relates to a clock or clocks not being enabled.
Quoted 8 lines
Quoted 4 lines
About
rcar_thermal, it needs my patch which was sent to PM ML.
I got email from Zhang that he accepted my patch (pm_runtimesupport for thermal). But it seems he didn't push his branch yet...
I guess I explained this on my [PATCH 0/x] email.Thanks, sorry for missing that.
I guess we are down to just SMSC then.
I didn't check real board,
but I guess current SMSC IRQ came from IRQC,
and this IRQC needs MSTP 407.
But IRQC driver seems doesn't support PM_RUNTIME at this point.
Does your issue solve by adding MSTP 407 with CLK_ENABLE_ON_INIT ? I'm not sure this is good solution, but quick-hack
Best regards
--
Kuninori Morimoto
Quoted 21 lines · Kuninori Morimoto
Dear Simon
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
in the course of looking look at consolidating our defconfigs I noticed that SMSC ethernet and
rcar_thermalseem seem to not work when runtime PM is enabled.I'm wondering if you have any ideas of what might be the cause of this or if you could give me some guidance on investigating this problem.
I assume that it relates to a clock or clocks not being enabled.
Quoted 8 lines
Quoted 4 lines
About
rcar_thermal, it needs my patch which was sent to PM ML.
I got email from Zhang that he accepted my patch (pm_runtimesupport for thermal). But it seems he didn't push his branch yet...
I guess I explained this on my [PATCH 0/x] email.Thanks, sorry for missing that.
I guess we are down to just SMSC then.
Quoted 7 lines
I didn't check real board,
but I guess current SMSC IRQ came from IRQC,
and this IRQC needs MSTP 407.
But IRQC driver seems doesn't supportPM_RUNTIMEat this point.Does your issue solve by adding MSTP 407 with
CLK_ENABLE_ON_INIT? I'm not sure this is good solution, but quick-hack
Thanks!
I will post a patch to add pm_runtime support to the IRQC Driver. It seems to allow SMSC + RUNTIME_PM to function on the APE6EVM.
Quoted 27 lines · Simon Horman
Quoted 26 lines · Kuninori Morimoto
Dear Simon
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
in the course of looking look at consolidating our defconfigs I noticed that SMSC ethernet and
rcar_thermalseem seem to not work when runtime PM is enabled.I'm wondering if you have any ideas of what might be the cause of this or if you could give me some guidance on investigating this problem.
I assume that it relates to a clock or clocks not being enabled.
Quoted 8 lines
Quoted 4 lines
About
rcar_thermal, it needs my patch which was sent to PM ML.
I got email from Zhang that he accepted my patch (pm_runtimesupport for thermal). But it seems he didn't push his branch yet...
I guess I explained this on my [PATCH 0/x] email.Thanks, sorry for missing that.
I guess we are down to just SMSC then.
I didn't check real board,
but I guess current SMSC IRQ came from IRQC,
and this IRQC needs MSTP 407.
But IRQC driver seems doesn't supportPM_RUNTIMEat this point.
Quoted 7 lines
Quoted 2 lines
Does your issue solve by adding MSTP 407 with
CLK_ENABLE_ON_INIT? I'm not sure this is good solution, but quick-hackThanks!
I will post a patch to add
pm_runtimesupport to the IRQC Driver. It seems to allow SMSC +RUNTIME_PMto function on the APE6EVM.
For reference, I have posted "irqchip: irqc: Add runtime PM support"
Hi Simon
Quoted 5 lines
Quoted 5 lines
I didn't check real board,
but I guess current SMSC IRQ came from IRQC,
and this IRQC needs MSTP 407.
But IRQC driver seems doesn't supportPM_RUNTIMEat this point.
Quoted 7 lines
Quoted 2 lines
Does your issue solve by adding MSTP 407 with
CLK_ENABLE_ON_INIT? I'm not sure this is good solution, but quick-hackThanks!
I will post a patch to add
pm_runtimesupport to the IRQC Driver. It seems to allow SMSC +RUNTIME_PMto function on the APE6EVM.
Cool !!
Thanks
Best regards
---
Kuninori Morimoto