summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/clock/gpio-mux-clock.txt
blob: 2be1e038ca62907a3187afce23d46e2c7a62b639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Binding for simple gpio clock multiplexer.

This binding uses the common clock binding[1].

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

Required properties:
- compatible : shall be "gpio-mux-clock".
- clocks: list of two references to parent clocks.
- #clock-cells : from common clock binding; shall be set to 0.
- select-gpios : GPIO reference for selecting the parent clock.

Example:
	clock {
		compatible = "gpio-mux-clock";
		clocks = <&parentclk1>, <&parentclk2>;
		#clock-cells = <0>;
		select-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
	};