firmware: arm_scmi: Add clock management to the SCMI power domain
authorNicolas Pitre <npitre@baylibre.com>
Fri, 7 May 2021 20:20:36 +0000 (16:20 -0400)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 11 May 2021 15:01:39 +0000 (16:01 +0100)
commita3b884cef8730ce1c7ad2276961bce46fbce8fd5
tree8714ead1d24bb61d650c97529d1a9013dd5e8429
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
firmware: arm_scmi: Add clock management to the SCMI power domain

Clocks requiring non-atomic contexts are supported by the generic clock
PM layer since commit 0bfa0820c274 ("PM: clk: make PM clock layer
compatible with clocks that must sleep"). That means we can have
SCMI-based clocks be managed by the SCMI power domain now.

Link: https://lore.kernel.org/r/5q88n947-pon-4940-3or6-s54o4r361o5s@onlyvoer.pbz
Tested-by: Dien Pham <dien.pham.ry@renesas.com>
Reviewed-by: Gaku Inami <gaku.inami.xh@renesas.com>
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/scmi_pm_domain.c