mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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:
parent
61d92f15c7
commit
bf88b90686
3 changed files with 30 additions and 78 deletions
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue