diff options
author | Archit Taneja <architt@codeaurora.org> | 2016-09-23 02:33:07 -0400 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-11-19 00:30:29 -0500 |
commit | c809801d4ceb5185b1c670562a94aef6defe9a70 (patch) | |
tree | 193d9229f3189fdc57885629076d9d4181d4ecc0 | |
parent | e77a3a7841f58cae5249e69db8521a04d8be6f25 (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 2eeb0904eaa7..3d37cab3b9a9 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | |||
@@ -43,6 +43,17 @@ | |||
43 | }; | 43 | }; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | hdmi-out { | ||
47 | compatible = "hdmi-connector"; | ||
48 | type = "d"; | ||
49 | |||
50 | port { | ||
51 | hdmi_con: endpoint { | ||
52 | remote-endpoint = <&hdmi_out>; | ||
53 | }; | ||
54 | }; | ||
55 | }; | ||
56 | |||
46 | soc { | 57 | soc { |
47 | pinctrl@800000 { | 58 | pinctrl@800000 { |
48 | card_detect: card_detect { | 59 | card_detect: card_detect { |
@@ -64,6 +75,25 @@ | |||
64 | bias-disable; | 75 | bias-disable; |
65 | }; | 76 | }; |
66 | }; | 77 | }; |
78 | |||
79 | hdmi_pinctrl: hdmi-pinctrl { | ||
80 | mux { | ||
81 | pins = "gpio70", "gpio71", "gpio72"; | ||
82 | function = "hdmi"; | ||
83 | }; | ||
84 | |||
85 | pinconf_ddc { | ||
86 | pins = "gpio70", "gpio71"; | ||
87 | bias-pull-up; | ||
88 | drive-strength = <2>; | ||
89 | }; | ||
90 | |||
91 | pinconf_hpd { | ||
92 | pins = "gpio72"; | ||
93 | bias-pull-down; | ||
94 | drive-strength = <16>; | ||
95 | }; | ||
96 | }; | ||
67 | }; | 97 | }; |
68 | 98 | ||
69 | rpm@108000 { | 99 | rpm@108000 { |
@@ -329,5 +359,49 @@ | |||
329 | mmc-pwrseq = <&sdcc4_pwrseq>; | 359 | mmc-pwrseq = <&sdcc4_pwrseq>; |
330 | }; | 360 | }; |
331 | }; | 361 | }; |
362 | |||
363 | hdmi-tx@4a00000 { | ||
364 | status = "okay"; | ||
365 | |||
366 | core-vdda-supply = <&pm8921_hdmi_switch>; | ||
367 | hdmi-mux-supply = <&ext_3p3v>; | ||
368 | |||
369 | hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>; | ||
370 | |||
371 | pinctrl-names = "default"; | ||
372 | pinctrl-0 = <&hdmi_pinctrl>; | ||
373 | |||
374 | ports { | ||
375 | port@0 { | ||
376 | endpoint { | ||
377 | remote-endpoint = <&mdp_dtv_out>; | ||
378 | }; | ||
379 | }; | ||
380 | |||
381 | port@1 { | ||
382 | endpoint { | ||
383 | remote-endpoint = <&hdmi_con>; | ||
384 | }; | ||
385 | }; | ||
386 | }; | ||
387 | }; | ||
388 | |||
389 | hdmi-phy@4a00400 { | ||
390 | status = "okay"; | ||
391 | |||
392 | core-vdda-supply = <&pm8921_hdmi_switch>; | ||
393 | }; | ||
394 | |||
395 | mdp@5100000 { | ||
396 | status = "okay"; | ||
397 | |||
398 | ports { | ||
399 | port@3 { | ||
400 | endpoint { | ||
401 | remote-endpoint = <&hdmi_in>; | ||
402 | }; | ||
403 | }; | ||
404 | }; | ||
405 | }; | ||
332 | }; | 406 | }; |
333 | }; | 407 | }; |