Skip to content

Commit a246634

Browse files
LorenzoBianconiLinus Walleij
authored andcommitted
dt-bindings: pwm: airoha: Add EN7581 pwm
Introduce device-tree binding documentation for Airoha EN7581 pwm controller. Co-developed-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/20241023-en7581-pinctrl-v9-3-afb0cbcab0ec@kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent d0c15cb commit a246634

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pwm/airoha,en7581-pwm.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Airoha EN7581 PWM Controller
8+
9+
maintainers:
10+
- Lorenzo Bianconi <lorenzo@kernel.org>
11+
12+
allOf:
13+
- $ref: pwm.yaml#
14+
15+
properties:
16+
compatible:
17+
const: airoha,en7581-pwm
18+
19+
"#pwm-cells":
20+
const: 3
21+
22+
required:
23+
- compatible
24+
- "#pwm-cells"
25+
26+
additionalProperties: false
27+
28+
examples:
29+
- |
30+
pwm {
31+
compatible = "airoha,en7581-pwm";
32+
33+
#pwm-cells = <3>;
34+
};

0 commit comments

Comments
 (0)