Debian Codegraph @

Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml

raw symbols SCIP
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/pwm/adi,axi-pwmgen.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Analog Devices AXI PWM generator
8
9 maintainers:
10 - Michael Hennerich <[email protected]>
11 - Nuno Sá <[email protected]>
12
13 description:
14 The Analog Devices AXI PWM generator can generate PWM signals
15 with variable pulse width and period.
16
17 https://analogdevicesinc.github.io/hdl/library/axi_pwm_gen/index.html
18
19 allOf:
20 - $ref: pwm.yaml#
21
22 properties:
23 compatible:
24 const: adi,axi-pwmgen-2.00.a
25
26 reg:
27 maxItems: 1
28
29 "#pwm-cells":
30 const: 3
31
32 clocks:
33 minItems: 1
34 maxItems: 2
35
36 clock-names:
37 minItems: 1
38 items:
39 - const: axi
40 - const: ext
41
42 required:
43 - reg
44 - clocks
45 - clock-names
46
47 unevaluatedProperties: false
48
49 examples:
50 - |
51 pwm@44b00000 {
52 compatible = "adi,axi-pwmgen-2.00.a";
53 reg = <0x44b00000 0x1000>;
54 clocks = <&fpga_clk>, <&spi_clk>;
55 clock-names = "axi", "ext";
56 #pwm-cells = <3>;
57 };