Skip to content

Commit b0221e7

Browse files
iwamatsu-tthierryreding
authored andcommitted
dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller
Add bindings for the Toshiba Visconti PWM Controller. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent ba0d527 commit b0221e7

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Toshiba Visconti PWM Controller
8+
9+
maintainers:
10+
- Nobuhiro Iwamatsu <[email protected]>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- const: toshiba,visconti-pwm
16+
17+
reg:
18+
maxItems: 1
19+
20+
'#pwm-cells':
21+
const: 2
22+
23+
required:
24+
- compatible
25+
- reg
26+
- '#pwm-cells'
27+
28+
additionalProperties: false
29+
30+
examples:
31+
- |
32+
soc {
33+
#address-cells = <2>;
34+
#size-cells = <2>;
35+
36+
pwm: pwm@241c0000 {
37+
compatible = "toshiba,visconti-pwm";
38+
reg = <0 0x241c0000 0 0x1000>;
39+
pinctrl-names = "default";
40+
pinctrl-0 = <&pwm_mux>;
41+
#pwm-cells = <2>;
42+
};
43+
};

0 commit comments

Comments
 (0)