mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
Add devicetree bindings snapshot to the devicetree project Change-Id: Ic48a6fa76bbc126bd8f6bafc7678e7afbc3f18cf
22 lines
570 B
Plaintext
22 lines
570 B
Plaintext
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>;
|
|
};
|