VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller

Schema identifier ($id): "http://devicetree.org/schemas/pwm/via,vt8500-pwm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexey Charkov <alchark@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): pwm.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "via,vt8500-pwm"

reg — required here #

Maximum number of items (maxItems): 1

#pwm-cells — not listed as required here #

Exact value (const): 3

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pwm1: pwm@d8220000 {
    compatible = "via,vt8500-pwm";
    reg = <0xd8220000 0x1000>;
    #pwm-cells = <3>;
    clocks = <&clkpwm>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page