Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6sx-sdb: Assign corresponding power supply for LDOs

On i.MX6SX SDB board, vgen6 supplies vdd1p1/vdd2p5 LDO and
sw2 supplies vdd3p0 LDO, this patch assigns corresponding power
supply for vdd1p1/vdd2p5/vdd3p0 to avoid confusion by below log:

vdd1p1: supplied by regulator-dummy
vdd3p0: supplied by regulator-dummy
vdd2p5: supplied by regulator-dummy

With this patch, the power supply is more accurate:

vdd1p1: supplied by VGEN6
vdd3p0: supplied by SW2
vdd2p5: supplied by VGEN6

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Anson Huang and committed by
Shawn Guo
37a4bdea 96a9169c

+27 -3
+12
arch/arm/boot/dts/imx6sx-sdb-reva.dts
··· 154 154 enable-active-high; 155 155 vin-supply = <&reg_can_en>; 156 156 }; 157 + 158 + &reg_vdd1p1 { 159 + vin-supply = <&vgen6_reg>; 160 + }; 161 + 162 + &reg_vdd3p0 { 163 + vin-supply = <&sw2_reg>; 164 + }; 165 + 166 + &reg_vdd2p5 { 167 + vin-supply = <&vgen6_reg>; 168 + };
+12
arch/arm/boot/dts/imx6sx-sdb.dts
··· 137 137 vin-supply = <&sw1a_reg>; 138 138 }; 139 139 140 + &reg_vdd1p1 { 141 + vin-supply = <&vgen6_reg>; 142 + }; 143 + 144 + &reg_vdd3p0 { 145 + vin-supply = <&sw2_reg>; 146 + }; 147 + 148 + &reg_vdd2p5 { 149 + vin-supply = <&vgen6_reg>; 150 + }; 151 + 140 152 &reg_can_stby { 141 153 /* Transceiver EN/STBY is active low on RevB board */ 142 154 gpio = <&gpio4 27 GPIO_ACTIVE_LOW>;
+3 -3
arch/arm/boot/dts/imx6sx.dtsi
··· 600 600 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 601 601 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; 602 602 603 - regulator-1p1 { 603 + reg_vdd1p1: regulator-1p1 { 604 604 compatible = "fsl,anatop-regulator"; 605 605 regulator-name = "vdd1p1"; 606 606 regulator-min-microvolt = <1000000>; ··· 615 615 anatop-enable-bit = <0>; 616 616 }; 617 617 618 - regulator-3p0 { 618 + reg_vdd3p0: regulator-3p0 { 619 619 compatible = "fsl,anatop-regulator"; 620 620 regulator-name = "vdd3p0"; 621 621 regulator-min-microvolt = <2800000>; ··· 630 630 anatop-enable-bit = <0>; 631 631 }; 632 632 633 - regulator-2p5 { 633 + reg_vdd2p5: regulator-2p5 { 634 634 compatible = "fsl,anatop-regulator"; 635 635 regulator-name = "vdd2p5"; 636 636 regulator-min-microvolt = <2250000>;