Path: blob/master/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1# Copyright 2019 Analog Devices Inc.2%YAML 1.23---4$id: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Analog Devices AXI FAN Control89maintainers:10- Nuno Sá <nuno.sa@analog.com>1112description: |+13Bindings for the Analog Devices AXI FAN Control driver. Specifications of the14core can be found in:1516https://wiki.analog.com/resources/fpga/docs/axi_fan_control1718properties:19compatible:20enum:21- adi,axi-fan-control-1.00.a2223reg:24maxItems: 12526clocks:27maxItems: 12829interrupts:30maxItems: 13132pulses-per-revolution:33description:34Value specifying the number of pulses per revolution of the controlled35FAN.36$ref: /schemas/types.yaml#/definitions/uint3237enum: [1, 2, 4]3839required:40- compatible41- reg42- clocks43- interrupts44- pulses-per-revolution4546additionalProperties: false4748examples:49- |50fpga_axi: fpga-axi {51#address-cells = <0x2>;52#size-cells = <0x1>;5354axi_fan_control: axi-fan-control@80000000 {55compatible = "adi,axi-fan-control-1.00.a";56reg = <0x0 0x80000000 0x10000>;57clocks = <&clk 71>;58interrupts = <0 110 0>;59pulses-per-revolution = <2>;60};61};62...636465