Skip to content

Commit a246634

Browse files
LorenzoBianconilinusw
authored andcommitted
dt-bindings: pwm: airoha: Add EN7581 pwm
Introduce device-tree binding documentation for Airoha EN7581 pwm controller. Co-developed-by: Christian Marangi <[email protected]> Signed-off-by: Christian Marangi <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent d0c15cb commit a246634

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
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 <[email protected]>
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)