diff mbox series

ARM: dts: imx53-qsb: Use DRM bindings for the Seiko 43WVF1G panel

Message ID 20191024215712.1552-1-festevam@gmail.com (mailing list archive)
State Mainlined
Commit f324c952902e64e1784f83217d427ba43d801ec4
Headers show
Series ARM: dts: imx53-qsb: Use DRM bindings for the Seiko 43WVF1G panel | expand

Commit Message

Fabio Estevam Oct. 24, 2019, 9:57 p.m. UTC
Currently the parallel panel that is supported is the CLAA WVGA panel,
which is the one that comes with the i.MX51 Babbage board.

The default parallel panel that goes with the imx53-qsb board is
the Seiko 43WVF1G LCD, so switch to the Seiko one.

While at it convert to DRM bindings.

The parallel display still remains disabled as the default display
port is the TVE output.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 arch/arm/boot/dts/imx53-qsb-common.dtsi | 44 ++++++++++++++-----------
 1 file changed, 24 insertions(+), 20 deletions(-)

Comments

Shawn Guo Oct. 28, 2019, 11:55 a.m. UTC | #1
On Thu, Oct 24, 2019 at 06:57:12PM -0300, Fabio Estevam wrote:
> Currently the parallel panel that is supported is the CLAA WVGA panel,
> which is the one that comes with the i.MX51 Babbage board.
> 
> The default parallel panel that goes with the imx53-qsb board is
> the Seiko 43WVF1G LCD, so switch to the Seiko one.
> 
> While at it convert to DRM bindings.
> 
> The parallel display still remains disabled as the default display
> port is the TVE output.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx53-qsb-common.dtsi b/arch/arm/boot/dts/imx53-qsb-common.dtsi
index f00dda334976..9b4efcd82636 100644
--- a/arch/arm/boot/dts/imx53-qsb-common.dtsi
+++ b/arch/arm/boot/dts/imx53-qsb-common.dtsi
@@ -18,34 +18,28 @@ 
 
 	display0: disp0 {
 		compatible = "fsl,imx-parallel-display";
-		interface-pix-fmt = "rgb565";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_ipu_disp0>;
+
+		#address-cells = <1>;
+		#size-cells = <0>;
 		status = "disabled";
-		display-timings {
-			claawvga {
-				native-mode;
-				clock-frequency = <27000000>;
-				hactive = <800>;
-				vactive = <480>;
-				hback-porch = <40>;
-				hfront-porch = <60>;
-				vback-porch = <10>;
-				vfront-porch = <10>;
-				hsync-len = <20>;
-				vsync-len = <10>;
-				hsync-active = <0>;
-				vsync-active = <0>;
-				de-active = <1>;
-				pixelclk-active = <0>;
-			};
-		};
 
-		port {
+		port@0 {
+			reg = <0>;
+
 			display0_in: endpoint {
 				remote-endpoint = <&ipu_di0_disp0>;
 			};
 		};
+
+		port@1 {
+			reg = <1>;
+
+			display_out: endpoint {
+				remote-endpoint = <&panel_in>;
+			};
+		};
 	};
 
 	gpio-keys {
@@ -84,6 +78,16 @@ 
 		};
 	};
 
+	panel {
+		compatible = "sii,43wvf1g";
+
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&display_out>;
+			};
+		};
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;