Skip to contentSkip to conversation

arm: boot: dts: am437x-sk: fix for new newhaven display module revision

PATCH New Felipe Balbi 2 participants 3 messages Apr 9, 2015 – May 4, 2015 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm: boot: dts: am437x-sk: fix for new newhaven display module revision

AM437x Starter Kit uses a NewHaven Display module with a 4.3" display and EDT FT5306 touchscreen

On that module's new revision, NewHave decided to change the pinout on the 6 pin flat-pcb touchscreen connector so that instead of having WAKE pin, we now have RESETn.

The new display module is available on AM437x SK Beta and all new revisions while the older revision is only available on AM437x SK Alpha which, unfortunately, can't be supported anymore in mainline without a revert of this patch.

---
 arch/arm/boot/dts/am437x-sk-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am437x-sk-evm.dts +1 -1
index 832d24318f62..58dc1cd58bdd 100644
@@ -474,7 +474,7 @@
 		interrupt-parent = <&gpio0>;
 		interrupts = <31 0>;
 
-		wake-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
+		reset-gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
 
 		touchscreen-size-x = <480>;
 		touchscreen-size-y = <272>;
Signature · 1 line
2.3.0
#1 lore raw

PATCH 2/2 arm: boot: dts: am437x-sk: reduce col-scan-delay-us

The new AM437x SK Beta boards have removed the large capacitors on the gpio-matrix column lines which means we can reduce col-scan-delay-us to 5us without loosing functionality.

---
 arch/arm/boot/dts/am437x-sk-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am437x-sk-evm.dts +1 -1
index 58dc1cd58bdd..37ce7b1bf07f 100644
@@ -49,7 +49,7 @@
 		pinctrl-0 = <&matrix_keypad_pins>;
 
 		debounce-delay-ms = <5>;
-		col-scan-delay-us = <1500>;
+		col-scan-delay-us = <5>;
 
 		row-gpios = <&gpio5 5 GPIO_ACTIVE_HIGH		/* Bank5, pin5 */
 				&gpio5 6 GPIO_ACTIVE_HIGH>;	/* Bank5, pin6 */
Signature · 1 line
2.3.0
#2 lore raw

PATCH 1/2 arm: boot: dts: am437x-sk: fix for new newhaven display module revision

In reply to Felipe Balbi
Quoted 11 lines · Felipe Balbi

AM437x Starter Kit uses a NewHaven Display module with a 4.3" display and EDT FT5306 touchscreen

On that module's new revision, NewHave decided to change the pinout on the 6 pin flat-pcb touchscreen connector so that instead of having WAKE pin, we now have RESETn.

The new display module is available on AM437x SK Beta and all new revisions while the older revision is only available on AM437x SK Alpha which, unfortunately, can't be supported anymore in mainline without a revert of this patch.

Applying both into omap-for-v4.1/fixes thanks.

Tony