dt-bindings: clock: Convert fixed-factor-clock to json-schema
Subsystems (2)
Rob Herring
maintainerPATCH 1/1 dt-bindings: clock: Convert fixed-factor-clock to json-schema
Convert the fixed-factor-clock binding to DT schema format using json-schema.
Cc Michael Turquette <[email protected]>
Cc Stephen Boyd <[email protected]>
Signed-off-by Rob Herring <[email protected]>
--- .../bindings/clock/fixed-factor-clock.txt | 28 ---------- .../bindings/clock/fixed-factor-clock.yaml | 56 +++++++++++++++++++ 2 files changed, 56 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/fixed-factor-clock.txt create mode 100644 Documentation/devicetree/bindings/clock/fixed-factor-clock.yaml
Documentation/devicetree/bindings/clock/fixed-factor-clock.txt deleted +0 -28
@@ -1,28 +0,0 @@ -Binding for simple fixed factor rate clock sources. - -This binding uses the common clock binding[1]. - -[1] Documentation/devicetree/bindings/clock/clock-bindings.txt - -Required properties: -- compatible : shall be "fixed-factor-clock". -- #clock-cells : from common clock binding; shall be set to 0. -- clock-div: fixed divider. -- clock-mult: fixed multiplier. -- clocks: parent clock. - -Optional properties: -- clock-output-names : From common clock binding. - -Some clocks that require special treatments are also handled by that -driver, with the compatibles: - - allwinner,sun4i-a10-pll3-2x-clk - -Example: - clock { - compatible = "fixed-factor-clock"; - clocks = <&parentclk>; - #clock-cells = <0>; - clock-div = <2>; - clock-mult = <1>; - };
Documentation/devicetree/bindings/clock/fixed-factor-clock.yaml new file +56 -0
56 lines not on this page · raw message
Signature · 1 line
2.19.1
Quoting Rob Herring (2019-01-10 14:19:02)
Quoted 8 lines
Convert the fixed-factor-clock binding to DT schema format using json-schema.
Cc Michael Turquette <[email protected]>Cc Stephen Boyd <[email protected]>Signed-off-by Rob Herring <[email protected]>---
Applied to clk-next