summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid Collins <collinsd@codeaurora.org>2016-01-18 15:44:29 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:18:32 -0700
commit5fda6f8960fcd9529ee7672e795cea9fd0b27d0f (patch)
treeb4fa34bc86fd26780f793bd5cba6d44177dec4ed /arch
parentbb65d3eda44096aae8b3eba1ad2ec6802e7803a2 (diff)
ARM: dts: msm: specify VDD_APCC CPR device properties for msm8996pro
Specify the MSM8996-Pro VDD_APCC CPR configurations. This includes a new corner mapping for the additional CPU frequencies found on MSM8996-Pro as well as the voltage adjustments appropriate for all of the frequencies. Change-Id: Ia09252bf10ed81812bc8511136d97ca885de21a7 Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/qcom/msm8996pro.dtsi347
1 files changed, 347 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8996pro.dtsi b/arch/arm/boot/dts/qcom/msm8996pro.dtsi
index 38ed81638dfe..f06200bcabf2 100644
--- a/arch/arm/boot/dts/qcom/msm8996pro.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8996pro.dtsi
@@ -30,3 +30,350 @@
&pm8994_s11 {
/delete-property/ qcom,recal-mask;
};
+
+&apcc_cpr {
+ compatible = "qcom,cpr3-msm8996pro-hmss-regulator";
+};
+
+&apc0_pwrcl_vreg {
+ regulator-min-microvolt = <1>;
+ /*
+ * Note that corner 19 cannot be set by software. It is used only as a
+ * reference for interpolation.
+ */
+ regulator-max-microvolt = <18>;
+
+ qcom,cpr-fuse-corners = <5>;
+ qcom,cpr-fuse-combos = <16>;
+ qcom,cpr-speed-bins = <2>;
+ qcom,cpr-speed-bin-corners = <19 19>;
+ qcom,cpr-corners =
+ /* Speed bin 0 */
+ <19 19 19 19 19 19 19 19>,
+
+ /* Speed bin 1 */
+ <19 19 19 19 19 19 19 19>;
+
+ qcom,cpr-corner-fmax-map =
+ /* Speed bin 0 */
+ <1 6 9 14 19>,
+
+ /* Speed bin 1 */
+ <1 6 9 14 19>;
+
+ qcom,cpr-voltage-ceiling =
+ /* Speed bin 0 */
+ <670000 670000 670000 670000 670000 670000 745000 745000
+ 745000 905000 905000 905000 905000 905000 1140000 1140000
+ 1140000 1140000 1140000>,
+
+ /* Speed bin 1 */
+ <670000 670000 670000 670000 670000 670000 745000 745000
+ 745000 905000 905000 905000 905000 905000 1140000 1140000
+ 1140000 1140000 1140000>;
+
+ qcom,cpr-voltage-floor =
+ /* Speed bin 0 */
+ <470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000>,
+
+ /* Speed bin 1 */
+ <470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000>;
+
+ qcom,cpr-floor-to-ceiling-max-range =
+ /* Speed bin 0 */
+ <80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000>,
+
+ /* Speed bin 1 */
+ <80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000>;
+
+ qcom,corner-frequencies =
+ /* Speed bin 0 */
+ <307200000 384000000 460800000 537600000 614400000
+ 691200000 768000000 844800000 902400000 979200000
+ 1056000000 1132800000 1209600000 1286400000 1363200000
+ 1440000000 1516800000 1593600000 1785600000>,
+
+ /* Speed bin 1 */
+ <307200000 384000000 460800000 537600000 614400000
+ 691200000 768000000 844800000 902400000 979200000
+ 1056000000 1132800000 1209600000 1286400000 1363200000
+ 1440000000 1516800000 1593600000 1785600000>;
+
+ qcom,cpr-ro-scaling-factor =
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 2889 2528 2740 2426 2310 2040 2519 2257 2668 2372 0 0 0 0>;
+
+ qcom,cpr-open-loop-voltage-fuse-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0>;
+
+ qcom,cpr-closed-loop-voltage-fuse-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0>;
+
+ qcom,cpr-open-loop-voltage-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
+
+ qcom,cpr-open-loop-voltage-min-diff =
+ /* Speed bin 0 */
+ <0 0 0 0 (-50000) 0 0 0 0 0 0 0 0 0 0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 (-50000) 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
+
+ qcom,cpr-closed-loop-voltage-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
+
+ qcom,cpr-aging-max-voltage-adjustment = <15000>;
+ qcom,cpr-aging-ref-corner = <14 14>;
+ qcom,cpr-aging-ro-scaling-factor = <3200>;
+ qcom,allow-aging-voltage-adjustment = <1>;
+};
+
+&apc0_cbf_vreg {
+ regulator-min-microvolt = <1>;
+ regulator-max-microvolt = <19>;
+
+ qcom,proxy-consumer-voltage = <14 19>;
+
+ qcom,cpr-fuse-corners = <5>;
+ qcom,cpr-fuse-combos = <16>;
+ qcom,cpr-speed-bins = <2>;
+ qcom,cpr-speed-bin-corners = <19 19>;
+ qcom,cpr-corners =
+ /* Speed bin 0 */
+ <19 19 19 19 19 19 19 19>,
+
+ /* Speed bin 1 */
+ <19 19 19 19 19 19 19 19>;
+
+ qcom,cpr-corner-fmax-map =
+ /* Speed bin 0 */
+ <1 4 7 14 19>,
+
+ /* Speed bin 1 */
+ <1 4 7 14 19>;
+
+ qcom,cpr-voltage-ceiling =
+ /* Speed bin 0 */
+ <670000 670000 670000 670000 745000 745000 745000 905000
+ 905000 905000 905000 905000 905000 905000 1140000 1140000
+ 1140000 1140000 1140000>,
+
+ /* Speed bin 1 */
+ <670000 670000 670000 670000 745000 745000 745000 905000
+ 905000 905000 905000 905000 905000 905000 1140000 1140000
+ 1140000 1140000 1140000>;
+
+ qcom,cpr-voltage-floor =
+ /* Speed bin 0 */
+ <470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000>,
+
+ /* Speed bin 1 */
+ <470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000>;
+
+ qcom,cpr-floor-to-ceiling-max-range =
+ /* Speed bin 0 */
+ <80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000>,
+
+ /* Speed bin 1 */
+ <80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000>;
+
+ qcom,corner-frequencies =
+ /* Speed bin 0 */
+ <192000000 307200000 384000000 441600000 537600000
+ 614400000 691200000 768000000 844800000 902400000
+ 979200000 1056000000 1132800000 1190400000 1286400000
+ 1363200000 1440000000 1516800000 1593600000>,
+
+ /* Speed bin 1 */
+ <192000000 307200000 384000000 441600000 537600000
+ 614400000 691200000 768000000 844800000 902400000
+ 979200000 1056000000 1132800000 1190400000 1286400000
+ 1363200000 1440000000 1516800000 1593600000>;
+
+ qcom,cpr-ro-scaling-factor =
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 2889 2528 2740 2426 2310 2040 2519 2257 2668 2372 0 0 0 0>;
+
+ qcom,cpr-open-loop-voltage-fuse-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0>;
+
+ qcom,cpr-closed-loop-voltage-fuse-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0>;
+
+ qcom,cpr-aging-max-voltage-adjustment = <15000>;
+ qcom,cpr-aging-ref-corner = <14 14>;
+ qcom,cpr-aging-ro-scaling-factor = <3200>;
+ qcom,allow-aging-voltage-adjustment = <1>;
+};
+
+&apc1_vreg {
+ regulator-min-microvolt = <1>;
+ regulator-max-microvolt = <25>;
+
+ qcom,cpr-fuse-corners = <5>;
+ qcom,cpr-fuse-combos = <16>;
+ qcom,cpr-speed-bins = <2>;
+ qcom,cpr-speed-bin-corners = <25 25>;
+ qcom,cpr-corners =
+ /* Speed bin 0 */
+ <25 25 25 25 25 25 25 25>,
+
+ /* Speed bin 1 */
+ <25 25 25 25 25 25 25 25>;
+
+ qcom,cpr-corner-fmax-map =
+ /* Speed bin 0 */
+ <1 7 10 15 25>,
+
+ /* Speed bin 1 */
+ <1 7 10 15 25>;
+
+ qcom,cpr-voltage-ceiling =
+ /* Speed bin 0 */
+ <670000 670000 670000 670000 670000 670000 670000 745000
+ 745000 745000 905000 905000 905000 905000 905000 1140000
+ 1140000 1140000 1140000 1140000 1140000 1140000 1140000 1140000
+ 1140000>,
+
+ /* Speed bin 1 */
+ <670000 670000 670000 670000 670000 670000 670000 745000
+ 745000 745000 905000 905000 905000 905000 905000 1140000
+ 1140000 1140000 1140000 1140000 1140000 1140000 1140000 1140000
+ 1140000>;
+
+ qcom,cpr-voltage-floor =
+ /* Speed bin 0 */
+ <470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000 470000 470000 470000 470000 470000
+ 470000>,
+
+ /* Speed bin 1 */
+ <470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000 470000 470000 470000 470000 470000
+ 470000 470000 470000 470000 470000 470000 470000 470000
+ 470000>;
+
+ qcom,cpr-floor-to-ceiling-max-range =
+ /* Speed bin 0 */
+ <80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000 80000 80000 80000 80000 80000
+ 80000>,
+
+ /* Speed bin 1 */
+ <80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000 80000 80000 80000 80000 80000
+ 80000 80000 80000 80000 80000 80000 80000 80000
+ 80000>;
+
+ qcom,corner-frequencies =
+ /* Speed bin 0 */
+ <307200000 384000000 460800000 537600000 614400000
+ 691200000 748800000 825600000 902400000 979200000
+ 1056000000 1132800000 1209600000 1286400000 1363200000
+ 1440000000 1516800000 1593600000 1670400000 1747200000
+ 1824000000 1900800000 1977600000 2054400000 2150400000>,
+
+ /* Speed bin 1 */
+ <307200000 384000000 460800000 537600000 614400000
+ 691200000 748800000 825600000 902400000 979200000
+ 1056000000 1132800000 1209600000 1286400000 1363200000
+ 1440000000 1516800000 1593600000 1670400000 1747200000
+ 1824000000 1900800000 1977600000 2054400000 2150400000>;
+
+ qcom,cpr-ro-scaling-factor =
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 3112 2666 2947 2543 2271 1979 2623 2317 2772 2450 0 0 0 0>,
+ <0 0 2889 2528 2740 2426 2310 2040 2519 2257 2668 2372 0 0 0 0>;
+
+ qcom,cpr-open-loop-voltage-fuse-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0>;
+
+ qcom,cpr-closed-loop-voltage-fuse-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0>;
+
+ qcom,cpr-open-loop-voltage-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
+
+ qcom,cpr-open-loop-voltage-min-diff =
+ /* Speed bin 0 */
+ <0 0 0 0 (-50000) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 (-50000) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
+
+ qcom,cpr-closed-loop-voltage-adjustment =
+ /* Speed bin 0 */
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>,
+
+ /* Speed bin 1 */
+ <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
+
+ qcom,cpr-aging-max-voltage-adjustment = <15000>;
+ qcom,cpr-aging-ref-corner = <15 15>;
+ qcom,cpr-aging-ro-scaling-factor = <3200>;
+ qcom,allow-aging-voltage-adjustment = <1>;
+
+ qcom,cpr-dynamic-floor-corner = <1>;
+};