WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / hwmon / adi,axi-fan-control.yaml
blob6747b870f29783edf3faf140a752c00b4c48c191
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright 2019 Analog Devices Inc.
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Analog Devices AXI FAN Control Device Tree Bindings
10 maintainers:
11   - Nuno Sá <nuno.sa@analog.com>
13 description: |+
14   Bindings for the Analog Devices AXI FAN Control driver. Spefications of the
15   core can be found in:
17   https://wiki.analog.com/resources/fpga/docs/axi_fan_control
19 properties:
20   compatible:
21     enum:
22       - adi,axi-fan-control-1.00.a
24   reg:
25     maxItems: 1
27   clocks:
28     maxItems: 1
30   interrupts:
31     maxItems: 1
33   pulses-per-revolution:
34     description:
35       Value specifying the number of pulses per revolution of the controlled
36       FAN.
37     $ref: /schemas/types.yaml#/definitions/uint32
38     enum: [1, 2, 4]
40 required:
41   - compatible
42   - reg
43   - clocks
44   - interrupts
45   - pulses-per-revolution
47 additionalProperties: false
49 examples:
50   - |
51     fpga_axi: fpga-axi {
52             #address-cells = <0x2>;
53             #size-cells = <0x1>;
55             axi_fan_control: axi-fan-control@80000000 {
56                     compatible = "adi,axi-fan-control-1.00.a";
57                     reg = <0x0 0x80000000 0x10000>;
58                     clocks = <&clk 71>;
59                     interrupts = <0 110 0>;
60                     pulses-per-revolution = <2>;
61             };
62     };
63 ...