Skip to contentSkip to conversation

ARM: dts: imx51-zii-rdu1: fix touchscreen pinctrl

PATCH Superseded Nick Dyer 2 participants 2 messages Jun 19, 2018 – Jun 20, 2018

Subsystems (2)

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Nick Dyer

author
#0 lore raw

PATCH 1/1 ARM: dts: imx51-zii-rdu1: fix touchscreen pinctrl

The pinctrl settings were incorrect for the touchscreen interrupt line, causing an interrupt storm. This change has been tested with both the atmel_mxt_ts and RMI4 drivers on the RDU1 units.

---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +2 -2
index df9eca94d812..4d12ba54ba15 100644
@@ -770,8 +770,8 @@
 
 	pinctrl_ts: tsgrp {
 		fsl,pins = <
-			MX51_PAD_CSI1_D8__GPIO3_12		0x85
-			MX51_PAD_CSI1_D9__GPIO3_13		0x85
+			MX51_PAD_CSI1_D8__GPIO3_12		4
+			MX51_PAD_CSI1_D9__GPIO3_13		(1<<16)
 		>;
 	};
 
Signature · 1 line
2.17.1
#1 lore raw

Hi Nick,

Am Dienstag, den 19.06.2018, 23:07 +0100 schrieb Nick Dyer:

Quoted 20 lines

The pinctrl settings were incorrect for the touchscreen interrupt line, causing an interrupt storm. This change has been tested with both the atmel_mxt_ts and RMI4 drivers on the RDU1 units.

Quoted 1 line

---
?arch/arm/boot/dts/imx51-zii-rdu1.dts | 4 ++--
?1 file changed, 2 insertions(+), 2 deletions(-)

arch/arm/boot/dts/imx51-zii-rdu1.dts +0 -0
index df9eca94d812..4d12ba54ba15 100644
@@ -770,8 +770,8 @@

?

Quoted 5 lines

? pinctrl_ts: tsgrp {
? fsl,pins = <

Quoted 3 lines
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -2
-			MX51_PAD_CSI1_D8__GPIO3_12		0x85
-			MX51_PAD_CSI1_D9__GPIO3_13		0x85
+			MX51_PAD_CSI1_D8__GPIO3_12		4

arch/arm/boot/dts/imx51-zii-rdu1.dts line 774

Quoted 1 line
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -0
+			MX51_PAD_CSI1_D9__GPIO3_13		(1<<16)

Please don't move away from using hex notation for the padctrl settings.

Thanks,
Lucas