diff options
author | Lin Huang <hl@rock-chips.com> | 2016-09-05 01:06:10 -0400 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-09-06 00:26:34 -0400 |
commit | 5a893e31a636cca3798af2db5aee8d3d144b1e1e (patch) | |
tree | cfd450bf7e6e795fa701ae616f3090733d7af82c /drivers/devfreq/Kconfig | |
parent | c1ceb8f7c167eeae79e083417cce8995de3b9238 (diff) |
PM / devfreq: rockchip: add devfreq driver for rk3399 dmc
base on dfi result, we do ddr frequency scaling, register
dmc driver to devfreq framework, and use simple-ondemand
policy.
Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: MyngJoo Ham <myngjoo.ham@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq/Kconfig')
-rw-r--r-- | drivers/devfreq/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index f08502c27784..cadd56e50b2c 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig | |||
@@ -100,6 +100,17 @@ config ARM_TEGRA_DEVFREQ | |||
100 | It reads ACTMON counters of memory controllers and adjusts the | 100 | It reads ACTMON counters of memory controllers and adjusts the |
101 | operating frequencies and voltages with OPP support. | 101 | operating frequencies and voltages with OPP support. |
102 | 102 | ||
103 | config ARM_RK3399_DMC_DEVFREQ | ||
104 | tristate "ARM RK3399 DMC DEVFREQ Driver" | ||
105 | depends on ARCH_ROCKCHIP | ||
106 | select DEVFREQ_EVENT_ROCKCHIP_DFI | ||
107 | select DEVFREQ_GOV_SIMPLE_ONDEMAND | ||
108 | select PM_OPP | ||
109 | help | ||
110 | This adds the DEVFREQ driver for the RK3399 DMC(Dynamic Memory Controller). | ||
111 | It sets the frequency for the memory controller and reads the usage counts | ||
112 | from hardware. | ||
113 | |||
103 | source "drivers/devfreq/event/Kconfig" | 114 | source "drivers/devfreq/event/Kconfig" |
104 | 115 | ||
105 | endif # PM_DEVFREQ | 116 | endif # PM_DEVFREQ |