diff mbox series

ARM: dts: logicpd-som-lv-baseboard: Fix missing video

Message ID 20200814122441.2425966-1-aford173@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: logicpd-som-lv-baseboard: Fix missing video | expand

Commit Message

Adam Ford Aug. 14, 2020, 12:24 p.m. UTC
A previous commit removed the panel-dpi driver, which made the
SOM-LV video stop working because it relied on the DPI driver
for setting video timings.  Now that the simple-panel driver is
available in omap2plus, this patch migrates the SOM-LV dev kits
to use a similar panel and remove the manual timing requirements.
A similar patch was already done and applied to the Torpedo family.

Fixes: 8bf4b1621178 ("drm/omap: Remove panel-dpi driver")

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Tony Lindgren Aug. 17, 2020, 11:27 a.m. UTC | #1
* Adam Ford <aford173@gmail.com> [200814 15:24]:
> A previous commit removed the panel-dpi driver, which made the
> SOM-LV video stop working because it relied on the DPI driver
> for setting video timings.  Now that the simple-panel driver is
> available in omap2plus, this patch migrates the SOM-LV dev kits
> to use a similar panel and remove the manual timing requirements.
> A similar patch was already done and applied to the Torpedo family.

Thanks applying into fixes.

Tony
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi b/arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi
index 100396f6c2fe..79e9e24328b9 100644
--- a/arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi
+++ b/arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi
@@ -102,35 +102,18 @@  video_reg: video_reg {
 		regulator-max-microvolt = <3300000>;
 	};
 
-	lcd0: display@0 {
-		compatible = "panel-dpi";
-		label = "28";
-		status = "okay";
-		/* default-on; */
+	lcd0: display {
+		/* This isn't the exact LCD, but the timings meet spec */
+		compatible = "logicpd,type28";
 		pinctrl-names = "default";
 		pinctrl-0 = <&lcd_enable_pin>;
-		enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;	/* gpio155, lcd INI */
+		backlight = <&bl>;
+		enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
 		port {
 			lcd_in: endpoint {
 				remote-endpoint = <&dpi_out>;
 			};
 		};
-
-		panel-timing {
-			clock-frequency = <9000000>;
-			hactive = <480>;
-			vactive = <272>;
-			hfront-porch = <3>;
-			hback-porch = <2>;
-			hsync-len = <42>;
-			vback-porch = <3>;
-			vfront-porch = <2>;
-			vsync-len = <11>;
-			hsync-active = <1>;
-			vsync-active = <1>;
-			de-active = <1>;
-			pixelclk-active = <0>;
-		};
 	};
 
 	bl: backlight {