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

Commit 0a09788b authored by Ajay Singh Parmar's avatar Ajay Singh Parmar
Browse files

ARM: dts: msm: Add support for HDMI Tx controller on apq8084



Add support for HDMI_Tx controller on apq8084 platform by providing
regulator, power, hpd, cec, ddc etc HDMI related settings in dtsi.

For MTP platform, HDMI will be disabled by default.

Change-Id: I91746630679abd1396a6a929fd464e0e53283626
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
parent 5c3bdb89
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -16,6 +16,17 @@
	};
};

&pma8084_mpps {
	mpp@a200 { /* MPP 3 */
		/* ext_5v enable */
		qcom,mode = <1>;
		qcom,invert = <0>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		qcom,master-en = <1>;
	};
};

&soc {
};

+11 −0
Original line number Diff line number Diff line
@@ -16,6 +16,17 @@
	};
};

&pma8084_mpps {
	mpp@a200 { /* MPP 3 */
		/* ext_5v enable */
		qcom,mode = <1>;
		qcom,invert = <0>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		qcom,master-en = <1>;
	};
};

&soc {
};

+29 −0
Original line number Diff line number Diff line
@@ -179,6 +179,35 @@
		qcom,mdss-fb-map = <&mdss_fb0>;
	};

	mdss_hdmi_tx: qcom,hdmi_tx@fd922100 {
		cell-index = <0>;
		compatible = "qcom,hdmi-tx";
		reg =	<0xfd922100 0x380>,
			<0xfd922500 0x7C>,
			<0xfc4b8000 0x6100>;
		reg-names = "core_physical", "phy_physical", "qfprom_physical";

		hpd-gdsc-supply = <&gdsc_mdss>;
		hpd-5v-supply = <&pma8084_mvs1>;
		core-vdda-supply = <&pma8084_l12>;
		core-vcc-supply = <&pma8084_s4>;
		qcom,supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc";
		qcom,min-voltage-level = <0 0 1800000 1800000>;
		qcom,max-voltage-level = <0 0 1800000 1800000>;
		qcom,enable-load = <0 0 300000 0>;
		qcom,disable-load = <0 0 0 0>;

		qcom,hdmi-tx-cec = <&msmgpio 31 0>;
		qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>;
		qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>;
		qcom,hdmi-tx-hpd = <&msmgpio 34 0>;
		qcom,hdmi-tx-ext-5v = <&pma8084_mpps 3 0>;
		qcom,mdss-fb-map = <&mdss_fb1>;
		qcom,msm-hdmi-audio-rx {
			compatible = "qcom,msm-hdmi-audio-codec-rx";
		};
	};

	qcom,mdss_wb_panel {
		compatible = "qcom,mdss_wb";
		qcom,mdss_pan_res = <1920 1080>;
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@
};

&soc {
	qcom,hdmi_tx@fd922100 {
		status = "disabled";
	};
};

/include/ "dsi-panel-jdi-1080p-video.dtsi"