[PATCH 2/2] ARM: i.MX6 GuF Santaro: Add simple-panel support

Sascha Hauer s.hauer at pengutronix.de
Thu Nov 6 08:16:24 PST 2014


We don't know the name and vendor of the panel and since the
Kernel simple panel driver does not allow videomodes it's
just "unknown,the-display-on-the-garz-fricke-santaro".

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/dts/imx6q-guf-santaro.dts | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/imx6q-guf-santaro.dts b/arch/arm/dts/imx6q-guf-santaro.dts
index 98fb78f..044a1c1 100644
--- a/arch/arm/dts/imx6q-guf-santaro.dts
+++ b/arch/arm/dts/imx6q-guf-santaro.dts
@@ -41,7 +41,7 @@
 		enable-active-high;
 	};
 
-	backlight {
+	backlight: backlight {
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_backlight>;
 		compatible = "pwm-backlight";
@@ -57,6 +57,18 @@
 		#clock-cells = <0>;
 		clock-frequency = <25000000>;
 	};
+
+	panel {
+		compatible = "unknown,the-display-on-the-garz-fricke-santaro";
+		backlight = <&backlight>;
+		enable-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
+
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&lvds0_out>;
+			};
+		};
+	};
 };
 
 &fec {
@@ -517,6 +529,12 @@
 				vback-porch = <5>;
 				vsync-len = <3>;
 				vsync-active = <1>;
+		};
+
+		port at 4 {
+			reg = <4>;
+			lvds0_out: endpoint {
+				remote-endpoint = <&panel_in>;
 			};
 		};
 	};
-- 
2.1.1




More information about the barebox mailing list