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

Commit 26dde3e9 authored by Casey Piper's avatar Casey Piper
Browse files

ARM: dts: msm: add HDMI device for msm8994 platform



Add HDMI device for 20nm HDMI PHY on msm8994 platform,
with all required bindings. As hpd gpio is now an
optional binding, update corresponding binding
documentation. Also add support for external framebuffer.

Change-Id: Ifa13e2e9f8cdc6c84dd62df0cd217ba13e58deac
Signed-off-by: default avatarCasey Piper <cpiper@codeaurora.org>
parent d01bb071
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ Required properties:
- qcom,hdmi-tx-cec: gpio for Consumer Electronics Control (cec) line.
- qcom,hdmi-tx-ddc-clk: gpio for Display Data Channel (ddc) clock line.
- qcom,hdmi-tx-ddc-data: gpio for ddc data line.
- qcom,hdmi-tx-hpd: gpio required for HDMI hot-plug detect.

Optional properties:
- hpd-5v-en-supply: phandle to the 5V boost enable regulator device tree node.
@@ -38,6 +37,8 @@ Optional properties:
  selection on liquid devices. Required property for liquid devices.
- qcom,conditional-power-on: Enables HPD conditionally on MTP targets.
  Required property for MTP devices which are reworked to expose HDMI port.
- qcom,hdmi-tx-hpd: gpio required for HDMI hot-plug detect. Required on
  platforms where companion chip is not used.

[Optional child nodes]: These nodes are for devices which are
dependent on HDMI Tx controller. If HDMI Tx controller is disabled then
+39 −0
Original line number Diff line number Diff line
@@ -145,6 +145,11 @@
			compatible = "qcom,mdss-fb";
		};

		mdss_fb1: qcom,mdss_fb_external {
			cell-index = <1>;
			compatible = "qcom,mdss-fb";
		};

		mdss_fb2: qcom,mdss_fb_wfd {
			cell-index = <2>;
			compatible = "qcom,mdss-fb";
@@ -355,4 +360,38 @@
		qcom,mdss_pan_bpp = <24>;
		qcom,mdss-fb-map = <&mdss_fb2>;
	};

	mdss_hdmi_tx: qcom,hdmi_tx@fd9a8000{
		cell-index = <0>;
		compatible = "qcom,hdmi-tx";

		reg =	<0xfd9a8000 0x38C>,
			<0xfc4b8000 0x6fff>;
		reg-names = "core_physical", "qfprom_physical";

		hpd-gdsc-supply = <&gdsc_mdss>;
		core-vdda-supply = <&pm8994_l12>;
		core-vcc-supply = <&pm8994_s4>;

		qcom,supply-names = "hpd-gdsc", "core-vdda", "core-vcc";
		qcom,min-voltage-level = <0 1800000 1800000>;
		qcom,max-voltage-level = <0 1800000 1800000>;
		qcom,enable-load = <0 300000 0>;
		qcom,disable-load = <0 0 0>;

		clocks = <&clock_mmss clk_mdss_mdp_clk>,
			 <&clock_mmss clk_mdss_ahb_clk>,
			 <&clock_mmss clk_mdss_hdmi_clk>,
			 <&clock_mmss clk_mdss_hdmi_ahb_clk>,
			 <&clock_mmss clk_mdss_extpclk_clk>;
		clock-names = "mdp_core_clk", "iface_clk",
				"core_clk", "alt_iface_clk", "extp_clk";

		qcom,hdmi-tx-hpd = <&pm8994_mpps 4 0>;
		qcom,mdss-fb-map = <&mdss_fb1>;

		qcom,msm-hdmi-audio-rx {
			compatible = "qcom,msm-hdmi-audio-codec-rx";
		};
	};
};