xref: /linux/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1e81ca0efSNuno Sá# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e81ca0efSNuno Sá# Copyright 2019 Analog Devices Inc.
3e81ca0efSNuno Sá%YAML 1.2
4e81ca0efSNuno Sá---
5ce81bd69SRob Herring$id: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml#
6e81ca0efSNuno Sá$schema: http://devicetree.org/meta-schemas/core.yaml#
7e81ca0efSNuno Sá
8dd3cb467SAndrew Lunntitle: Analog Devices AXI FAN Control
9e81ca0efSNuno Sá
10e81ca0efSNuno Sámaintainers:
11e81ca0efSNuno Sá  - Nuno Sá <nuno.sa@analog.com>
12e81ca0efSNuno Sá
13e81ca0efSNuno Sádescription: |+
14*47aab533SBjorn Helgaas  Bindings for the Analog Devices AXI FAN Control driver. Specifications of the
15e81ca0efSNuno Sá  core can be found in:
16e81ca0efSNuno Sá
17e81ca0efSNuno Sá  https://wiki.analog.com/resources/fpga/docs/axi_fan_control
18e81ca0efSNuno Sá
19e81ca0efSNuno Sáproperties:
20e81ca0efSNuno Sá  compatible:
21e81ca0efSNuno Sá    enum:
22e81ca0efSNuno Sá      - adi,axi-fan-control-1.00.a
23e81ca0efSNuno Sá
24e81ca0efSNuno Sá  reg:
25e81ca0efSNuno Sá    maxItems: 1
26e81ca0efSNuno Sá
27e81ca0efSNuno Sá  clocks:
28e81ca0efSNuno Sá    maxItems: 1
29e81ca0efSNuno Sá
30e81ca0efSNuno Sá  interrupts:
31e81ca0efSNuno Sá    maxItems: 1
32e81ca0efSNuno Sá
33e81ca0efSNuno Sá  pulses-per-revolution:
34e81ca0efSNuno Sá    description:
35e81ca0efSNuno Sá      Value specifying the number of pulses per revolution of the controlled
36e81ca0efSNuno Sá      FAN.
373d21a460SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32
38e81ca0efSNuno Sá    enum: [1, 2, 4]
39e81ca0efSNuno Sá
40e81ca0efSNuno Sárequired:
41e81ca0efSNuno Sá  - compatible
42e81ca0efSNuno Sá  - reg
43e81ca0efSNuno Sá  - clocks
44e81ca0efSNuno Sá  - interrupts
45e81ca0efSNuno Sá  - pulses-per-revolution
46e81ca0efSNuno Sá
475be478f9SRob HerringadditionalProperties: false
485be478f9SRob Herring
49e81ca0efSNuno Sáexamples:
50e81ca0efSNuno Sá  - |
51f88d59fcSRob Herring    fpga_axi: fpga-axi {
52e81ca0efSNuno Sá        #address-cells = <0x2>;
53e81ca0efSNuno Sá        #size-cells = <0x1>;
54e81ca0efSNuno Sá
55e81ca0efSNuno Sá        axi_fan_control: axi-fan-control@80000000 {
56e81ca0efSNuno Sá            compatible = "adi,axi-fan-control-1.00.a";
57e81ca0efSNuno Sá            reg = <0x0 0x80000000 0x10000>;
58e81ca0efSNuno Sá            clocks = <&clk 71>;
59e81ca0efSNuno Sá            interrupts = <0 110 0>;
60e81ca0efSNuno Sá            pulses-per-revolution = <2>;
61e81ca0efSNuno Sá        };
62e81ca0efSNuno Sá    };
63e81ca0efSNuno Sá...
64