Skip to contentSkip to conversation

ARM: dts: stm32: Disable optional TSC2004 on DRC02 board

PATCH In review Marek Vasut 2 participants 2 messages Jan 7, 2021 – Jan 14, 2021

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

PATCH 1/1 ARM: dts: stm32: Disable optional TSC2004 on DRC02 board

The DRC02 has no use for the on-SoM touchscreen controller, and the on-SoM touchscreen controller may not even be populated, which then results in error messages in kernel log. Disable the touchscreen controller in DT.

Fixes fde180f06d7b ("ARM: dts: stm32: Add DHSOM based DRC02 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-drc02.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi +6 -0
index 8d1fea332665..5088dd3a301b 100644
@@ -87,6 +87,12 @@ eeprom@50 {
 	};
 };
 
+&i2c4 {
+	touchscreen@49 {
+		status = "disabled";
+	};
+};
+
 &i2c5 {	/* TP7/TP8 */
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c5_pins_a>;
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer
#1 lore raw
Quoted 25 lines · Marek Vasut

The DRC02 has no use for the on-SoM touchscreen controller, and the on-SoM touchscreen controller may not even be populated, which then results in error messages in kernel log. Disable the touchscreen controller in DT.

Fixes fde180f06d7b ("ARM: dts: stm32: Add DHSOM based DRC02 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-drc02.dtsi | 6 ++++++
  1 file changed, 6 insertions(+)
arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi +0 -0
index 8d1fea332665..5088dd3a301b 100644
@@ -87,6 +87,12 @@ eeprom@50 {
  	};
  };

arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi eeprom@50 { · line 98

Quoted 10 lines
arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi +6 -0
 
+&i2c4 {
+	touchscreen@49 {
+		status = "disabled";
+	};
+};
+
  &i2c5 {	/* TP7/TP8 */
  	pinctrl-names = "default";
  	pinctrl-0 = <&i2c5_pins_a>;

Applied on stm32-fixes.

Thanks.
Alex

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