summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml
blob: 46622661e5fb6f271c4aacf0286c6b3a42388d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Toshiba Visconti PWM Controller

maintainers:
  - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>

allOf:
  - $ref: pwm.yaml#

properties:
  compatible:
    items:
      - const: toshiba,visconti-pwm

  reg:
    maxItems: 1

  '#pwm-cells':
    const: 2

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    soc {
        #address-cells = <2>;
        #size-cells = <2>;

        pwm: pwm@241c0000 {
            compatible = "toshiba,visconti-pwm";
            reg = <0 0x241c0000 0 0x1000>;
            pinctrl-names = "default";
            pinctrl-0 = <&pwm_mux>;
            #pwm-cells = <2>;
        };
    };