Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / pwm / toshiba,pwm-visconti.yaml
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 <nobuhiro1.iwamatsu@toshiba.co.jp>
11
12 allOf:
13   - $ref: pwm.yaml#
14
15 properties:
16   compatible:
17     items:
18       - const: toshiba,visconti-pwm
19
20   reg:
21     maxItems: 1
22
23   '#pwm-cells':
24     const: 2
25
26 required:
27   - compatible
28   - reg
29
30 additionalProperties: false
31
32 examples:
33   - |
34     soc {
35         #address-cells = <2>;
36         #size-cells = <2>;
37
38         pwm: pwm@241c0000 {
39             compatible = "toshiba,visconti-pwm";
40             reg = <0 0x241c0000 0 0x1000>;
41             pinctrl-names = "default";
42             pinctrl-0 = <&pwm_mux>;
43             #pwm-cells = <2>;
44         };
45     };