fixed-factor-clock.txt 733 B

12345678910111213141516171819202122232425262728
  1. Binding for simple fixed factor rate clock sources.
  2. This binding uses the common clock binding[1].
  3. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  4. Required properties:
  5. - compatible : shall be "fixed-factor-clock".
  6. - #clock-cells : from common clock binding; shall be set to 0.
  7. - clock-div: fixed divider.
  8. - clock-mult: fixed multiplier.
  9. - clocks: parent clock.
  10. Optional properties:
  11. - clock-output-names : From common clock binding.
  12. Some clocks that require special treatments are also handled by that
  13. driver, with the compatibles:
  14. - allwinner,sun4i-a10-pll3-2x-clk
  15. Example:
  16. clock {
  17. compatible = "fixed-factor-clock";
  18. clocks = <&parentclk>;
  19. #clock-cells = <0>;
  20. clock-div = <2>;
  21. clock-mult = <1>;
  22. };