arm: dts: qcom: apq8064-ifc6410: Add HDMI support

Add HDMI support on IFC6410. Populate the regulators required by HDMI-TX
and PHY. Establish the link between the MDP4 DTV encoder and HDMI. Create
a generic micro HDMI connector DT node. The msm drm driver doesn't parse
for HDMI connectors in DT, but it will do so later.

Cc: devicetree@vger.kernel.org

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
Archit Taneja 2016-09-23 12:03:07 +05:30 committed by Andy Gross
parent e77a3a7841
commit c809801d4c

View File

@ -43,6 +43,17 @@
};
};
hdmi-out {
compatible = "hdmi-connector";
type = "d";
port {
hdmi_con: endpoint {
remote-endpoint = <&hdmi_out>;
};
};
};
soc {
pinctrl@800000 {
card_detect: card_detect {
@ -64,6 +75,25 @@
bias-disable;
};
};
hdmi_pinctrl: hdmi-pinctrl {
mux {
pins = "gpio70", "gpio71", "gpio72";
function = "hdmi";
};
pinconf_ddc {
pins = "gpio70", "gpio71";
bias-pull-up;
drive-strength = <2>;
};
pinconf_hpd {
pins = "gpio72";
bias-pull-down;
drive-strength = <16>;
};
};
};
rpm@108000 {
@ -329,5 +359,49 @@
mmc-pwrseq = <&sdcc4_pwrseq>;
};
};
hdmi-tx@4a00000 {
status = "okay";
core-vdda-supply = <&pm8921_hdmi_switch>;
hdmi-mux-supply = <&ext_3p3v>;
hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&hdmi_pinctrl>;
ports {
port@0 {
endpoint {
remote-endpoint = <&mdp_dtv_out>;
};
};
port@1 {
endpoint {
remote-endpoint = <&hdmi_con>;
};
};
};
};
hdmi-phy@4a00400 {
status = "okay";
core-vdda-supply = <&pm8921_hdmi_switch>;
};
mdp@5100000 {
status = "okay";
ports {
port@3 {
endpoint {
remote-endpoint = <&hdmi_in>;
};
};
};
};
};
};