diff options
author | Drew Fustini <[email protected]> | 2024-06-05 16:35:05 -0400 |
---|---|---|
committer | Uwe Kleine-König <[email protected]> | 2024-07-10 17:52:46 +0200 |
commit | 1edf2c2a2841f41e95287abe4b779840a17193d4 (patch) | |
tree | b41c7b9f4be452dac7d86942e7a76a0d1d5946e1 | |
parent | 307d0a70d029fa26c93c070341ba3acd6ba31db9 (diff) |
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 <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Michael Hennerich <[email protected]>
Acked-by: Nuno Sa <[email protected]>
Co-developed-by: Trevor Gamblin <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml | 48 | ||||
-rw-r--r-- | MAINTAINERS | 8 |
2 files changed, 56 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml b/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml new file mode 100644 index 000000000000..ec6115d3796b --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/adi,axi-pwmgen.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AXI PWM generator + +maintainers: + - Michael Hennerich <[email protected]> + - Nuno Sá <[email protected]> + +description: + The Analog Devices AXI PWM generator can generate PWM signals + with variable pulse width and period. + + https://wiki.analog.com/resources/fpga/docs/axi_pwm_gen + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: adi,axi-pwmgen-2.00.a + + reg: + maxItems: 1 + + "#pwm-cells": + const: 2 + + clocks: + maxItems: 1 + +required: + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + pwm@44b00000 { + compatible = "adi,axi-pwmgen-2.00.a"; + reg = <0x44b00000 0x1000>; + clocks = <&spi_clk>; + #pwm-cells = <2>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index d6c90161c7bf..09c61e0b614e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3571,6 +3571,14 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/spi/adi,axi-spi-engine.yaml F: drivers/spi/spi-axi-spi-engine.c +AXI PWM GENERATOR +M: Michael Hennerich <[email protected]> +M: Nuno Sá <[email protected]> +S: Supported +W: https://ez.analog.com/linux-software-drivers +F: Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml + AXXIA I2C CONTROLLER M: Krzysztof Adamski <[email protected]> |