gpio-gate-clock.txt 570 B

123456789101112131415161718192021
  1. Binding for simple gpio gated clock.
  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 "gpio-gate-clock".
  6. - #clock-cells : from common clock binding; shall be set to 0.
  7. - enable-gpios : GPIO reference for enabling and disabling the clock.
  8. Optional properties:
  9. - clocks: Maximum of one parent clock is supported.
  10. Example:
  11. clock {
  12. compatible = "gpio-gate-clock";
  13. clocks = <&parentclk>;
  14. #clock-cells = <0>;
  15. enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
  16. };