dt-bindings: pwm: brcm,iproc-pwm: convert to the json-schema
Subsystems (3)
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.
Signed-off-by Rafał Miłecki <[email protected]>
--- .../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
@@ -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
Quoted 4 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
This helps validating DTS files.
Quoted 8 lines
Signed-off-by Rafał Miłecki <[email protected]>--- .../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!