* [PATCH v4 0/2] dt-bindings: mfd/pwm: Split st,stmpe cleanup into separate patches
@ 2026-05-23 17:32 Manish Baing
2026-05-23 17:32 ` [PATCH v4 1/2] dt-bindings: mfd: st,stmpe: Add missing properties for PWM subnode Manish Baing
2026-05-23 17:32 ` [PATCH v4 2/2] dt-bindings: pwm: stmpe: drop legacy binding Manish Baing
0 siblings, 2 replies; 4+ messages in thread
From: Manish Baing @ 2026-05-23 17:32 UTC (permalink / raw)
To: lee, ukleinek, robh, krzk+dt, conor+dt, mcoquelin.stm32,
alexandre.torgue, linusw
Cc: linux-pwm, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, manishbaing2789
Hello,
This series splits the previous single patch into two distinct changes
to avoid cross-subsystem merge coordination, as requested by Uwe.
The first patch addresses a validation gap in the MFD YAML schema,
and the second patch drops the redundant legacy PWM text binding.
Changes in v4:
- Split single patch into a 2-patch series based on feedback from Uwe
Kleine-König to prevent cross-subsystem merge conflicts.
Changes in v3:
- Added 'required' properties to the pwm subnode in st,stmpe.yaml
to close a validation gap identified by the Sashiko.
- Updated commit message and description to reflect MFD subsystem changes
Changes in v2:
- Drop the TXT file instead of converting to YAML, as the
functionality is already covered by st,stmpe.yaml.
- Update the commit subject and description to reflect the drop.
Manish Baing (2):
dt-bindings: mfd: st,stmpe: Add missing properties for PWM subnode
dt-bindings: pwm: stmpe: drop legacy binding
.../devicetree/bindings/mfd/st,stmpe.yaml | 4 ++++
.../devicetree/bindings/pwm/st,stmpe-pwm.txt | 18 ------------------
2 files changed, 4 insertions(+), 18 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v4 1/2] dt-bindings: mfd: st,stmpe: Add missing properties for PWM subnode
2026-05-23 17:32 [PATCH v4 0/2] dt-bindings: mfd/pwm: Split st,stmpe cleanup into separate patches Manish Baing
@ 2026-05-23 17:32 ` Manish Baing
2026-05-23 17:32 ` [PATCH v4 2/2] dt-bindings: pwm: stmpe: drop legacy binding Manish Baing
1 sibling, 0 replies; 4+ messages in thread
From: Manish Baing @ 2026-05-23 17:32 UTC (permalink / raw)
To: lee, ukleinek, robh, krzk+dt, conor+dt, mcoquelin.stm32,
alexandre.torgue, linusw
Cc: linux-pwm, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, manishbaing2789, Conor Dooley
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 <manishbaing2789@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Uwe Kleine-König <ukleinek@kernel.org>
---
Documentation/devicetree/bindings/mfd/st,stmpe.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/st,stmpe.yaml b/Documentation/devicetree/bindings/mfd/st,stmpe.yaml
index df43878fbe18..4bb05d544901 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#
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v4 2/2] dt-bindings: pwm: stmpe: drop legacy binding
2026-05-23 17:32 [PATCH v4 0/2] dt-bindings: mfd/pwm: Split st,stmpe cleanup into separate patches Manish Baing
2026-05-23 17:32 ` [PATCH v4 1/2] dt-bindings: mfd: st,stmpe: Add missing properties for PWM subnode Manish Baing
@ 2026-05-23 17:32 ` Manish Baing
2026-05-24 11:21 ` Uwe Kleine-König
1 sibling, 1 reply; 4+ messages in thread
From: Manish Baing @ 2026-05-23 17:32 UTC (permalink / raw)
To: lee, ukleinek, robh, krzk+dt, conor+dt, mcoquelin.stm32,
alexandre.torgue, linusw
Cc: linux-pwm, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, manishbaing2789, Conor Dooley
The st,stmpe-pwm binding is already covered by the MFD schema
Documentation/devicetree/bindings/mfd/st,stmpe.yaml. Remove the
obsolete and redundant text binding file.
Signed-off-by: Manish Baing <manishbaing2789@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Uwe Kleine-König <ukleinek@kernel.org>
---
.../devicetree/bindings/pwm/st,stmpe-pwm.txt | 18 ------------------
1 file changed, 18 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
diff --git a/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt b/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
deleted file mode 100644
index f401316e0248..000000000000
--- a/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-== ST STMPE PWM controller ==
-
-This is a PWM block embedded in the ST Microelectronics STMPE
-(ST Multi-Purpose Expander) chips. The PWM is registered as a
-subdevices of the STMPE MFD device.
-
-Required properties:
-- compatible: should be:
- - "st,stmpe-pwm"
-- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of
- the cells format.
-
-Example:
-
-pwm0: pwm {
- compatible = "st,stmpe-pwm";
- #pwm-cells = <2>;
-};
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v4 2/2] dt-bindings: pwm: stmpe: drop legacy binding
2026-05-23 17:32 ` [PATCH v4 2/2] dt-bindings: pwm: stmpe: drop legacy binding Manish Baing
@ 2026-05-24 11:21 ` Uwe Kleine-König
0 siblings, 0 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2026-05-24 11:21 UTC (permalink / raw)
To: Manish Baing
Cc: lee, robh, krzk+dt, conor+dt, mcoquelin.stm32, alexandre.torgue,
linusw, linux-pwm, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, Conor Dooley
[-- Attachment #1: Type: text/plain, Size: 554 bytes --]
On Sat, May 23, 2026 at 05:32:51PM +0000, Manish Baing wrote:
> The st,stmpe-pwm binding is already covered by the MFD schema
> Documentation/devicetree/bindings/mfd/st,stmpe.yaml. Remove the
> obsolete and redundant text binding file.
>
> Signed-off-by: Manish Baing <manishbaing2789@gmail.com>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> Reviewed-by: Uwe Kleine-König <ukleinek@kernel.org>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
with Rob's ack from v2.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-05-24 11:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-23 17:32 [PATCH v4 0/2] dt-bindings: mfd/pwm: Split st,stmpe cleanup into separate patches Manish Baing
2026-05-23 17:32 ` [PATCH v4 1/2] dt-bindings: mfd: st,stmpe: Add missing properties for PWM subnode Manish Baing
2026-05-23 17:32 ` [PATCH v4 2/2] dt-bindings: pwm: stmpe: drop legacy binding Manish Baing
2026-05-24 11:21 ` Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox