Skip to contentSkip to conversation

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

PATCH Superseded Nick Dyer 4 participants 7 messages Jun 20, 2018 – Jul 1, 2018

Subsystems (3)
lore
Share & tools
lore

Nick Dyer

author
#0 lore raw

PATCH v2 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.

[v2: Use hex, only alter IRQ line config]

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

PATCH v3 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.

The value 0x4 comes from the value of register IOMUXC_SW_PAD_CTL_PAD_CSI1_D8 from the old vendor kernel.

Fixes ceef0396f367 ("ARM: dts: imx: add ZII RDU1 board")
Cc <[email protected]> # 4.15+

---
Changes in v3:
- Update commit message to add source of 0x4 value, fixes tag and CC stable Changes in v2:
- Use hex, only alter IRQ line config

 arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -1
index df9eca94d812..8a878687197b 100644
@@ -770,7 +770,7 @@
 
 	pinctrl_ts: tsgrp {
 		fsl,pins = <
-			MX51_PAD_CSI1_D8__GPIO3_12		0x85
+			MX51_PAD_CSI1_D8__GPIO3_12		0x04
 			MX51_PAD_CSI1_D9__GPIO3_13		0x85
 		>;
 	};
Signature · 1 line
2.17.1
reviewer Reviewed-by on v3 1/1
#2 lore raw
Quoted 10 lines · Nick Dyer

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.

The value 0x4 comes from the value of register IOMUXC_SW_PAD_CTL_PAD_CSI1_D8 from the old vendor kernel.

Fixes ceef0396f367 ("ARM: dts: imx: add ZII RDU1 board")
Cc <[email protected]> # 4.15+
author
#3 lore raw

PATCH v4 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.

The value 0x4 comes from the value of register IOMUXC_SW_PAD_CTL_PAD_CSI1_D8 from the old vendor kernel.

Fixes ceef0396f367 ("ARM: dts: imx: add ZII RDU1 board")
Cc <[email protected]> # 4.15+

---
Changes in v4:
- Add reviewed by Fabio
Changes in v3:
- Update commit message to add source of 0x4 value, fixes tag and CC stable Changes in v2:
- Use hex, only alter IRQ line config

 arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -1
index df9eca94d812..8a878687197b 100644
@@ -770,7 +770,7 @@
 
 	pinctrl_ts: tsgrp {
 		fsl,pins = <
-			MX51_PAD_CSI1_D8__GPIO3_12		0x85
+			MX51_PAD_CSI1_D8__GPIO3_12		0x04
 			MX51_PAD_CSI1_D9__GPIO3_13		0x85
 		>;
 	};
Signature · 1 line
2.17.1
Tested-by on v4 1/1
#4 lore raw
Quoted 11 lines · Nick Dyer

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.

The value 0x4 comes from the value of register IOMUXC_SW_PAD_CTL_PAD_CSI1_D8 from the old vendor kernel.

Fixes ceef0396f367 ("ARM: dts: imx: add ZII RDU1 board")
Cc <[email protected]> # 4.15+
Quoted 7 lines

---
Changes in v4:
- Add reviewed by Fabio
Changes in v3:
- Update commit message to add source of 0x4 value, fixes tag and CC stable Changes in v2:
- Use hex, only alter IRQ line config

Tested on an RDU1 with Synaptics touchscreen successfully. No interrupt store any longer...

author
#5 lore raw

PATCH v5 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.

The value 0x4 comes from the value of register IOMUXC_SW_PAD_CTL_PAD_CSI1_D8 from the old vendor kernel.

Fixes ceef0396f367 ("ARM: dts: imx: add ZII RDU1 board")
Cc <[email protected]> # 4.15+

---
Changes in v5:
- Add tested by Chris Healy
Changes in v4:
- Add reviewed by Fabio
Changes in v3:
- Update commit message to add source of 0x4 value, fixes tag and CC stable Changes in v2:
- Use hex, only alter IRQ line config

 arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -1
index df9eca94d812..8a878687197b 100644
@@ -770,7 +770,7 @@
 
 	pinctrl_ts: tsgrp {
 		fsl,pins = <
-			MX51_PAD_CSI1_D8__GPIO3_12		0x85
+			MX51_PAD_CSI1_D8__GPIO3_12		0x04
 			MX51_PAD_CSI1_D9__GPIO3_13		0x85
 		>;
 	};
Signature · 1 line
2.17.1
Applied
#6 lore raw
Quoted 4 lines · Nick Dyer

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 8 lines

The value 0x4 comes from the value of register IOMUXC_SW_PAD_CTL_PAD_CSI1_D8 from the old vendor kernel.

Fixes ceef0396f367 ("ARM: dts: imx: add ZII RDU1 board")
Cc <[email protected]> # 4.15+

Applied, thanks.

Quoted 5 lines

---
Changes in v5:
- Add tested by Chris Healy
Changes in v4:
- Add reviewed by Fabio

You do not have to send new version just for collecting review and test tags. I will do that when applying.

Shawn

Quoted 24 lines

Changes in v3:
- Update commit message to add source of 0x4 value, fixes tag and CC stable Changes in v2:
- Use hex, only alter IRQ line config

 arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -1
index df9eca94d812..8a878687197b 100644
@@ -770,7 +770,7 @@
 
 	pinctrl_ts: tsgrp {
 		fsl,pins = <
-			MX51_PAD_CSI1_D8__GPIO3_12		0x85
+			MX51_PAD_CSI1_D8__GPIO3_12		0x04
 			MX51_PAD_CSI1_D9__GPIO3_13		0x85
 		>;
 	};
Signature · 1 line
2.17.1