[PATCH 0/4] soc: rockchip: power-domain: Add regulator support
Sascha Hauer
s.hauer at pengutronix.de
Fri Dec 17 05:09:15 PST 2021
This series adds the possibility to add supplies to the rockchip power
domains. This is a bit more complicated then it should be as we can
get a regulator from a device node only when a device is attached to
it, so this series starts by moving the power domains into a device.
Overall this series makes the clock handling nicer because we no longer
have to use of_clk_get(), but can use a plain devm_clk_bulk_get_all()
to retrieve the domain clocks.
All this is needed for the RK3568-EVB board where the power domain of
the GPU is supplied by an external regulator.
Sascha Hauer (4):
soc: rockchip: power-domain: register device for each domain
soc: rockchip: power-domain: Use devm_clk_bulk_get_all()
soc: rockchip: power-domain: Add regulator support
dt-bindings: power: rockchip: Add power-supply to domain nodes
.../power/rockchip,power-controller.yaml | 6 +
drivers/soc/rockchip/pm_domains.c | 322 ++++++++----------
2 files changed, 157 insertions(+), 171 deletions(-)
--
2.30.2
More information about the linux-arm-kernel
mailing list