Thread (17 messages) 17 messages, 4 authors, 2022-02-23

Re: [PATCH 3/4] soc: rockchip: power-domain: Add regulator support

From: Mark Brown <broonie@kernel.org>
Date: 2021-12-20 12:58:17
Also in: linux-rockchip

On Mon, Dec 20, 2021 at 10:46:34AM +0000, Robin Murphy wrote:
to the regulator question either way in this context. FWIW I reckon it would
make sense to model things properly and teach the driver about the voltage
domains that actually own the input supplies (maybe with a binding more like
I/O domains where we just have explicitly-named supply properties for each
one on the power controller?) - it's a little more work up-front, but seems
like it should be relatively straightforward to fit into the genpd
hierarchy, and be more robust in the long term.
This is what I would expect too, I don't see how it is possible to
implement sensible and robust usage of the regulator API (or other
provider APIs like the clock API for that matter) if the consumer is
unaware of what resources it is supposed to be managing.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help