OSDN Git Service

ARM: dts: sun6i: a31: Enable HDMI support on the Mele I7
authorMarcus Cooper <codekipper@gmail.com>
Thu, 1 Feb 2018 08:37:37 +0000 (09:37 +0100)
committerChen-Yu Tsai <wens@csie.org>
Tue, 13 Feb 2018 10:07:26 +0000 (18:07 +0800)
The Mele I7 has an HDMI connector wired to the HDMI pins
on the SoC. Enable the display pipeline and HDMI output.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
[wens@csie.org: Added "dts" prefix]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun6i-a31-i7.dts

index 010a84c..a3b7017 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       hdmi-connector {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi_con_in: endpoint {
+                               remote-endpoint = <&hdmi_out_con>;
+                       };
+               };
+       };
+
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";
        status = "okay";
 };
 
+&de {
+       status = "okay";
+};
+
 &ehci0 {
        status = "okay";
 };
        };
 };
 
+&hdmi {
+       status = "okay";
+};
+
+&hdmi_out {
+       hdmi_out_con: endpoint {
+               remote-endpoint = <&hdmi_con_in>;
+       };
+};
+
 &ir {
        pinctrl-names = "default";
        pinctrl-0 = <&ir_pins_a>;
        status = "okay";
 };
 
+&tcon0 {
+       status = "okay";
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins_a>;