* [PATCH 1/5] ARM: dts: AM33XX: Add lcdc node
2013-01-07 5:17 [PATCH 0/5] ARM: dts: AM33XX: lcdc support Afzal Mohammed
@ 2013-01-07 5:18 ` Afzal Mohammed
2013-01-07 5:18 ` [PATCH 2/5] ARM: dts: AM33XX: Add am335x-evm lcdc panel timings Afzal Mohammed
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Afzal Mohammed @ 2013-01-07 5:18 UTC (permalink / raw)
To: Benoit Cousson, Tony Lindgren, Russell King, Grant Likely,
Rob Herring, Steffen Trumtrar, Sekhar Nori, Vaibhav Hiremath,
linux-omap, linux-fbdev, linux-kernel, devicetree-discuss,
linux-arm-kernel
Add lcdc node.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
---
arch/arm/boot/dts/am33xx.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index c2f14e8..432d4bb8 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -385,5 +385,13 @@
mac-address = [ 00 00 00 00 00 00 ];
};
};
+
+ lcdc: lcdc@4830e000 {
+ compatible = "ti,am3352-lcdc", "ti,da830-lcdc";
+ reg = <0x4830e000 0x1000>;
+ interrupts = <36>;
+ status = "disabled";
+ ti,hwmods = "lcdc";
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 2/5] ARM: dts: AM33XX: Add am335x-evm lcdc panel timings
2013-01-07 5:17 [PATCH 0/5] ARM: dts: AM33XX: lcdc support Afzal Mohammed
2013-01-07 5:18 ` [PATCH 1/5] ARM: dts: AM33XX: Add lcdc node Afzal Mohammed
@ 2013-01-07 5:18 ` Afzal Mohammed
2013-01-07 5:18 ` [PATCH 3/5] ARM: dts: AM33XX: Add am335x-evm lcdc pincontrol info Afzal Mohammed
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Afzal Mohammed @ 2013-01-07 5:18 UTC (permalink / raw)
To: Benoit Cousson, Tony Lindgren, Russell King, Grant Likely,
Rob Herring, Steffen Trumtrar, Sekhar Nori, Vaibhav Hiremath,
linux-omap, linux-fbdev, linux-kernel, devicetree-discuss,
linux-arm-kernel
Update lcdc node with panel timings (typical) for AM335X-EVM.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
---
arch/arm/boot/dts/am335x-evm.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index d649644..a4229aa 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -244,3 +244,23 @@
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <1>;
};
+
+&lcdc {
+ status = "okay";
+
+ display-timings {
+ 800x480p62 {
+ clock-frequency = <30000000>;
+ hactive = <800>;
+ vactive = <480>;
+ hfront-porch = <39>;
+ hback-porch = <39>;
+ hsync-len = <47>;
+ vback-porch = <29>;
+ vfront-porch = <13>;
+ vsync-len = <2>;
+ hsync-active = <1>;
+ vsync-active = <1>;
+ };
+ };
+};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 3/5] ARM: dts: AM33XX: Add am335x-evm lcdc pincontrol info
2013-01-07 5:17 [PATCH 0/5] ARM: dts: AM33XX: lcdc support Afzal Mohammed
2013-01-07 5:18 ` [PATCH 1/5] ARM: dts: AM33XX: Add lcdc node Afzal Mohammed
2013-01-07 5:18 ` [PATCH 2/5] ARM: dts: AM33XX: Add am335x-evm lcdc panel timings Afzal Mohammed
@ 2013-01-07 5:18 ` Afzal Mohammed
2013-01-07 5:18 ` [PATCH 4/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc panel timings Afzal Mohammed
2013-01-07 5:18 ` [PATCH 5/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc pincontrol info Afzal Mohammed
4 siblings, 0 replies; 6+ messages in thread
From: Afzal Mohammed @ 2013-01-07 5:18 UTC (permalink / raw)
To: Benoit Cousson, Tony Lindgren, Russell King, Grant Likely,
Rob Herring, Steffen Trumtrar, Sekhar Nori, Vaibhav Hiremath,
linux-omap, linux-fbdev, linux-kernel, devicetree-discuss,
linux-arm-kernel
Update pin mux information for lcd panel on AM335X-EVM
Signed-off-by: Afzal Mohammed <afzal@ti.com>
---
arch/arm/boot/dts/am335x-evm.dts | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index a4229aa..25ebfc2 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -26,7 +26,7 @@
am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default";
- pinctrl-0 = <&matrix_keypad_s0 &volume_keys_s0>;
+ pinctrl-0 = <&matrix_keypad_s0 &volume_keys_s0 &lcd_pins_s0>;
matrix_keypad_s0: matrix_keypad_s0 {
pinctrl-single,pins = <
@@ -44,6 +44,39 @@
0x154 0x27 /* spi0_d0.gpio0_3, INPUT | MODE7 */
>;
};
+
+ lcd_pins_s0: lcd_pins_s0 {
+ pinctrl-single,pins = <
+ 0x20 0x01
+ 0x24 0x01
+ 0x28 0x01
+ 0x2c 0x01
+ 0x30 0x01
+ 0x34 0x01
+ 0x38 0x01
+ 0x3c 0x01
+ 0xa0 0x08
+ 0xa4 0x08
+ 0xa8 0x08
+ 0xac 0x08
+ 0xb0 0x08
+ 0xb4 0x08
+ 0xb8 0x08
+ 0xbc 0x08
+ 0xc0 0x08
+ 0xc4 0x08
+ 0xc8 0x08
+ 0xcc 0x08
+ 0xd0 0x08
+ 0xd4 0x08
+ 0xd8 0x08
+ 0xdc 0x08
+ 0xe0 0x00
+ 0xe4 0x00
+ 0xe8 0x00
+ 0xec 0x00
+ >;
+ };
};
ocp {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 4/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc panel timings
2013-01-07 5:17 [PATCH 0/5] ARM: dts: AM33XX: lcdc support Afzal Mohammed
` (2 preceding siblings ...)
2013-01-07 5:18 ` [PATCH 3/5] ARM: dts: AM33XX: Add am335x-evm lcdc pincontrol info Afzal Mohammed
@ 2013-01-07 5:18 ` Afzal Mohammed
2013-01-07 5:18 ` [PATCH 5/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc pincontrol info Afzal Mohammed
4 siblings, 0 replies; 6+ messages in thread
From: Afzal Mohammed @ 2013-01-07 5:18 UTC (permalink / raw)
To: Benoit Cousson, Tony Lindgren, Russell King, Grant Likely,
Rob Herring, Steffen Trumtrar, Sekhar Nori, Vaibhav Hiremath,
linux-omap, linux-fbdev, linux-kernel, devicetree-discuss,
linux-arm-kernel
Update lcdc node with panel timings (typical) for AM335X-EVMSK.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
---
arch/arm/boot/dts/am335x-evmsk.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index f5a6162..a7e017b 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -248,3 +248,23 @@
};
};
};
+
+&lcdc {
+ status = "okay";
+
+ display-timings {
+ 480x272p57 {
+ clock-frequency = <9000000>;
+ hactive = <480>;
+ vactive = <272>;
+ hfront-porch = <8>;
+ hback-porch = <43>;
+ hsync-len = <4>;
+ vback-porch = <12>;
+ vfront-porch = <4>;
+ vsync-len = <10>;
+ hsync-active = <1>;
+ vsync-active = <1>;
+ };
+ };
+};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 5/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc pincontrol info
2013-01-07 5:17 [PATCH 0/5] ARM: dts: AM33XX: lcdc support Afzal Mohammed
` (3 preceding siblings ...)
2013-01-07 5:18 ` [PATCH 4/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc panel timings Afzal Mohammed
@ 2013-01-07 5:18 ` Afzal Mohammed
4 siblings, 0 replies; 6+ messages in thread
From: Afzal Mohammed @ 2013-01-07 5:18 UTC (permalink / raw)
To: Benoit Cousson, Tony Lindgren, Russell King, Grant Likely,
Rob Herring, Steffen Trumtrar, Sekhar Nori, Vaibhav Hiremath,
linux-omap, linux-fbdev, linux-kernel, devicetree-discuss,
linux-arm-kernel
Update pin mux information for lcd panel on AM335X-EVMSK.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
---
arch/arm/boot/dts/am335x-evmsk.dts | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index a7e017b..6275a50 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -32,7 +32,7 @@
am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default";
- pinctrl-0 = <&user_leds_s0 &gpio_keys_s0>;
+ pinctrl-0 = <&user_leds_s0 &gpio_keys_s0 &lcd_pins_s0>;
user_leds_s0: user_leds_s0 {
pinctrl-single,pins = <
@@ -51,6 +51,39 @@
0x9c 0x27 /* gpmc_ben0_cle.gpio2_5, INPUT | MODE7 */
>;
};
+
+ lcd_pins_s0: lcd_pins_s0 {
+ pinctrl-single,pins = <
+ 0x20 0x01
+ 0x24 0x01
+ 0x28 0x01
+ 0x2c 0x01
+ 0x30 0x01
+ 0x34 0x01
+ 0x38 0x01
+ 0x3c 0x01
+ 0xa0 0x08
+ 0xa4 0x08
+ 0xa8 0x08
+ 0xac 0x08
+ 0xb0 0x08
+ 0xb4 0x08
+ 0xb8 0x08
+ 0xbc 0x08
+ 0xc0 0x08
+ 0xc4 0x08
+ 0xc8 0x08
+ 0xcc 0x08
+ 0xd0 0x08
+ 0xd4 0x08
+ 0xd8 0x08
+ 0xdc 0x08
+ 0xe0 0x00
+ 0xe4 0x00
+ 0xe8 0x00
+ 0xec 0x00
+ >;
+ };
};
ocp {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread