Renesas R-Car Timer Pulse Unit PWM Controller

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

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,tpu-r8a73a4", "renesas,tpu-r8a7740", "renesas,tpu-r8a7742", "renesas,tpu-r8a7743", "renesas,tpu-r8a7744", "renesas,tpu-r8a7745", "renesas,tpu-r8a7790", "renesas,tpu-r8a7791", "renesas,tpu-r8a7792", "renesas,tpu-r8a7793", "renesas,tpu-r8a7794", "renesas,tpu-r8a7795", "renesas,tpu-r8a7796", "renesas,tpu-r8a77961", "renesas,tpu-r8a77965", "renesas,tpu-r8a77970", "renesas,tpu-r8a77980", "renesas,tpu-r8a779a0", "renesas,tpu-r8a779g0", "renesas,tpu-r8a779h0"

Item 2

Exact value (const): "renesas,tpu"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as 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

power-domains — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

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

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,tpu-r8a73a4", "renesas,tpu-r8a7740"

When the condition matches (then) #

Required in this object (required): "resets"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7740-clock.h>

tpu: pwm@e6600000 {
    compatible = "renesas,tpu-r8a7740", "renesas,tpu";
    reg = <0xe6600000 0x148>;
    clocks = <&mstp3_clks R8A7740_CLK_TPU0>;
    power-domains = <&pd_a3sp>;
    #pwm-cells = <3>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 16: R-Mobile APE6

Line 17: R-Mobile A1

Line 18: RZ/G1H

Line 19: RZ/G1M

Line 20: RZ/G1N

Line 21: RZ/G1E

Line 22: R-Car H2

Line 23: R-Car M2-W

Line 24: R-Car V2H

Line 25: R-Car M2-N

Line 26: R-Car E2

Line 27: R-Car H3

Line 28: R-Car M3-W

Line 29: R-Car M3-W+

Line 30: R-Car M3-N

Line 31: R-Car V3M

Line 32: R-Car V3H

Line 33: R-Car V3U

Line 34: R-Car V4H

Line 35: R-Car V4M

Line 39: Base address and length of each memory resource used by the PWM

Line 40: controller hardware module.

Line 47: should be 3. See pwm.yaml in this directory for a description of

Line 48: the cells format. The only third cell flag supported by this binding is

Line 49: PWM_POLARITY_INVERTED.

Edit this page