summaryrefslogtreecommitdiffstats
path: root/drivers/soc/rockchip/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2022-01-28 17:35:37 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-02-04 17:38:09 +0100
commitb9d6c47a2be8d273ecc063afda6e9fd66a35116d (patch)
treed4524ba4e5383247a886237750f05f7307b0f4fc /drivers/soc/rockchip/Kconfig
parentpowercap/drivers/dtpm: Add dtpm devfreq with energy model support (diff)
downloadlinux-b9d6c47a2be8d273ecc063afda6e9fd66a35116d.tar.xz
linux-b9d6c47a2be8d273ecc063afda6e9fd66a35116d.zip
rockchip/soc/drivers: Add DTPM description for rk3399
The DTPM framework does support now the hierarchy description. The platform specific code can call the hierarchy creation function with an array of struct dtpm_node pointing to their parent. This patch provides a description of the big / Little CPUs and the GPU and tie them together under a virtual 'package' name. Only rk3399 is described now. The description could be extended in the future with the memory controller with devfreq. The description is always a module and it describes the soft dependencies. The userspace has to load the softdeps module in the right order. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by; Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20220128163537.212248-6-daniel.lezcano@linaro.org
Diffstat (limited to 'drivers/soc/rockchip/Kconfig')
-rw-r--r--drivers/soc/rockchip/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig
index 25eb2c1e31bb..156ac0e0c8fe 100644
--- a/drivers/soc/rockchip/Kconfig
+++ b/drivers/soc/rockchip/Kconfig
@@ -34,4 +34,12 @@ config ROCKCHIP_PM_DOMAINS
If unsure, say N.
+config ROCKCHIP_DTPM
+ tristate "Rockchip DTPM hierarchy"
+ depends on DTPM && m
+ help
+ Describe the hierarchy for the Dynamic Thermal Power
+ Management tree on this platform. That will create all the
+ power capping capable devices.
+
endif