Toshiba Visconti PWM Controller

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

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

Maintainers (maintainers): "Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>"

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): "toshiba,visconti-pwm"

reg — required here #

Maximum number of items (maxItems): 1

#pwm-cells — not listed as required here #

Exact value (const): 2

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

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

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    pwm: pwm@241c0000 {
        compatible = "toshiba,visconti-pwm";
        reg = <0 0x241c0000 0 0x1000>;
        pinctrl-names = "default";
        pinctrl-0 = <&pwm_mux>;
        #pwm-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page