[PATCH V2] OMAP3LOGIC: Update default Logic PD display type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At the request of Logic PD, this patch sets the display parameters to
match that of Logic PD's display type 28 since type 15 is discontinued.

V2: A previous patch attempted to eliminate an warning indicating no
power supply for the LCD.  This undoes some of those patches to make
the Type 28 display work correctly.

V1: First attempt to enable Type 28 display from Logic PD.

Signed-off-by: Adam Ford <aford173@xxxxxxxxx>
---
 arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
index 874ce46..4b00b58 100644
--- a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
+++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
@@ -128,22 +128,20 @@
 	};
 
 	video_reg: video_reg {
-		pinctrl-names = "default";
-		pinctrl-0 = <&panel_pwr_pins>;
 		compatible = "regulator-fixed";
 		regulator-name = "fixed-supply";
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
-		gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>;	/* gpio155, lcd INI */
 	};
 
 	lcd0: display@0 {
 		compatible = "panel-dpi";
-		label = "15";
+		label = "28";
 		status = "okay";
 		/* default-on; */
 		pinctrl-names = "default";
-
+		pinctrl-0 = <&lcd_enable_pin>;
+		enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;	/* gpio155, lcd INI */
 		port {
 			lcd_in: endpoint {
 				remote-endpoint = <&dpi_out>;
@@ -158,12 +156,12 @@
 			hback-porch = <2>;
 			hsync-len = <42>;
 			vback-porch = <3>;
-			vfront-porch = <4>;
+			vfront-porch = <2>;
 			vsync-len = <11>;
-			hsync-active = <0>;
-			vsync-active = <0>;
+			hsync-active = <1>;
+			vsync-active = <1>;
 			de-active = <1>;
-			pixelclk-active = <1>;
+			pixelclk-active = <0>;
 		};
 	};
 
@@ -245,7 +243,7 @@
 		>;
 	};
 
-	panel_pwr_pins: pinmux_panel_pwr_pins {
+	lcd_enable_pin: pinmux_lcd_enable_pin {
 		pinctrl-single,pins = <
 			OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE4)       /* mcbsp4_fs.gpio_155 */
 		>;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux