]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun5i: Move q8 display bits to sun5i-a13-q8-tablet.dts
authorHans de Goede <hdegoede@redhat.com>
Fri, 8 Jul 2016 16:05:43 +0000 (18:05 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 18 Jul 2016 09:39:45 +0000 (11:39 +0200)
This is a preparation patch for renaming sun5i-q8-common.dtsi to
sun5i-reference-design-tablet.dtsi and sharing it between all
the A13 tablet dts files.

Since we only have a panel config for the 18 tablets (for now) move
this to the q8 specific dts file.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
arch/arm/boot/dts/sun5i-q8-common.dtsi

index dce77825571d0fd1e90791e13c95e8c2b979faab..afe14f7bf3fb68bdcdb5877ba6117297ae2d9c4f 100644 (file)
 / {
        model = "Q8 A13 Tablet";
        compatible = "allwinner,q8-a13", "allwinner,sun5i-a13";
+
+       panel: panel {
+               compatible = "urt,umsh-8596md-t", "simple-panel";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               port@0 {
+                       reg = <0>;
+                       /* TODO: lcd panel uses axp gpio0 as enable pin */
+                       backlight = <&backlight>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       panel_input: endpoint@0 {
+                               reg = <0>;
+                               remote-endpoint = <&tcon0_out_lcd>;
+                       };
+               };
+       };
+};
+
+&be0 {
+       status = "okay";
+};
+
+&tcon0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&lcd_rgb666_pins>;
+       status = "okay";
+};
+
+&tcon0_out {
+       tcon0_out_lcd: endpoint@0 {
+               reg = <0>;
+               remote-endpoint = <&panel_input>;
+       };
 };
index 8977fb2ee4430f8e0dce81444031f9dd05a98469..ca5d0c4b12a5a2c1769bc86c1b68a4f34a90d148 100644 (file)
@@ -59,29 +59,6 @@ backlight: backlight {
        chosen {
                stdout-path = "serial0:115200n8";
        };
-
-       panel: panel {
-               compatible = "urt,umsh-8596md-t", "simple-panel";
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               port@0 {
-                       reg = <0>;
-                       /* TODO: lcd panel uses axp gpio0 as enable pin */
-                       backlight = <&backlight>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
-                       panel_input: endpoint@0 {
-                               reg = <0>;
-                               remote-endpoint = <&tcon0_out_lcd>;
-                       };
-               };
-       };
-};
-
-&be0 {
-       status = "okay";
 };
 
 &codec {
@@ -202,19 +179,6 @@ &reg_usb0_vbus {
        status = "okay";
 };
 
-&tcon0 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&lcd_rgb666_pins>;
-       status = "okay";
-};
-
-&tcon0_out {
-       tcon0_out_lcd: endpoint@0 {
-               reg = <0>;
-               remote-endpoint = <&panel_input>;
-       };
-};
-
 &uart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart1_pins_b>;