Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > 8b1b14f34030bfa38399b9439603610b > files > 1333

kernel-linus-doc-5.4.20-1.mga7.noarch.rpm

Binding for simple gpio gated clock.

This binding uses the common clock binding[1].

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

Required properties:
- compatible : shall be "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 = "gpio-gate-clock";
		clocks = <&parentclk>;
		#clock-cells = <0>;
		enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
	};