Skip to contentSkip to conversation

ARM: dts: stm32: Swap PHY reset GPIO and TSC2004 IRQ

PATCH In review Marek Vasut 2 participants 2 messages Aug 22, 2020 – Aug 28, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: stm32: Swap PHY reset GPIO and TSC2004 IRQ

On the production revision of the SoM, 587-200, the PHY reset GPIO and touchscreen IRQs are swapped to prevent collision between EXTi IRQs, reflect that in DT.

Fixes 34e0c7847dcf ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
Cc Alexandre Torgue <[email protected]>
Cc Maxime Coquelin <[email protected]>
Cc Patrice Chotard <[email protected]>
Cc Patrick Delaunay <[email protected]>

To: [email protected]

---
 arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 2 +-
 arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +1 -1
index 075e2a95713f..e31841d71e8b 100644
@@ -150,7 +150,7 @@ &ethernet0 {
 	max-speed = <100>;
 	phy-handle = <&phy0>;
 	st,eth-ref-clk-sel;
-	phy-reset-gpios = <&gpioh 15 GPIO_ACTIVE_LOW>;
+	phy-reset-gpios = <&gpioh 3 GPIO_ACTIVE_LOW>;
 
 	mdio0 {
 		#address-cells = <1>;
arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi +1 -1
index ba905196fb54..43f5e8498d7b 100644
@@ -249,7 +249,7 @@ touchscreen@49 {
 		compatible = "ti,tsc2004";
 		reg = <0x49>;
 		vio-supply = <&v3v3>;
-		interrupts-extended = <&gpioh 3 IRQ_TYPE_EDGE_FALLING>;
+		interrupts-extended = <&gpioh 15 IRQ_TYPE_EDGE_FALLING>;
 	};
 
 	eeprom@50 {
Signature · 7 lines
2.28.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

Hi Marek

Quoted 6 lines · Marek Vasut

On the production revision of the SoM, 587-200, the PHY reset GPIO and touchscreen IRQs are swapped to prevent collision between EXTi IRQs, reflect that in DT.

Fixes 34e0c7847dcf ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")

Applied on stm32-next. I updated a bit this patch as now the ethernet0 node is located in stm32mp15xx-dhcom-som.dtsi.

Thanks.
Alex

Quoted 30 lines

Cc: Alexandre Torgue <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
To: [email protected]

---
  arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 2 +-
  arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi  | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +1 -1
index 075e2a95713f..e31841d71e8b 100644
@@ -150,7 +150,7 @@ &ethernet0 {
  	max-speed = <100>;
  	phy-handle = <&phy0>;
  	st,eth-ref-clk-sel;
-	phy-reset-gpios = <&gpioh 15 GPIO_ACTIVE_LOW>;
+	phy-reset-gpios = <&gpioh 3 GPIO_ACTIVE_LOW>;
 
  	mdio0 {
  		#address-cells = <1>;
arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi +0 -0
index ba905196fb54..43f5e8498d7b 100644

arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi touchscreen@49 { · line 255

Quoted 8 lines
arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi +1 -1
@@ -249,7 +249,7 @@ touchscreen@49 {
  		compatible = "ti,tsc2004";
  		reg = <0x49>;
  		vio-supply = <&v3v3>;
-		interrupts-extended = <&gpioh 3 IRQ_TYPE_EDGE_FALLING>;
+		interrupts-extended = <&gpioh 15 IRQ_TYPE_EDGE_FALLING>;
  	};
 
  	eeprom@50 {

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel