diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-11-03 05:04:16 -0500 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-05-02 22:20:05 -0400 |
commit | 0722249ac1f3dcc3af9e9d7ed89792a68f066660 (patch) | |
tree | 07ae8b17b2bcfdcacd1c14cd2f0b0104e5173fa7 /drivers/devfreq/Kconfig | |
parent | 04974df8049fc4240d22759a91e035082ccd18b4 (diff) |
PM / devfreq: exynos: Add generic exynos bus frequency driver
This patch adds the generic exynos bus frequency driver for AMBA AXI bus
of sub-blocks in exynos SoC with DEVFREQ framework. The Samsung Exynos SoC
have the common architecture for bus between DRAM and sub-blocks in SoC.
This driver can support the generic bus frequency driver for Exynos SoCs.
In devicetree, Each bus block has a bus clock, regulator, operation-point
and devfreq-event devices which measure the utilization of each bus block.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board]
Tested-by: Markus Reichl <m.reichl@fivetechno.de>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'drivers/devfreq/Kconfig')
-rw-r--r-- | drivers/devfreq/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 4de78c552251..cedda8f1e5eb 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig | |||
@@ -66,6 +66,21 @@ config DEVFREQ_GOV_USERSPACE | |||
66 | 66 | ||
67 | comment "DEVFREQ Drivers" | 67 | comment "DEVFREQ Drivers" |
68 | 68 | ||
69 | config ARM_EXYNOS_BUS_DEVFREQ | ||
70 | bool "ARM EXYNOS Generic Memory Bus DEVFREQ Driver" | ||
71 | depends on ARCH_EXYNOS | ||
72 | select DEVFREQ_GOV_SIMPLE_ONDEMAND | ||
73 | select DEVFREQ_EVENT_EXYNOS_PPMU | ||
74 | select PM_DEVFREQ_EVENT | ||
75 | select PM_OPP | ||
76 | help | ||
77 | This adds the common DEVFREQ driver for Exynos Memory bus. Exynos | ||
78 | Memory bus has one more group of memory bus (e.g, MIF and INT block). | ||
79 | Each memory bus group could contain many memoby bus block. It reads | ||
80 | PPMU counters of memory controllers by using DEVFREQ-event device | ||
81 | and adjusts the operating frequencies and voltages with OPP support. | ||
82 | This does not yet operate with optimal voltages. | ||
83 | |||
69 | config ARM_EXYNOS4_BUS_DEVFREQ | 84 | config ARM_EXYNOS4_BUS_DEVFREQ |
70 | bool "ARM Exynos4210/4212/4412 Memory Bus DEVFREQ Driver" | 85 | bool "ARM Exynos4210/4212/4412 Memory Bus DEVFREQ Driver" |
71 | depends on (CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412) && !ARCH_MULTIPLATFORM | 86 | depends on (CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412) && !ARCH_MULTIPLATFORM |