Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 751178df authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

ARM: dts: msm: Add the LCDB device node for PM2FALCON



LCDB supports the LCD display +ve/-ve bias. Add the device
node for it.

While at it, disable the LCDB module for PM3FALCON and remove
the dummy bias regulator nodes from falcon interposer.

CRs-Fixed: 1074468
Change-Id: I0aa4736aa0f2d6c6fe3b2e0d19c41df80c0975fe
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent b8985ec5
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -367,5 +367,26 @@
				qcom,default-led-trigger = "switch1_trigger";
			};
		};

		pm2falcon_lcdb: qpnp-lcdb@ec00 {
			compatible = "qcom,qpnp-lcdb-regulator";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0xec00 0x100>;

			lcdb_ldo_vreg: ldo {
				label = "ldo";
				regulator-name = "lcdb_ldo";
				regulator-min-microvolt = <4000000>;
				regulator-max-microvolt = <6000000>;
			};

			lcdb_ncp_vreg: ncp {
				label = "ncp";
				regulator-name = "lcdb_ncp";
				regulator-min-microvolt = <4000000>;
				regulator-max-microvolt = <6000000>;
			};
		};
	};
};
+5 −0
Original line number Diff line number Diff line
@@ -14,3 +14,8 @@
&pm2falcon_wled {
	status = "disabled";
};

/* disable LCDB */
&pm2falcon_lcdb {
	status = "disabled";
};
+0 −17
Original line number Diff line number Diff line
@@ -255,20 +255,3 @@
#include "msm-pmfalcon-rpm-regulator.dtsi"
#include "msm-pm2falcon-rpm-regulator.dtsi"
#include "msmfalcon-regulator.dtsi"

/* dummy LCDB regulator nodes */
&soc {
	lcdb_ldo_vreg: regulator-vdisp-vreg {
		compatible = "qcom,stub-regulator";
		regulator-name = "lcdb_ldo";
		regulator-min-microvolt = <4000000>;
		regulator-max-microvolt = <6000000>;
	};

	lcdb_ncp_vreg: regulator-vdisn-vreg {
		compatible = "qcom,stub-regulator";
		regulator-name = "lcdb_ncp";
		regulator-min-microvolt = <4000000>;
		regulator-max-microvolt = <6000000>;
	};
};