aboutsummaryrefslogtreecommitdiffstats
blob: 6156f827f7270d55d9ea41439a95e2bbed4cd5eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Binding for simple gpio controlled clock.

This binding uses the common clock binding[1].

[1] Documentation/devicetree/bindings/clock/clock-bindings.txt

Required properties:
- compatible : shall be "ti,gpio-gate-clock".
- #clock-cells : from common clock binding; shall be set to 0.
- enable-gpios : GPIO reference for enabling and disabling the clock.

Optional properties:
- clocks: Maximum of one parent clock is supported.

Example:
	clock {
		compatible = "ti,gpio-gate-clock";
		clocks = <&parentclk>;
		#clock-cells = <0>;
		enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
	};