diff options
Diffstat (limited to 'Documentation/devicetree/bindings/clock/gpio-gate-clock.txt')
-rw-r--r-- | Documentation/devicetree/bindings/clock/gpio-gate-clock.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/gpio-gate-clock.txt b/Documentation/devicetree/bindings/clock/gpio-gate-clock.txt new file mode 100644 index 000000000000..d3379ff9b84b --- /dev/null +++ b/Documentation/devicetree/bindings/clock/gpio-gate-clock.txt | |||
@@ -0,0 +1,21 @@ | |||
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 | }; | ||