Skip to contentSkip to conversation

dt-bindings: pwm: brcm,iproc-pwm: convert to the json-schema

PATCH Applied Rafał Miłecki 2 participants 2 messages May 12, 2021 – May 18, 2021

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

PATCH 1/1 dt-bindings: pwm: brcm,iproc-pwm: convert to the json-schema

From: Rafał Miłecki <[email protected]>

This helps validating DTS files.

---
 .../bindings/pwm/brcm,iproc-pwm.txt           | 21 ---------
 .../bindings/pwm/brcm,iproc-pwm.yaml          | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml
Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt deleted +0 -21
deleted file mode 100644
index 655f6cd4ef46..000000000000
@@ -1,21 +0,0 @@
-Broadcom iProc PWM controller device tree bindings
-
-This controller has 4 channels.
-
-Required Properties :
-- compatible: must be "brcm,iproc-pwm"
-- reg: physical base address and length of the controller's registers
-- clocks: phandle + clock specifier pair for the external clock
-- #pwm-cells: Should be 3. See pwm.yaml in this directory for a
-  description of the cells format.
-
-Refer to clocks/clock-bindings.txt for generic clock consumer properties.
-
-Example:
-
-pwm: pwm@18031000 {
-	compatible = "brcm,iproc-pwm";
-	reg = <0x18031000 0x28>;
-	clocks = <&osc>;
-	#pwm-cells = <3>;
-};
Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml new file +45 -0

45 lines not on this page · raw message

Signature · 7 lines
2.26.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Applied
#1 lore raw
Quoted 4 lines · Rafał Miłecki

From: Rafał Miłecki <[email protected]>

This helps validating DTS files.

Quoted 8 lines
---
 .../bindings/pwm/brcm,iproc-pwm.txt           | 21 ---------
 .../bindings/pwm/brcm,iproc-pwm.yaml          | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml

Applied, thanks!