Skip to contentSkip to conversation

ARM: dts: stm32: stm32mp157c-phycore: Fix STMPE811 touchscreen node properties

PATCH In review Jihed Chaibi 2 participants 2 messages Sep 15, 2025 – Nov 10, 2025

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

PATCH 1/1 ARM: dts: stm32: stm32mp157c-phycore: Fix STMPE811 touchscreen node properties

Move st,adc-freq, st,mod-12b, st,ref-sel, and st,sample-time properties from the touchscreen subnode to the parent touch@44 node. These properties are defined in the st,stmpe.yaml schema for the parent node, not the touchscreen subnode, resolving the validation error about unevaluated properties.

Fixes 27538a18a4fcc ("ARM: dts: stm32: add STM32MP1-based Phytec SoM")
---
 .../boot/dts/st/stm32mp157c-phycore-stm32mp15-som.dtsi    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp15-som.dtsi +4 -4
index bf0c32027ba..370b2afbf15 100644
@@ -185,13 +185,13 @@ touch@44 {
 		interrupt-parent = <&gpioi>;
 		vio-supply = <&v3v3>;
 		vcc-supply = <&v3v3>;
+		st,sample-time = <4>;
+		st,mod-12b = <1>;
+		st,ref-sel = <0>;
+		st,adc-freq = <1>;
 
 		touchscreen {
 			compatible = "st,stmpe-ts";
-			st,sample-time = <4>;
-			st,mod-12b = <1>;
-			st,ref-sel = <0>;
-			st,adc-freq = <1>;
 			st,ave-ctrl = <1>;
 			st,touch-det-delay = <2>;
 			st,settling = <2>;
Signature · 1 line
2.39.5
maintainer
#1 lore raw

Hi Jihed

Quoted 24 lines · Jihed Chaibi

Move st,adc-freq, st,mod-12b, st,ref-sel, and st,sample-time properties from the touchscreen subnode to the parent touch@44 node. These properties are defined in the st,stmpe.yaml schema for the parent node, not the touchscreen subnode, resolving the validation error about unevaluated properties.

Fixes 27538a18a4fcc ("ARM: dts: stm32: add STM32MP1-based Phytec SoM")
---
  .../boot/dts/st/stm32mp157c-phycore-stm32mp15-som.dtsi    | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp15-som.dtsi +4 -0
index bf0c32027ba..370b2afbf15 100644
@@ -185,13 +185,13 @@ touch@44 {
  		interrupt-parent = <&gpioi>;
  		vio-supply = <&v3v3>;
  		vcc-supply = <&v3v3>;
+		st,sample-time = <4>;
+		st,mod-12b = <1>;
+		st,ref-sel = <0>;
+		st,adc-freq = <1>;

arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp15-som.dtsi touch@44 { · line 197

Quoted 10 lines
arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp15-som.dtsi +0 -4
 
  		touchscreen {
  			compatible = "st,stmpe-ts";
-			st,sample-time = <4>;
-			st,mod-12b = <1>;
-			st,ref-sel = <0>;
-			st,adc-freq = <1>;
  			st,ave-ctrl = <1>;
  			st,touch-det-delay = <2>;
  			st,settling = <2>;

Applied on stm32-next.

Thanks
Alex