MLK-13793-4 ARM: dts: imx6qdl-sabresd: Add supplies for the SoC internal regulators
authorIrina Tirdea <irina.tirdea@nxp.com>
Fri, 27 Jan 2017 15:16:39 +0000 (17:16 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:58:08 +0000 (14:58 -0500)
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 <irina.tirdea@nxp.com>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index 8ab38fe..b786774 100644 (file)
        status = "okay";
 };
 
+&reg_arm {
+       vin-supply = <&sw1a_reg>;
+};
+
+&reg_pu {
+       vin-supply = <&sw1c_reg>;
+};
+
+&reg_soc {
+       vin-supply = <&sw1c_reg>;
+};
+
 &snvs_poweroff {
        status = "okay";
 };