linux-rockchip.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] soc: rockchip: power-domain: Add regulator support
@ 2021-12-17 13:09 Sascha Hauer
  2021-12-17 13:09 ` [PATCH 1/4] soc: rockchip: power-domain: register device for each domain Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Sascha Hauer @ 2021-12-17 13:09 UTC (permalink / raw)
  To: linux-rockchip
  Cc: linux-arm-kernel, Heiko Stuebner, Michael Riesch, kernel, Sascha Hauer

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


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-02-23  8:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 13:09 [PATCH 0/4] soc: rockchip: power-domain: Add regulator support Sascha Hauer
2021-12-17 13:09 ` [PATCH 1/4] soc: rockchip: power-domain: register device for each domain Sascha Hauer
2021-12-17 13:09 ` [PATCH 2/4] soc: rockchip: power-domain: Use devm_clk_bulk_get_all() Sascha Hauer
2021-12-17 13:09 ` [PATCH 3/4] soc: rockchip: power-domain: Add regulator support Sascha Hauer
2021-12-20  9:44   ` Sascha Hauer
2021-12-20 10:46     ` Robin Murphy
2021-12-20 12:56       ` Mark Brown
2021-12-20 12:53     ` Mark Brown
2021-12-22 10:40       ` Sascha Hauer
2021-12-22 12:54         ` Robin Murphy
2021-12-22 13:00           ` Mark Brown
2021-12-22 13:19             ` Robin Murphy
2021-12-22 13:25               ` Mark Brown
2021-12-22 13:29                 ` Michael Riesch
2021-12-22 13:37                   ` Michael Riesch
2021-12-22 13:40                   ` Mark Brown
2022-02-23  8:51                     ` Michael Riesch
2021-12-17 13:09 ` [PATCH 4/4] dt-bindings: power: rockchip: Add power-supply to domain nodes Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).