From be98f742085a0e3407aa2d915b0b0cd8f3530500 Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Wed, 15 Mar 2017 18:19:46 -0700 Subject: ARM: dts: msm: designate LDO12 as a parent of LDO24 on msm8998 On MSM8998 there is a HW bug that could lead to chip damage if the 3.1V rail (normally provided by PM8998 LDO24) is turned on while the 1.8V (LDO12) rail is off. A simple workaround is to ensure that LDO12 is turned on prior to LDO24. Achieve this by making pm8998_l12 the parent-supply of the pm8998_l24 regulator. Change-Id: I091d47dbd640943f762f50798d3f009fbacedeeb Signed-off-by: Jack Pham --- arch/arm/boot/dts/qcom/msm8998-regulator.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/msm8998-regulator.dtsi b/arch/arm/boot/dts/qcom/msm8998-regulator.dtsi index 518ad33c63ea..045cdda09d18 100644 --- a/arch/arm/boot/dts/qcom/msm8998-regulator.dtsi +++ b/arch/arm/boot/dts/qcom/msm8998-regulator.dtsi @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -409,6 +409,7 @@ pm8998_l24: regulator-l24 { regulator-min-microvolt = <3088000>; regulator-max-microvolt = <3088000>; + parent-supply = <&pm8998_l12>; status = "okay"; }; }; -- cgit v1.2.3