interface.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Binding for Texas Instruments interface clock.
  2. Binding status: Unstable - ABI compatibility may be broken in the future
  3. This binding uses the common clock binding[1]. This clock is
  4. quite much similar to the basic gate-clock [2], however,
  5. it supports a number of additional features, including
  6. companion clock finding (match corresponding functional gate
  7. clock) and hardware autoidle enable / disable.
  8. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  9. [2] Documentation/devicetree/bindings/clock/gate-clock.txt
  10. Required properties:
  11. - compatible : shall be one of:
  12. "ti,omap3-interface-clock" - basic OMAP3 interface clock
  13. "ti,omap3-no-wait-interface-clock" - interface clock which has no hardware
  14. capability for waiting clock to be ready
  15. "ti,omap3-hsotgusb-interface-clock" - interface clock with USB specific HW
  16. handling
  17. "ti,omap3-dss-interface-clock" - interface clock with DSS specific HW handling
  18. "ti,omap3-ssi-interface-clock" - interface clock with SSI specific HW handling
  19. "ti,am35xx-interface-clock" - interface clock with AM35xx specific HW handling
  20. "ti,omap2430-interface-clock" - interface clock with OMAP2430 specific HW
  21. handling
  22. - #clock-cells : from common clock binding; shall be set to 0
  23. - clocks : link to phandle of parent clock
  24. - reg : base address for the control register
  25. Optional properties:
  26. - ti,bit-shift : bit shift for the bit enabling/disabling the clock (default 0)
  27. Examples:
  28. aes1_ick: aes1_ick@48004a14 {
  29. #clock-cells = <0>;
  30. compatible = "ti,omap3-interface-clock";
  31. clocks = <&security_l4_ick2>;
  32. reg = <0x48004a14 0x4>;
  33. ti,bit-shift = <3>;
  34. };
  35. cam_ick: cam_ick@48004f10 {
  36. #clock-cells = <0>;
  37. compatible = "ti,omap3-no-wait-interface-clock";
  38. clocks = <&l4_ick>;
  39. reg = <0x48004f10 0x4>;
  40. ti,bit-shift = <0>;
  41. };
  42. ssi_ick_3430es2: ssi_ick_3430es2@48004a10 {
  43. #clock-cells = <0>;
  44. compatible = "ti,omap3-ssi-interface-clock";
  45. clocks = <&ssi_l4_ick>;
  46. reg = <0x48004a10 0x4>;
  47. ti,bit-shift = <0>;
  48. };