]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: stm32: stm32mp157c-phycore: Fix STMPE811 touchscreen node properties
authorJihed Chaibi <jihed.chaibi.dev@gmail.com>
Mon, 15 Sep 2025 22:46:11 +0000 (00:46 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 10 Nov 2025 08:40:46 +0000 (09:40 +0100)
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")
Signed-off-by: Jihed Chaibi <jihed.chaibi.dev@gmail.com>
Link: https://lore.kernel.org/r/20250915224611.169980-1-jihed.chaibi.dev@gmail.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp157c-phycore-stm32mp15-som.dtsi

index bf0c32027baf7654a406392b301e4fb4b580f3a5..370b2afbf15bf033574fb773da63e5711fb00678 100644 (file)
                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>;