autoidle.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Binding for Texas Instruments autoidle clock.
  2. Binding status: Unstable - ABI compatibility may be broken in the future
  3. This binding uses the common clock binding[1]. It assumes a register mapped
  4. clock which can be put to idle automatically by hardware based on the usage
  5. and a configuration bit setting. Autoidle clock is never an individual
  6. clock, it is always a derivative of some basic clock like a gate, divider,
  7. or fixed-factor.
  8. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  9. Required properties:
  10. - reg : offset for the register controlling the autoidle
  11. - ti,autoidle-shift : bit shift of the autoidle enable bit
  12. - ti,invert-autoidle-bit : autoidle is enabled by setting the bit to 0
  13. Examples:
  14. dpll_core_m4_ck: dpll_core_m4_ck {
  15. #clock-cells = <0>;
  16. compatible = "ti,divider-clock";
  17. clocks = <&dpll_core_x2_ck>;
  18. ti,max-div = <31>;
  19. ti,autoidle-shift = <8>;
  20. reg = <0x2d38>;
  21. ti,index-starts-at-one;
  22. ti,invert-autoidle-bit;
  23. };
  24. dpll_usb_clkdcoldo_ck: dpll_usb_clkdcoldo_ck {
  25. #clock-cells = <0>;
  26. compatible = "ti,fixed-factor-clock";
  27. clocks = <&dpll_usb_ck>;
  28. ti,clock-div = <1>;
  29. ti,autoidle-shift = <8>;
  30. reg = <0x01b4>;
  31. ti,clock-mult = <1>;
  32. ti,invert-autoidle-bit;
  33. };