Skip to contentSkip to conversation

dt-bindings: pwm: stmpe: convert to DT schema

PATCH In review Manish Baing 2 participants 2 messages May 1 – May 4

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

PATCH 1/1 dt-bindings: pwm: stmpe: convert to DT schema

Convert the STMicroelectronics STMPE PWM controller bindings from text format to YAML schema.

---
 .../devicetree/bindings/pwm/st,stmpe-pwm.txt  | 18 --------
 .../devicetree/bindings/pwm/st,stmpe-pwm.yaml | 41 +++++++++++++++++++
 2 files changed, 41 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/st,stmpe-pwm.yaml
Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt deleted +0 -18
deleted file mode 100644
index f401316e0248..000000000000
@@ -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>;
-};
Documentation/devicetree/bindings/pwm/st,stmpe-pwm.yaml new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
2.43.0
#1 lore raw
Quoted 6 lines · Manish Baing

Convert the STMicroelectronics STMPE PWM controller bindings from text format to YAML schema.

---
 .../devicetree/bindings/pwm/st,stmpe-pwm.txt  | 18 --------

It is already covered by st,stmpe.yaml, which you were supposed to find with git grep.

Instead, drop the TXT file.

Best regards,
Krzysztof