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

Commit 241f3543 authored by Ujwal Patel's avatar Ujwal Patel
Browse files

ARM: dts: msm: Add JDI 1080p panel as primary panel for apq8084-cdp



CDP board platform for apq8084 has JDI 1080p panel as primary display.
Define regulators and gpios needed for this panel.

Change-Id: Id75a3d093d61f24ca6f945bd4270861dd75d6405
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent 54938e72
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -19,6 +19,25 @@
&soc {
};

/include/ "dsi-panel-jdi-1080p-video.dtsi"
&dsi_jdi_1080_vid {
	qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";
	qcom,mdss-dsi-bl-pmic-pwm-frequency = <100>;
	qcom,mdss-dsi-bl-pmic-bank-select = <2>;
	qcom,mdss-dsi-pwm-gpio = <&pma8084_gpios 7 0>;
};

&mdss_mdp {
	qcom,mdss-pref-prim-intf = "dsi";
};

&mdss_dsi0 {
	qcom,dsi-pref-prim-pan = <&dsi_jdi_1080_vid>;
	qcom,platform-reset-gpio = <&msmgpio 96 0>;
	qcom,platform-enable-gpio = <&msmgpio 137 0>;
	qcom,platform-bklight-en-gpio = <&msmgpio 86 0>;
};

&blsp2_uart1 {
	status = "ok";
};
@@ -71,3 +90,16 @@
	qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
	qcom,setb-gpios-dir =  <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>;
};

&pma8084_gpios {
	gpio@c600 { /* GPIO 7 */
		/* Backlight PWM */
		qcom,mode = <1>;		/* Digital output */
		qcom,output-type = <0>;		/* CMOS logic */
		qcom,invert = <0>;		/* Do not invert the output */
		qcom,vin-sel = <2>;		/* PMA8084 S4 = 1.8 V */
		qcom,src-sel = <2>;		/* Special Function 1 = LPG 3 */
		qcom,out-strength = <3>;	/* High drive strength */
		qcom,master-en = <1>;
	};
};