]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: apq8016-sbc: Set up LDO2, LDO6 and LDO17 regulator voltage ranges
authorArchit Taneja <architt@codeaurora.org>
Fri, 23 Sep 2016 09:20:30 +0000 (14:50 +0530)
committerAndy Gross <andy.gross@linaro.org>
Thu, 10 Nov 2016 22:38:54 +0000 (16:38 -0600)
On the APQ8016 SBC, the LDO2 PM8916 regulator feeds 1.2V to the following:

- VDDA_1P2_MIPI_DSI and VDDA_MIPI_CSI pins on APQ8016.
- VCCCAD pins on the LPDDR3 chip.
- VDDPX_1 pins on APQ8016.

The LDO6 regulator feeds 1.8V to:
- VDAA_MIPI_DSI0_PLL pin on APQ8016.
- QFPROM_BLOW_VDD pin on PM8916.
- The AVDD, A2VDD and DVDD pins on ADV7533 bridge.

The LDO17 regulator feeds 3.3V to:
- The V3P3 pin on ADV7533 bridge.

Currently, the regulator min/max voltages for all the LDOs are set to the
range of what the PMIC supports. Set the ranges for L2, L6 and L17 to what
we need, i.e. 1.2V, 1.8V and 3.3V respectively.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

index bb062b5471109035ad0d1516eb5076d6ad8e7a2b..1483a959b49e46aa2f2ea0ba14c74947da1e3410 100644 (file)
@@ -308,8 +308,8 @@ l1 {
        };
 
        l2 {
-               regulator-min-microvolt = <375000>;
-               regulator-max-microvolt = <1525000>;
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
        };
 
        l3 {
@@ -328,8 +328,8 @@ l5 {
        };
 
        l6 {
-               regulator-min-microvolt = <1750000>;
-               regulator-max-microvolt = <3337000>;
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
        };
 
        l7 {
@@ -388,8 +388,8 @@ l16 {
        };
 
        l17 {
-               regulator-min-microvolt = <1750000>;
-               regulator-max-microvolt = <3337000>;
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
        };
 
        l18 {