ARM: dts: Add LCD type 28 support to LogicPD Torpedo DM3730 devkit
diff mbox series

Message ID 20190510202256.25050-1-aford173@gmail.com
State New
Headers show
Series
  • ARM: dts: Add LCD type 28 support to LogicPD Torpedo DM3730 devkit
Related show

Commit Message

Adam Ford May 10, 2019, 8:22 p.m. UTC
There are two LCD device released by Logic PD for the Torpedo,
type 15 and Type 28.  The stock dts file supports the older LCD,
so this patch enables support for the newer one.

For details between these different LCD's see
https://support.logicpd.com/DesktopModules/Bring2mind/DMX/Download.aspx?portalid=0&EntryId=2777

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

Comments

Tony Lindgren June 10, 2019, 12:05 p.m. UTC | #1
* Adam Ford <aford173@gmail.com> [190510 13:23]:
> There are two LCD device released by Logic PD for the Torpedo,
> type 15 and Type 28.  The stock dts file supports the older LCD,
> so this patch enables support for the newer one.
> 
> For details between these different LCD's see
> https://support.logicpd.com/DesktopModules/Bring2mind/DMX/Download.aspx?portalid=0&EntryId=2777

Thanks applying into omap-for-v5.3/dt.

Regards,

Tony

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit-28.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit-28.dts
new file mode 100644
index 000000000000..7350a7135a20
--- /dev/null
+++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit-28.dts
@@ -0,0 +1,33 @@ 
+// SPDX-License-Identifier: GPL-2.0
+
+
+/dts-v1/;
+
+/*
+ * There are two types of 4.3" LCD, Type 15 and Type 28.
+ * By default, type 15 was used.  This device tree file
+ * uses the timing for the type 28 LCD
+ */
+
+#include "logicpd-torpedo-37xx-devkit.dts"
+
+&lcd0 {
+
+	label = "28";
+
+	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>;
+	};
+};