Commit 6c43b5d3 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Krzysztof Kozlowski

ARM: dts: exynos: Add initial data for coupled regulators for Exynos5422/5800

Declare Exynos5422/5800 voltage ranges for OPPs for big CPUs
(Cortex-A15) and wcore bus.  Couple their voltage supplies as vdd_arm
and vdd_int should be in 300 mV range.
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
[k.konieczny: add missing patch description]
Signed-off-by: default avatarKamil Konieczny <k.konieczny@samsung.com>
Reviewed-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent e90cb36c
...@@ -48,62 +48,62 @@ cluster_a15_opp_table: opp_table0 { ...@@ -48,62 +48,62 @@ cluster_a15_opp_table: opp_table0 {
opp-1800000000 { opp-1800000000 {
opp-hz = /bits/ 64 <1800000000>; opp-hz = /bits/ 64 <1800000000>;
opp-microvolt = <1250000>; opp-microvolt = <1250000 1250000 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-1700000000 { opp-1700000000 {
opp-hz = /bits/ 64 <1700000000>; opp-hz = /bits/ 64 <1700000000>;
opp-microvolt = <1212500>; opp-microvolt = <1212500 1212500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-1600000000 { opp-1600000000 {
opp-hz = /bits/ 64 <1600000000>; opp-hz = /bits/ 64 <1600000000>;
opp-microvolt = <1175000>; opp-microvolt = <1175000 1175000 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-1500000000 { opp-1500000000 {
opp-hz = /bits/ 64 <1500000000>; opp-hz = /bits/ 64 <1500000000>;
opp-microvolt = <1137500>; opp-microvolt = <1137500 1137500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-1400000000 { opp-1400000000 {
opp-hz = /bits/ 64 <1400000000>; opp-hz = /bits/ 64 <1400000000>;
opp-microvolt = <1112500>; opp-microvolt = <1112500 1112500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-1300000000 { opp-1300000000 {
opp-hz = /bits/ 64 <1300000000>; opp-hz = /bits/ 64 <1300000000>;
opp-microvolt = <1062500>; opp-microvolt = <1062500 1062500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-1200000000 { opp-1200000000 {
opp-hz = /bits/ 64 <1200000000>; opp-hz = /bits/ 64 <1200000000>;
opp-microvolt = <1037500>; opp-microvolt = <1037500 1037500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-1100000000 { opp-1100000000 {
opp-hz = /bits/ 64 <1100000000>; opp-hz = /bits/ 64 <1100000000>;
opp-microvolt = <1012500>; opp-microvolt = <1012500 1012500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-1000000000 { opp-1000000000 {
opp-hz = /bits/ 64 <1000000000>; opp-hz = /bits/ 64 <1000000000>;
opp-microvolt = < 987500>; opp-microvolt = < 987500 987500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-900000000 { opp-900000000 {
opp-hz = /bits/ 64 <900000000>; opp-hz = /bits/ 64 <900000000>;
opp-microvolt = < 962500>; opp-microvolt = < 962500 962500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-800000000 { opp-800000000 {
opp-hz = /bits/ 64 <800000000>; opp-hz = /bits/ 64 <800000000>;
opp-microvolt = < 937500>; opp-microvolt = < 937500 937500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-700000000 { opp-700000000 {
opp-hz = /bits/ 64 <700000000>; opp-hz = /bits/ 64 <700000000>;
opp-microvolt = < 912500>; opp-microvolt = < 912500 912500 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
}; };
...@@ -1171,23 +1171,23 @@ bus_wcore_opp_table: opp_table2 { ...@@ -1171,23 +1171,23 @@ bus_wcore_opp_table: opp_table2 {
opp00 { opp00 {
opp-hz = /bits/ 64 <84000000>; opp-hz = /bits/ 64 <84000000>;
opp-microvolt = <925000>; opp-microvolt = <925000 925000 1400000>;
}; };
opp01 { opp01 {
opp-hz = /bits/ 64 <111000000>; opp-hz = /bits/ 64 <111000000>;
opp-microvolt = <950000>; opp-microvolt = <950000 950000 1400000>;
}; };
opp02 { opp02 {
opp-hz = /bits/ 64 <222000000>; opp-hz = /bits/ 64 <222000000>;
opp-microvolt = <950000>; opp-microvolt = <950000 950000 1400000>;
}; };
opp03 { opp03 {
opp-hz = /bits/ 64 <333000000>; opp-hz = /bits/ 64 <333000000>;
opp-microvolt = <950000>; opp-microvolt = <950000 950000 1400000>;
}; };
opp04 { opp04 {
opp-hz = /bits/ 64 <400000000>; opp-hz = /bits/ 64 <400000000>;
opp-microvolt = <987500>; opp-microvolt = <987500 987500 1400000>;
}; };
}; };
......
...@@ -601,6 +601,8 @@ buck2_reg: BUCK2 { ...@@ -601,6 +601,8 @@ buck2_reg: BUCK2 {
regulator-max-microvolt = <1500000>; regulator-max-microvolt = <1500000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-coupled-with = <&buck3_reg>;
regulator-coupled-max-spread = <300000>;
regulator-state-mem { regulator-state-mem {
regulator-off-in-suspend; regulator-off-in-suspend;
...@@ -613,6 +615,8 @@ buck3_reg: BUCK3 { ...@@ -613,6 +615,8 @@ buck3_reg: BUCK3 {
regulator-max-microvolt = <1400000>; regulator-max-microvolt = <1400000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-coupled-with = <&buck2_reg>;
regulator-coupled-max-spread = <300000>;
regulator-state-mem { regulator-state-mem {
regulator-off-in-suspend; regulator-off-in-suspend;
......
...@@ -257,6 +257,8 @@ buck2_reg: BUCK2 { ...@@ -257,6 +257,8 @@ buck2_reg: BUCK2 {
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-ramp-delay = <12500>; regulator-ramp-delay = <12500>;
regulator-coupled-with = <&buck3_reg>;
regulator-coupled-max-spread = <300000>;
regulator-state-mem { regulator-state-mem {
regulator-off-in-suspend; regulator-off-in-suspend;
}; };
...@@ -269,6 +271,8 @@ buck3_reg: BUCK3 { ...@@ -269,6 +271,8 @@ buck3_reg: BUCK3 {
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-ramp-delay = <12500>; regulator-ramp-delay = <12500>;
regulator-coupled-with = <&buck2_reg>;
regulator-coupled-max-spread = <300000>;
regulator-state-mem { regulator-state-mem {
regulator-off-in-suspend; regulator-off-in-suspend;
}; };
......
...@@ -22,61 +22,61 @@ &clock { ...@@ -22,61 +22,61 @@ &clock {
&cluster_a15_opp_table { &cluster_a15_opp_table {
opp-1700000000 { opp-1700000000 {
opp-microvolt = <1250000>; opp-microvolt = <1250000 1250000 1500000>;
}; };
opp-1600000000 { opp-1600000000 {
opp-microvolt = <1250000>; opp-microvolt = <1250000 1250000 1500000>;
}; };
opp-1500000000 { opp-1500000000 {
opp-microvolt = <1100000>; opp-microvolt = <1100000 1100000 1500000>;
}; };
opp-1400000000 { opp-1400000000 {
opp-microvolt = <1100000>; opp-microvolt = <1100000 1100000 1500000>;
}; };
opp-1300000000 { opp-1300000000 {
opp-microvolt = <1100000>; opp-microvolt = <1100000 1100000 1500000>;
}; };
opp-1200000000 { opp-1200000000 {
opp-microvolt = <1000000>; opp-microvolt = <1000000 1000000 1500000>;
}; };
opp-1100000000 { opp-1100000000 {
opp-microvolt = <1000000>; opp-microvolt = <1000000 1000000 1500000>;
}; };
opp-1000000000 { opp-1000000000 {
opp-microvolt = <1000000>; opp-microvolt = <1000000 1000000 1500000>;
}; };
opp-900000000 { opp-900000000 {
opp-microvolt = <1000000>; opp-microvolt = <1000000 1000000 1500000>;
}; };
opp-800000000 { opp-800000000 {
opp-microvolt = <900000>; opp-microvolt = <900000 900000 1500000>;
}; };
opp-700000000 { opp-700000000 {
opp-microvolt = <900000>; opp-microvolt = <900000 900000 1500000>;
}; };
opp-600000000 { opp-600000000 {
opp-hz = /bits/ 64 <600000000>; opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <900000>; opp-microvolt = <900000 900000 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-500000000 { opp-500000000 {
opp-hz = /bits/ 64 <500000000>; opp-hz = /bits/ 64 <500000000>;
opp-microvolt = <900000>; opp-microvolt = <900000 900000 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-400000000 { opp-400000000 {
opp-hz = /bits/ 64 <400000000>; opp-hz = /bits/ 64 <400000000>;
opp-microvolt = <900000>; opp-microvolt = <900000 900000 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-300000000 { opp-300000000 {
opp-hz = /bits/ 64 <300000000>; opp-hz = /bits/ 64 <300000000>;
opp-microvolt = <900000>; opp-microvolt = <900000 900000 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
opp-200000000 { opp-200000000 {
opp-hz = /bits/ 64 <200000000>; opp-hz = /bits/ 64 <200000000>;
opp-microvolt = <900000>; opp-microvolt = <900000 900000 1500000>;
clock-latency-ns = <140000>; clock-latency-ns = <140000>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment