From 2f287027249b72ff8a283a75e0a5467a92eb05dc Mon Sep 17 00:00:00 2001 From: Fei Mao Date: Fri, 28 May 2021 10:45:46 +0800 Subject: [PATCH] ARM: dts: msm: use dummy regulator for new QRD Holi The 3V eLDO controlled by gpio#53 is always ON, to avoid any conflict with the ALS sensor that is also using the same GPIO. Make use of a dummy regulator for the touch 3V supply. Change-Id: I12f9a0ffb5f2717949569d0c15a2a943bf45be69 --- qcom/holi-qrd-pm6125.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/qcom/holi-qrd-pm6125.dtsi b/qcom/holi-qrd-pm6125.dtsi index f1514b122d80..3fe6a35823c6 100644 --- a/qcom/holi-qrd-pm6125.dtsi +++ b/qcom/holi-qrd-pm6125.dtsi @@ -683,16 +683,16 @@ }; &soc { - touch_avdd: touch_avdd { - compatible = "regulator-fixed"; - regulator-name = "touch_avdd"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-enable-ramp-delay = <233>; - gpio = <&tlmm 53 0>; - enable-active-high; - pinctrl-names = "default"; - pinctrl-0 = <&touch_avdd_default>; + touch_avdd: touch_avdd_stub { + /* + * Touch eLDO controlled by gpio#53 is always ON. + * Using dummy regulator. + */ + compatible = "qcom,stub-regulator"; + regulator-name = "touch_avdd_stub"; + qcom,hpm-min-load = <10000>; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3544000>; }; };