From: Manish Baing Date: Sat, 23 May 2026 17:32:50 +0000 (+0000) Subject: dt-bindings: mfd: st,stmpe: Add missing properties for PWM subnode X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f167dc91aeed1928292e65a03d6472d3d01711fb;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: mfd: st,stmpe: Add missing properties for PWM subnode The st,stmpe-pwm binding is already covered by the MFD schema in Documentation/devicetree/bindings/mfd/st,stmpe.yaml. However, the PWM subnode was missing a 'required' properties block. This allowed Device Tree nodes to pass validation even if the 'compatible' string was omitted. This omission could lead to probe failures at runtime. Fix the schema by adding the missing 'required' block. Signed-off-by: Manish Baing Acked-by: Conor Dooley Acked-by: Uwe Kleine-König Reviewed-by: Linus Walleij Link: https://patch.msgid.link/20260523173251.72540-2-manishbaing2789@gmail.com Signed-off-by: Lee Jones --- diff --git a/Documentation/devicetree/bindings/mfd/st,stmpe.yaml b/Documentation/devicetree/bindings/mfd/st,stmpe.yaml index df43878fbe18f..4bb05d544901c 100644 --- a/Documentation/devicetree/bindings/mfd/st,stmpe.yaml +++ b/Documentation/devicetree/bindings/mfd/st,stmpe.yaml @@ -127,6 +127,10 @@ properties: "#pwm-cells": const: 2 + required: + - compatible + - "#pwm-cells" + touchscreen: type: object $ref: /schemas/input/touchscreen/touchscreen.yaml#