TI SOC ECAP based APWM controller

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

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

Maintainers (maintainers): "Vignesh R <vigneshr@ti.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "ti,am3352-ecap"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "ti,da850-ecap", "ti,am4372-ecap", "ti,dra746-ecap", "ti,k2g-ecap", "ti,am654-ecap", "ti,am64-ecap"

Item 2

Exact value (const): "ti,am3352-ecap"

reg — required here #

Maximum number of items (maxItems): 1

#pwm-cells — not listed as required here #

Exact value (const): 3

See pwm.yaml in this directory for a description of the cells format. The only third cell flag supported by this binding is PWM_POLARITY_INVERTED.

clock-names — required here #

Exact value (const): "fck"

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

ecap0: pwm@48300100 { /* ECAP on am33xx */
    compatible = "ti,am3352-ecap";
    #pwm-cells = <3>;
    reg = <0x48300100 0x80>;
    clocks = <&l4ls_gclk>;
    clock-names = "fck";
};

Source notes #

Annotations retained from the schema source

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

Edit this page