Commit a2466343 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Linus Walleij
Browse files

dt-bindings: pwm: airoha: Add EN7581 pwm

parent d0c15cb9
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/airoha,en7581-pwm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Airoha EN7581 PWM Controller

maintainers:
  - Lorenzo Bianconi <lorenzo@kernel.org>

allOf:
  - $ref: pwm.yaml#

properties:
  compatible:
    const: airoha,en7581-pwm

  "#pwm-cells":
    const: 3

required:
  - compatible
  - "#pwm-cells"

additionalProperties: false

examples:
  - |
    pwm {
      compatible = "airoha,en7581-pwm";

      #pwm-cells = <3>;
    };