Thread (11 messages) 11 messages, 3 authors, 2021-10-11

Re: [PATCH 1/3] dt-bindings: bus: simple-pm-bus: Make clocks and power-domains optional

From: Tony Lindgren <tony@atomide.com>
Date: 2021-10-07 18:17:21
Also in: linux-arm-kernel, linux-devicetree, lkml

* Geert Uytterhoeven [off-list ref] [211007 17:57]:
Hi Tony,

On Thu, Oct 7, 2021 at 7:24 PM Tony Lindgren [off-list ref] wrote:
quoted
* Geert Uytterhoeven [off-list ref] [211007 13:27]:
quoted
On Thu, Oct 7, 2021 at 2:49 PM Tony Lindgren [off-list ref] wrote:
quoted
Even without clocks and power domains configured, simple-pm-bus is still
different from simple-bus as simple-pm-bus enables runtime PM for the bus
driver.
Which you need to have working Runtime PM for child devices, right? ;-)
Right. And based on what I remember we simply cannot do pm_runtime_enable()
for simple-bus without breaking tons of devices.
Why not? Do you have an example of what would break?
The only reason I created simple-pm-bus was because the DT people
objected to adding PM to simple-bus, as they considered it wrong
conceptually.  AFAIK this wouldn't have caused any actual breakage.
Oh OK, then I just remember the reasons wrong for the need for
adding it as a driver.

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help