Simple GPIO clock gate
Schema identifier ($id): "http://devicetree.org/schemas/clock/gpio-gate-clock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jyri Sarha <jsarha@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "gpio-gate-clock"
clocks — not listed as required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 0
enable-gpios — required here #
GPIO reference for enabling and disabling the clock.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#clock-cells", "enable-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
clock {
compatible = "gpio-gate-clock";
clocks = <&parentclk>;
#clock-cells = <0>;
enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)