dt-bindings: pwm: convert lpc32xx-pwm.txt to yaml format
Frank Li
maintainerPATCH v2 1/1 dt-bindings: pwm: convert lpc32xx-pwm.txt to yaml format
Convert pc32xx-pwm.txt to yaml format.
Additional changes:
- add ref to pwm.yaml
- add clocks
- restrict #pwm-cells to 3
---
change in v2
- allow clocks, there are not clocks for nxp,lpc3220-motor-pwm, so not put into required.
--- .../devicetree/bindings/pwm/lpc32xx-pwm.txt | 17 ------- .../bindings/pwm/nxp,lpc3220-pwm.yaml | 44 +++++++++++++++++++ 2 files changed, 44 insertions(+), 17 deletions(-) delete mode 100644 Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt create mode 100644 Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt deleted +0 -17
@@ -1,17 +0,0 @@ -LPC32XX PWM controller - -Required properties: -- compatible: should be "nxp,lpc3220-pwm" -- reg: physical base address and length of the controller's registers - -Examples: - -pwm@4005c000 { - compatible = "nxp,lpc3220-pwm"; - reg = <0x4005c000 0x4>; -}; - -pwm@4005c004 { - compatible = "nxp,lpc3220-pwm"; - reg = <0x4005c004 0x4>; -};
Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml new file +44 -0
44 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 12 lines · Frank Li
Convert pc32xx-pwm.txt to yaml format.
Additional changes:
- add ref topwm.yaml
- add clocks
- restrict #pwm-cells to 3Signed-off-by Frank Li <[email protected]>---
change in v2
- allow clocks, there are not clocks for nxp,lpc3220-motor-pwm, so not put into required.
Quoted 7 lines
--- .../devicetree/bindings/pwm/lpc32xx-pwm.txt | 17 ------- .../bindings/pwm/nxp,lpc3220-pwm.yaml | 44 +++++++++++++++++++ 2 files changed, 44 insertions(+), 17 deletions(-) delete mode 100644 Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt create mode 100644 Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
Quoted 8 lines · Frank Li
Convert pc32xx-pwm.txt to yaml format.
Additional changes:
- add ref topwm.yaml
- add clocks
- restrict #pwm-cells to 3Signed-off-by Frank Li <[email protected]>
Signature · 2 lines
Best wishes, Vladimir
Uwe Kleine-König
maintainerHello Frank,
Quoted 7 lines · Frank Li
Convert pc32xx-pwm.txt to yaml format.
Additional changes:
- add ref topwm.yaml
- add clocks
- restrict #pwm-cells to 3
Quoted 5 lines
Signed-off-by Frank Li <[email protected]>---
change in v2
- allow clocks, there are not clocks for nxp,lpc3220-motor-pwm, so not put into required.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next with the R-b tags for Rob and Vladimir.
Thanks
Uwe