mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
79b16641ef
Add support for DT "fixed-factor-clock" binding to the common fixed factor clock support. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Tested-by: Christian Ruppert <christian.ruppert@abilis.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
25 lines
585 B
Plaintext
25 lines
585 B
Plaintext
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.
|
|
|
|
Example:
|
|
clock {
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&parentclk>;
|
|
#clock-cells = <0>;
|
|
div = <2>;
|
|
mult = <1>;
|
|
};
|