]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: sun8i: sina33: Enable display
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 6 Sep 2016 14:46:20 +0000 (16:46 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 27 Jan 2017 15:18:17 +0000 (16:18 +0100)
Enable the display pipeline with the associated 7" panel sold with the
SinA33.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts

index b75162075ca1e599a86ec3947441cc783c59916a..c206ed693aa2c09201809d288cb189131fefc270 100644 (file)
@@ -61,6 +61,27 @@ aliases {
        chosen {
                stdout-path = "serial0:115200n8";
        };
+
+       panel {
+               compatible = "netron-dy,e231732";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               port@0 {
+                       reg = <0>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       panel_input: endpoint@0 {
+                               reg = <0>;
+                               remote-endpoint = <&tcon0_out_panel>;
+                       };
+               };
+       };
+};
+
+&de {
+       status = "okay";
 };
 
 &ehci0 {
@@ -206,6 +227,19 @@ &reg_rtc_ldo {
        regulator-name = "vcc-rtc";
 };
 
+&tcon0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&lcd_rgb666_pins>;
+       status = "okay";
+};
+
+&tcon0_out {
+       tcon0_out_panel: endpoint@0 {
+               reg = <0>;
+               remote-endpoint = <&panel_input>;
+       };
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins_b>;