Skip to content

Commit 1edf2c2

Browse files
pdp7Uwe Kleine-König
authored andcommitted
dt-bindings: pwm: Add AXI PWM generator
Add Analog Devices AXI PWM generator. Link: https://analogdevicesinc.github.io/hdl/library/axi_pwm_gen/index.html Signed-off-by: Drew Fustini <dfustini@baylibre.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Nuno Sa <nuno.sa@analog.com> Co-developed-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Link: https://lore.kernel.org/r/20240605203507.1934434-2-tgamblin@baylibre.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
1 parent 307d0a7 commit 1edf2c2

2 files changed

Lines changed: 56 additions & 0 deletions

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 <Michael.Hennerich@analog.com>
11+
- Nuno Sá <nuno.sa@analog.com>
12+
13+
description:
14+
The Analog Devices AXI PWM generator can generate PWM signals
15+
with variable pulse width and period.
16+
17+
https://wiki.analog.com/resources/fpga/docs/axi_pwm_gen
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: 2
31+
32+
clocks:
33+
maxItems: 1
34+
35+
required:
36+
- reg
37+
- clocks
38+
39+
unevaluatedProperties: false
40+
41+
examples:
42+
- |
43+
pwm@44b00000 {
44+
compatible = "adi,axi-pwmgen-2.00.a";
45+
reg = <0x44b00000 0x1000>;
46+
clocks = <&spi_clk>;
47+
#pwm-cells = <2>;
48+
};

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3571,6 +3571,14 @@ W: https://ez.analog.com/linux-software-drivers
35713571
F: Documentation/devicetree/bindings/spi/adi,axi-spi-engine.yaml
35723572
F: drivers/spi/spi-axi-spi-engine.c
35733573

3574+
AXI PWM GENERATOR
3575+
M: Michael Hennerich <michael.hennerich@analog.com>
3576+
M: Nuno Sá <nuno.sa@analog.com>
3577+
L: linux-pwm@vger.kernel.org
3578+
S: Supported
3579+
W: https://ez.analog.com/linux-software-drivers
3580+
F: Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml
3581+
35743582
AXXIA I2C CONTROLLER
35753583
M: Krzysztof Adamski <krzysztof.adamski@nokia.com>
35763584
L: linux-i2c@vger.kernel.org

0 commit comments

Comments
 (0)