All ASUS Transformers have micro-HDMI connector directly available. After
Tegra HDMI got bridge/connector support, we should use connector framework
for proper HW description.

Tested-by: Andreas Westman Dorcsak <[email protected]> # ASUS TF T30
Tested-by: Robert Eckelmann <[email protected]> # ASUS TF101 T20
Tested-by: Svyatoslav Ryhel <[email protected]> # ASUS TF201 T30
Signed-off-by: Svyatoslav Ryhel <[email protected]>
---
 .../boot/dts/nvidia/tegra30-asus-tf600t.dts   | 21 +++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/nvidia/tegra30-asus-tf600t.dts 
b/arch/arm/boot/dts/nvidia/tegra30-asus-tf600t.dts
index 1ed0536ae3fa..498780a96cf9 100644
--- a/arch/arm/boot/dts/nvidia/tegra30-asus-tf600t.dts
+++ b/arch/arm/boot/dts/nvidia/tegra30-asus-tf600t.dts
@@ -67,8 +67,11 @@ hdmi: hdmi@54280000 {
                        pll-supply = <&vdd_1v8_vio>;
                        vdd-supply = <&vdd_3v3_sys>;
 
-                       nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) 
GPIO_ACTIVE_HIGH>;
-                       nvidia,ddc-i2c-bus = <&hdmi_ddc>;
+                       port {
+                               hdmi_out: endpoint {
+                                       remote-endpoint = <&connector_in>;
+                               };
+                       };
                };
 
                lcd: dsi@54300000 {
@@ -2302,6 +2305,20 @@ clk32k_in: clock-32k {
                clock-output-names = "pmic-oscillator";
        };
 
+       connector {
+               compatible = "hdmi-connector";
+               type = "d";
+
+               hpd-gpios = <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
+               ddc-i2c-bus = <&hdmi_ddc>;
+
+               port {
+                       connector_in: endpoint {
+                               remote-endpoint = <&hdmi_out>;
+                       };
+               };
+       };
+
        cpus {
                cpu0: cpu@0 {
                        cpu-supply = <&vdd_cpu>;
-- 
2.51.0

Reply via email to