Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / clock / gpio-gate-clock.txt
1 Binding for simple gpio gated clock.
2
3 This binding uses the common clock binding[1].
4
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
6
7 Required properties:
8 - compatible : shall be "gpio-gate-clock".
9 - #clock-cells : from common clock binding; shall be set to 0.
10 - enable-gpios : GPIO reference for enabling and disabling the clock.
11
12 Optional properties:
13 - clocks: Maximum of one parent clock is supported.
14
15 Example:
16         clock {
17                 compatible = "gpio-gate-clock";
18                 clocks = <&parentclk>;
19                 #clock-cells = <0>;
20                 enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
21         };