Documentation / devicetree / bindings / hwmon / adi,adt7470.yaml


Based on kernel version 7.3. Page generated on 2026-10-19 13:17 EDT.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/hwmon/adi,adt7470.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Analog Devices ADT7470 hwmon sensor

maintainers:
  - Luiz Angelo Daros de Luca <luizluca@gmail.com>

description:
  Multi-channel temperature monitor and PWM fan controller.
  It supports monitoring up to 10 external temperature sensors and
  controlling up to 4 fans. The fan control lines are modeled
  as standard PWM channels.

properties:
  compatible:
    const: adi,adt7470

  reg:
    maxItems: 1
 
  "#pwm-cells":
    const: 3
 
  "#thermal-sensor-cells":
    const: 1
    description:
      Valid index values are 0 to 9, corresponding to temp1 through temp10.

required:
  - compatible
  - reg

allOf:
  - if:
      required:
        - "#thermal-sensor-cells"
    then:
      $ref: /schemas/thermal/thermal-sensor.yaml#

unevaluatedProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
 
        hwmon@2f {
            compatible = "adi,adt7470";
            reg = <0x2f>;
            #pwm-cells = <3>;
            #thermal-sensor-cells = <1>;
        };
    };