Parcourir la source

dts für lcd ti treiber angepasst

Reinhard Russinger il y a 8 ans
Parent
commit
e1b42b279f

+ 1 - 1
board/GfA/Display001/BUILD

@@ -1 +1 @@
-368
+369

+ 35 - 17
board/GfA/Display001/DTS_4.4/Display001_10.dts

@@ -238,29 +238,47 @@
         };
 };
 
-
 &lcdc {
+        status = "okay";
+};
+
+/ {
+  panel {
+	compatible = "ti,tilcdc,panel";
         pinctrl-names = "default", "sleep";
         pinctrl-0 = <&lcd_pins_default>;
         pinctrl-1 = <&lcd_pins_sleep>;
         status = "okay";
-	display-timings {
-		800x480 {
-			hactive         = <1280>;
-			vactive         = <800>;
-			hback-porch     = <50>;
-			hfront-porch    = <60>;
-			hsync-len       = <50>;
-			vback-porch     = <10>;
-			vfront-porch    = <8>;
-			vsync-len       = <5>;
-			clock-frequency = <72000000>;
-			hsync-active    = <0>;
-			vsync-active    = <0>;
-			de-active	= <1>;
-			pixelclk-active = <0>;
+
+       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>;   
+                invert-pxl-clk    = <1>;   
+                };
+
+	800x480 {
+		hactive         = <1280>;
+		vactive         = <800>;
+		hback-porch     = <50>;
+		hfront-porch    = <60>;
+		hsync-len       = <50>;
+		vback-porch     = <10>;
+		vfront-porch    = <8>;
+		vsync-len       = <5>;
+		clock-frequency = <72000000>;
+		hsync-active    = <0>;
+		vsync-active    = <0>;
+		de-active	= <1>;
+		pixelclk-active = <0>;
 		};
-	};
+  	};
 };
 
 /*

+ 21 - 1
board/GfA/Display001/DTS_4.4/Display001_4.dts

@@ -237,12 +237,31 @@
         };
 };
 
-
 &lcdc {
+        status = "okay";
+};
+
+/ {
+  panel {
+	compatible = "ti,tilcdc,panel";
         pinctrl-names = "default", "sleep";
         pinctrl-0 = <&lcd_pins_default>;
         pinctrl-1 = <&lcd_pins_sleep>;
         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>;   
+                invert-pxl-clk    = <1>;   
+                };
+
         display-timings {
                 480x272 {
                         hactive         = <480>;
@@ -260,6 +279,7 @@
                         pixelclk-active = <1>;
                 };
         };
+  };
 };
 
 /*

+ 21 - 1
board/GfA/Display001/DTS_4.4/Display001_4_nopruss.dts

@@ -237,12 +237,31 @@
         };
 };
 
-
 &lcdc {
+        status = "okay";
+};
+
+/ {
+  panel {
+	compatible = "ti,tilcdc,panel";
         pinctrl-names = "default", "sleep";
         pinctrl-0 = <&lcd_pins_default>;
         pinctrl-1 = <&lcd_pins_sleep>;
         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>;   
+                invert-pxl-clk    = <1>;   
+                };
+
         display-timings {
                 480x272 {
                         hactive         = <480>;
@@ -260,6 +279,7 @@
                         pixelclk-active = <1>;
                 };
         };
+  };
 };
 
 /*

+ 42 - 22
board/GfA/Display001/DTS_4.4/Display001_7.dts

@@ -271,29 +271,49 @@ i2c@3 {
         };
 };
 
-
 &lcdc {
-	pinctrl-names = "default", "sleep";
-	pinctrl-0 = <&lcd_pins_default>;
-	pinctrl-1 = <&lcd_pins_sleep>;
-	status = "okay";
-	display-timings {
-		800x480 {
-			hactive         = <800>;
-			vactive         = <480>;
-			hback-porch     = <88>;
-			hfront-porch    = <40>;
-			hsync-len       = <128>;
-			vback-porch     = <33>;
-			vfront-porch    = <10>;
-			vsync-len       = <2>;
-			clock-frequency = <33000000>;
-			hsync-active    = <0>;
-			vsync-active    = <0>;
-			de-active	= <1>;
-			pixelclk-active = <0>;
-		};
-	};
+        status = "okay";
+};
+
+/ {
+  panel {
+	compatible = "ti,tilcdc,panel";
+        pinctrl-names = "default", "sleep";
+        pinctrl-0 = <&lcd_pins_default>;
+        pinctrl-1 = <&lcd_pins_sleep>;
+        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>;   
+                invert-pxl-clk    = <1>;   
+                };
+
+        display-timings {
+			800x480 {
+				hactive         = <800>;
+				vactive         = <480>;
+				hback-porch     = <88>;
+				hfront-porch    = <40>;
+				hsync-len       = <128>;
+				vback-porch     = <33>;
+				vfront-porch    = <10>;
+				vsync-len       = <2>;
+				clock-frequency = <33000000>;
+				hsync-active    = <0>;
+				vsync-active    = <0>;
+				de-active	= <1>;
+				pixelclk-active = <0>;
+			};
+        };
+  };
 };
 
 /*

+ 42 - 22
board/GfA/Display001/DTS_4.4/Display001_7_bitbang.dts

@@ -271,29 +271,49 @@ i2c@3 {
         };
 };
 
-
 &lcdc {
-	pinctrl-names = "default", "sleep";
-	pinctrl-0 = <&lcd_pins_default>;
-	pinctrl-1 = <&lcd_pins_sleep>;
-	status = "okay";
-	display-timings {
-		800x480 {
-			hactive         = <800>;
-			vactive         = <480>;
-			hback-porch     = <88>;
-			hfront-porch    = <40>;
-			hsync-len       = <128>;
-			vback-porch     = <33>;
-			vfront-porch    = <10>;
-			vsync-len       = <2>;
-			clock-frequency = <33000000>;
-			hsync-active    = <0>;
-			vsync-active    = <0>;
-			de-active	= <1>;
-			pixelclk-active = <0>;
-		};
-	};
+        status = "okay";
+};
+
+/ {
+  panel {
+	compatible = "ti,tilcdc,panel";
+        pinctrl-names = "default", "sleep";
+        pinctrl-0 = <&lcd_pins_default>;
+        pinctrl-1 = <&lcd_pins_sleep>;
+        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>;   
+                invert-pxl-clk    = <1>;   
+                };
+
+        display-timings {
+			800x480 {
+				hactive         = <800>;
+				vactive         = <480>;
+				hback-porch     = <88>;
+				hfront-porch    = <40>;
+				hsync-len       = <128>;
+				vback-porch     = <33>;
+				vfront-porch    = <10>;
+				vsync-len       = <2>;
+				clock-frequency = <33000000>;
+				hsync-active    = <0>;
+				vsync-active    = <0>;
+				de-active	= <1>;
+				pixelclk-active = <0>;
+			};
+        };
+  };
 };
 
 /*

+ 42 - 22
board/GfA/Display001/DTS_4.4/Display001_7_gain1.dts

@@ -272,29 +272,49 @@ i2c@3 {
         };
 };
 
-
 &lcdc {
-	pinctrl-names = "default", "sleep";
-	pinctrl-0 = <&lcd_pins_default>;
-	pinctrl-1 = <&lcd_pins_sleep>;
-	status = "okay";
-	display-timings {
-		800x480 {
-			hactive         = <800>;
-			vactive         = <480>;
-			hback-porch     = <88>;
-			hfront-porch    = <40>;
-			hsync-len       = <128>;
-			vback-porch     = <33>;
-			vfront-porch    = <10>;
-			vsync-len       = <2>;
-			clock-frequency = <33000000>;
-			hsync-active    = <0>;
-			vsync-active    = <0>;
-			de-active	= <1>;
-			pixelclk-active = <0>;
-		};
-	};
+        status = "okay";
+};
+
+/ {
+  panel {
+	compatible = "ti,tilcdc,panel";
+        pinctrl-names = "default", "sleep";
+        pinctrl-0 = <&lcd_pins_default>;
+        pinctrl-1 = <&lcd_pins_sleep>;
+        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>;   
+                invert-pxl-clk    = <1>;   
+                };
+
+        display-timings {
+			800x480 {
+				hactive         = <800>;
+				vactive         = <480>;
+				hback-porch     = <88>;
+				hfront-porch    = <40>;
+				hsync-len       = <128>;
+				vback-porch     = <33>;
+				vfront-porch    = <10>;
+				vsync-len       = <2>;
+				clock-frequency = <33000000>;
+				hsync-active    = <0>;
+				vsync-active    = <0>;
+				de-active	= <1>;
+				pixelclk-active = <0>;
+			};
+        };
+  };
 };
 
 /*

+ 42 - 22
board/GfA/Display001/DTS_4.4/Display001_7_i2c2.dts

@@ -234,29 +234,49 @@
         };
 };
 
-
 &lcdc {
-	pinctrl-names = "default", "sleep";
-	pinctrl-0 = <&lcd_pins_default>;
-	pinctrl-1 = <&lcd_pins_sleep>;
-	status = "okay";
-	display-timings {
-		800x480 {
-			hactive         = <800>;
-			vactive         = <480>;
-			hback-porch     = <88>;
-			hfront-porch    = <40>;
-			hsync-len       = <128>;
-			vback-porch     = <33>;
-			vfront-porch    = <10>;
-			vsync-len       = <2>;
-			clock-frequency = <33000000>;
-			hsync-active    = <0>;
-			vsync-active    = <0>;
-			de-active	= <1>;
-			pixelclk-active = <0>;
-		};
-	};
+        status = "okay";
+};
+
+/ {
+  panel {
+	compatible = "ti,tilcdc,panel";
+        pinctrl-names = "default", "sleep";
+        pinctrl-0 = <&lcd_pins_default>;
+        pinctrl-1 = <&lcd_pins_sleep>;
+        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>;   
+                invert-pxl-clk    = <1>;   
+                };
+
+        display-timings {
+			800x480 {
+				hactive         = <800>;
+				vactive         = <480>;
+				hback-porch     = <88>;
+				hfront-porch    = <40>;
+				hsync-len       = <128>;
+				vback-porch     = <33>;
+				vfront-porch    = <10>;
+				vsync-len       = <2>;
+				clock-frequency = <33000000>;
+				hsync-active    = <0>;
+				vsync-active    = <0>;
+				de-active	= <1>;
+				pixelclk-active = <0>;
+			};
+        };
+  };
 };
 
 /*

+ 41 - 21
board/GfA/Display001/DTS_4.4/Display001_rru.dts

@@ -170,28 +170,48 @@
 	status = "okay";
 };
 
-
 &lcdc {
-	pinctrl-names = "default";
-	pinctrl-0 = <&lcd_pins_default>;
-	status = "okay";
-	display-timings {
-		1024x600 {
-			hactive         = <1024>;
-			vactive         = <600>;
-			hback-porch     = <45>;
-			hfront-porch    = <1>;
-			hsync-len       = <30>;
-			vback-porch     = <22>;
-			vfront-porch    = <12>;
-			vsync-len       = <2>;
-			clock-frequency = <36000000>;
-			hsync-active    = <1>;
-			vsync-active    = <1>;
-			de-active	= <1>;
-			pixelclk-active = <0>;
-		};
-	};
+        status = "okay";
+};
+
+/ {
+  panel {
+	compatible = "ti,tilcdc,panel";
+        pinctrl-names = "default", "sleep";
+        pinctrl-0 = <&lcd_pins_default>;
+        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>;   
+                invert-pxl-clk    = <1>;   
+                };
+
+        display-timings {
+			1024x600 {
+				hactive         = <1024>;
+				vactive         = <600>;
+				hback-porch     = <45>;
+				hfront-porch    = <1>;
+				hsync-len       = <30>;
+				vback-porch     = <22>;
+				vfront-porch    = <12>;
+				vsync-len       = <2>;
+				clock-frequency = <36000000>;
+				hsync-active    = <1>;
+				vsync-active    = <1>;
+				de-active	= <1>;
+				pixelclk-active = <0>;
+			};
+        };
+  };
 };
 
 &i2c0 {