From eb432a00831157dfd145f436be71a12d436b405c Mon Sep 17 00:00:00 2001 From: Irina Tirdea Date: Fri, 27 Jan 2017 17:16:39 +0200 Subject: [PATCH] MLK-13793-4 ARM: dts: imx6qdl-sabresd: Add supplies for the SoC internal regulators The following errors are shown at boot: vddarm: bypassed regulator has no supply! vddarm: failed to get the current voltage(-517) anatop_regulator 20c8000.anatop:regulator-vddcore: failed to register vddarm vddsoc: bypassed regulator has no supply! vddsoc: failed to get the current voltage(-517) anatop_regulator 20c8000.anatop:regulator-vddsoc: failed to register vddsoc vddpu: bypassed regulator has no supply! The SoC internal regulators come from the Freescale PFUZE100 PMIC: - SW1AB is connected through VDDARM_IN to LDO_ARM (vddarm) - SW1C is connected through VDDSOC_IN to LDO_PU (vddpu) and LDO_SOC (vddsoc) Add this relationship to the device tree so these regulators have a supply specified and can be registered properly. Signed-off-by: Irina Tirdea --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 8ab38fee6b54..b7867742eb40 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -987,6 +987,18 @@ status = "okay"; }; +®_arm { + vin-supply = <&sw1a_reg>; +}; + +®_pu { + vin-supply = <&sw1c_reg>; +}; + +®_soc { + vin-supply = <&sw1c_reg>; +}; + &snvs_poweroff { status = "okay"; }; -- 2.17.1