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

Commit d122aedd authored by Xipeng Gu's avatar Xipeng Gu
Browse files

ARM: dts: msm: Configure power of panel on Spyro WDP



Configure PMI gpio 12 as platform-enable-gpio, delete
useless node of panel supply.

Change-Id: I2aba036f58911762f4f1522eb72f095f4db88610
Signed-off-by: default avatarXipeng Gu <guxipeng@codeaurora.org>
parent eafad907
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -53,10 +53,13 @@
};

&mdss_dsi0 {
	/delete-property/ qcom,platform-enable-gpio;
	vdd-supply = <&vreg_d322_vdd>; /* 2.8v  */
	qcom,platform-enable-gpio = <&pm660_gpios 12 0>;
	/delete-property/ vdd-supply;
	qcom,dsi-pref-prim-pan = <&dsi_truly_rm69090_qvga_cmd>;
};
&dsi_pm660_panel_pwr_supply {
	/delete-node/ qcom,panel-supply-entry@0;
};

&pm660_gpios {
	gpio@cb00 {
+0 −13
Original line number Diff line number Diff line
@@ -376,19 +376,6 @@
	qcom,gpios-disallowed = <1 2 3 5 6 7 8 9 10 11 13>;
};

/* pm660 gpio pinctrl configuration */
&pm660_gpios {
	/* GPIO 12 (DISPLAY_AVDD_EN) */
	vreg_d322 {
		vreg_regulator_d322: vreg_regulator-d322 {
			pins = "gpio12";
			function = "normal";
			output-enable;
			qcom,drive-strength = <2>;
		};
	};
};

&pm660_vadc {
	/delete-node/ chan@1d;
};
+0 −12
Original line number Diff line number Diff line
@@ -358,16 +358,4 @@
		regulator-min-microvolt = <2950000>;
		regulator-max-microvolt = <2950000>;
	};

	vreg_d322_vdd: d322-vdd-fixed-regulator {
		compatible = "regulator-fixed";
		regulator-name = "d322_vreg";
		regulator-min-microvolt = <2800000>;
		regulator-max-microvolt = <2800000>;
		startup-delay-us = <400>;
		enable-active-high;
		gpio = <&pm660_gpios 12 0>;
		status = "okay";
		regulator-boot-on;
	};
};