ARM: dts: am335x-evmsk: Use drm simple-panel instead of tilcdc-panel
authorJyri Sarha <jsarha@ti.com>
Wed, 4 Dec 2019 10:55:54 +0000 (12:55 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 12 Dec 2019 17:34:00 +0000 (09:34 -0800)
Move to use the new drm panel support in tilcdc together with added
"newhaven,nhd-4.3-480272ef-atxl"-panel support in drm panel-simple.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-evmsk.dts

index a97f9df..32f515a 100644 (file)
        };
 
        panel {
-               compatible = "ti,tilcdc,panel";
+               compatible = "newhaven,nhd-4.3-480272ef-atxl";
+
                pinctrl-names = "default", "sleep";
                pinctrl-0 = <&lcd_pins_default>;
                pinctrl-1 = <&lcd_pins_sleep>;
                backlight = <&lcd_bl>;
-               status = "okay";
-               panel-info {
-                       ac-bias         = <255>;
-                       ac-bias-intrpt  = <0>;
-                       dma-burst-sz    = <16>;
-                       bpp             = <32>;
-                       fdd             = <0x80>;
-                       sync-edge       = <0>;
-                       sync-ctrl       = <1>;
-                       raster-order    = <0>;
-                       fifo-th         = <0>;
-               };
-               display-timings {
-                       480x272 {
-                               hactive         = <480>;
-                               vactive         = <272>;
-                               hback-porch     = <43>;
-                               hfront-porch    = <8>;
-                               hsync-len       = <4>;
-                               vback-porch     = <12>;
-                               vfront-porch    = <4>;
-                               vsync-len       = <10>;
-                               clock-frequency = <9000000>;
-                               hsync-active    = <0>;
-                               vsync-active    = <0>;
+
+               port {
+                       panel_0: endpoint@0 {
+                               remote-endpoint = <&lcdc_0>;
                        };
                };
        };
        status = "okay";
 
        blue-and-red-wiring = "crossed";
+
+       port {
+               lcdc_0: endpoint@0 {
+                       remote-endpoint = <&panel_0>;
+               };
+       };
 };
 
 &rtc {