PWM controllers (providers)
Schema identifier ($id): "http://devicetree.org/schemas/pwm/pwm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>"
Automatic schema selection (select) #
false
Not selected automatically by this rule.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$"
#pwm-cells — required here #
Number of cells in a PWM specifier. Typically the cells represent, in order: the chip-relative PWM number, the PWM period in nanoseconds and optionally a number of flags (defined in <dt-bindings/pwm/pwm.h>).
Required in this object (required): "#pwm-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Examples (examples) #
pwm: pwm@1c20e00 {
compatible = "allwinner,sun7i-a20-pwm";
reg = <0x01c20e00 0xc>;
clocks = <&osc24M>;
#pwm-cells = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0