Back to home page

OSCL-LXR

 
 

    


0001 Binding for simple gpio gated clock.
0002 
0003 This binding uses the common clock binding[1].
0004 
0005 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
0006 
0007 Required properties:
0008 - compatible : shall be "gpio-gate-clock".
0009 - #clock-cells : from common clock binding; shall be set to 0.
0010 - enable-gpios : GPIO reference for enabling and disabling the clock.
0011 
0012 Optional properties:
0013 - clocks: Maximum of one parent clock is supported.
0014 
0015 Example:
0016         clock {
0017                 compatible = "gpio-gate-clock";
0018                 clocks = <&parentclk>;
0019                 #clock-cells = <0>;
0020                 enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
0021         };