Skip to contentSkip to conversation

dt-bindings: clock: Convert fixed-factor-clock to json-schema

PATCH Applied Rob Herring 2 participants 2 messages Jan 10, 2019 – Jan 24, 2019

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 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]>
---
 .../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
deleted file mode 100644
index 189467a7188a..000000000000
@@ -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