ARM: dts: msm: use dummy regulator for 3V eLDO supply of touch on 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: Ie40ab4c27a9f10222ce4fbc77f51e65acefeff8b
This commit is contained in:
Rajeev Nandan 2021-05-24 18:00:37 +05:30 • committed by Gerrit - the friendly Code Review server
commit bf88b90686
3 changed files with 30 additions and 78 deletions

View file

@ -221,33 +221,17 @@
qcom,cl-feedback-on;
};
&tlmm {
touch_avdd_default: touch_avdd_default {
mux {
pins = "gpio53";
function = "gpio";
};
config {
pins = "gpio53";
drive-strength = <8>;
bias-disable = <0>;
output-high;
};
};
};
&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>;
};
};

View file

@ -146,33 +146,17 @@
};
};
&tlmm {
touch_avdd_default: touch_avdd_default {
mux {
pins = "gpio53";
function = "gpio";
};
config {
pins = "gpio53";
drive-strength = <8>;
bias-disable = <0>;
output-high;
};
};
};
&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>;
};
};

View file

@ -165,33 +165,17 @@
};
};
&tlmm {
touch_avdd_default: touch_avdd_default {
mux {
pins = "gpio53";
function = "gpio";
};
config {
pins = "gpio53";
drive-strength = <8>;
bias-disable = <0>;
output-high;
};
};
};
&soc {
touch_avdd: touch_avdd {
compatible = "regulator-fixed";
regulator-name = "touch_avdd";
regulator-min-microvolt = <2800000>;
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>;
};
};