diff options
author | Amit Daniel Kachhap <amit.daniel@samsung.com> | 2013-04-08 05:57:34 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-10 07:19:26 -0400 |
commit | 49d7b5bfb79cd5f8141a2998e2f4003d0ed65e5c (patch) | |
tree | 73d90435e6f32db332c0ca3ba034d475ee498daa /Documentation | |
parent | 9c5320c8ea8b8423edca2c40cd559f1ce9496dab (diff) |
cpufreq: exynos: Add cpufreq driver for exynos5440
This patch adds dvfs support for exynos5440 SOC. This soc has 4 cores and
they scale at same frequency. The nature of exynos5440 clock controller is
different from previous exynos controllers so not using the common exynos
cpufreq framework. The major difference being interrupt notification for
frequency change. Also, OPP library is used for device tree parsing to get
different parameters like frequency, voltage etc. Since the opp library sorts
the frequency table in ascending order so they are again re-arranged in
descending order. This will have one-to-one mapping with the clock controller
state management logic.
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/cpufreq/cpufreq-exynos5440.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-exynos5440.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-exynos5440.txt new file mode 100644 index 000000000000..caff1a57436f --- /dev/null +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-exynos5440.txt | |||
@@ -0,0 +1,28 @@ | |||
1 | |||
2 | Exynos5440 cpufreq driver | ||
3 | ------------------- | ||
4 | |||
5 | Exynos5440 SoC cpufreq driver for CPU frequency scaling. | ||
6 | |||
7 | Required properties: | ||
8 | - interrupts: Interrupt to know the completion of cpu frequency change. | ||
9 | - operating-points: Table of frequencies and voltage CPU could be transitioned into, | ||
10 | in the decreasing order. Frequency should be in KHz units and voltage | ||
11 | should be in microvolts. | ||
12 | |||
13 | Optional properties: | ||
14 | - clock-latency: Clock monitor latency in microsecond. | ||
15 | |||
16 | All the required listed above must be defined under node cpufreq. | ||
17 | |||
18 | Example: | ||
19 | -------- | ||
20 | cpufreq@160000 { | ||
21 | compatible = "samsung,exynos5440-cpufreq"; | ||
22 | reg = <0x160000 0x1000>; | ||
23 | interrupts = <0 57 0>; | ||
24 | operating-points = < | ||
25 | 1000000 975000 | ||
26 | 800000 925000>; | ||
27 | clock-latency = <100000>; | ||
28 | }; | ||