Sunplus SoC SP7021 PWM Controller

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

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

Maintainers (maintainers): "Hammer Hsieh <hammerh0314@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "sunplus,sp7021-pwm"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#pwm-cells — not listed as required here #

Exact value (const): 2

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

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

Examples (examples) #

pwm: pwm@9c007a00 {
  compatible = "sunplus,sp7021-pwm";
  reg = <0x9c007a00 0x80>;
  clocks = <&clkc 0xa2>;
  #pwm-cells = <2>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) Sunplus Co., Ltd. 2021

Edit this page