Analog Devices AXI PWM generator
Schema identifier ($id): "http://devicetree.org/schemas/pwm/adi,axi-pwmgen.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Hennerich <Michael.Hennerich@analog.com>", "Nuno Sá <nuno.sa@analog.com>"
The Analog Devices AXI PWM generator can generate PWM signals with variable pulse width and period. https://analogdevicesinc.github.io/hdl/library/axi_pwm_gen/index.html
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):pwm.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "adi,axi-pwmgen-2.00.a"
reg — required here #
Maximum number of items (maxItems): 1
#pwm-cells — not listed as required here #
Exact value (const): 3
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"ext"
Required in this object (required): "reg", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pwm@44b00000 {
compatible = "adi,axi-pwmgen-2.00.a";
reg = <0x44b00000 0x1000>;
clocks = <&fpga_clk>, <&spi_clk>;
clock-names = "axi", "ext";
#pwm-cells = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause