aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2019-01-30 06:04:36 -0500
committerAndy Gross <agross@kernel.org>2019-04-23 15:42:15 -0400
commit1ad69b69558230ed6bfdcc752bd9b69d33c932b4 (patch)
tree7c4f2e20afbf652300b27687af2ae48a497e68ae
parent69cc3114ab0f59a1ba429b7e5b84b26e2599d207 (diff)
arm64: dts: apq8096-db820c: Add HDMI display support
The APQ8096 DB820c platform provides HDMI output. The MDSS block on 8x96 supports a direct HDMI out. Populate the MDSS, MDP and HDMI DT nodes. Also, add the HDMI HPD and DDC pinctrl nodes with the bias and driver strength specified for this platform. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Andy Gross <agross@kernel.org>
-rw-r--r--arch/arm64/boot/dts/qcom/apq8096-db820c-pins.dtsi52
-rw-r--r--arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi27
2 files changed, 79 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c-pins.dtsi
index 6a573875d45a..1c0d06f59d00 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c-pins.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c-pins.dtsi
@@ -62,4 +62,56 @@
62 bias-disable; 62 bias-disable;
63 }; 63 };
64 }; 64 };
65
66 hdmi_hpd_active: hdmi_hpd_active {
67 mux {
68 pins = "gpio34";
69 function = "hdmi_hot";
70 };
71
72 config {
73 pins = "gpio34";
74 bias-pull-down;
75 drive-strength = <16>;
76 };
77 };
78
79 hdmi_hpd_suspend: hdmi_hpd_suspend {
80 mux {
81 pins = "gpio34";
82 function = "hdmi_hot";
83 };
84
85 config {
86 pins = "gpio34";
87 bias-pull-down;
88 drive-strength = <2>;
89 };
90 };
91
92 hdmi_ddc_active: hdmi_ddc_active {
93 mux {
94 pins = "gpio32", "gpio33";
95 function = "hdmi_ddc";
96 };
97
98 config {
99 pins = "gpio32", "gpio33";
100 drive-strength = <2>;
101 bias-pull-up;
102 };
103 };
104
105 hdmi_ddc_suspend: hdmi_ddc_suspend {
106 mux {
107 pins = "gpio32", "gpio33";
108 function = "hdmi_ddc";
109 };
110
111 config {
112 pins = "gpio32", "gpio33";
113 drive-strength = <2>;
114 bias-pull-down;
115 };
116 };
65}; 117};
diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
index 6d50449fbcdf..1e78f0b47c89 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -452,6 +452,33 @@
452 perst-gpio = <&msmgpio 114 GPIO_ACTIVE_LOW>; 452 perst-gpio = <&msmgpio 114 GPIO_ACTIVE_LOW>;
453 }; 453 };
454 }; 454 };
455
456 mdss@900000 {
457 status = "okay";
458
459 mdp@901000 {
460 status = "okay";
461 };
462
463 hdmi-phy@9a0600 {
464 status = "okay";
465
466 vddio-supply = <&pm8994_l12>;
467 vcca-supply = <&pm8994_l28>;
468 #phy-cells = <0>;
469 };
470
471 hdmi-tx@9a0000 {
472 status = "okay";
473
474 pinctrl-names = "default", "sleep";
475 pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
476 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;
477
478 core-vdda-supply = <&pm8994_l12>;
479 core-vcc-supply = <&pm8994_s4>;
480 };
481 };
455 }; 482 };
456 483
457 484