1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/adi,adt7470.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Analog Devices ADT7470 hwmon sensor 8 9maintainers: 10 - Luiz Angelo Daros de Luca <luizluca@gmail.com> 11 12description: 13 Multi-channel temperature monitor and PWM fan controller. 14 It supports monitoring up to 10 external temperature sensors and 15 controlling up to 4 fans. The fan control lines are modeled 16 as standard PWM channels. 17 18properties: 19 compatible: 20 const: adi,adt7470 21 22 reg: 23 maxItems: 1 24 25 "#pwm-cells": 26 const: 3 27 28 "#thermal-sensor-cells": 29 const: 1 30 description: 31 Valid index values are 0 to 9, corresponding to temp1 through temp10. 32 33required: 34 - compatible 35 - reg 36 37allOf: 38 - if: 39 required: 40 - "#thermal-sensor-cells" 41 then: 42 $ref: /schemas/thermal/thermal-sensor.yaml# 43 44unevaluatedProperties: false 45 46examples: 47 - | 48 i2c { 49 #address-cells = <1>; 50 #size-cells = <0>; 51 52 hwmon@2f { 53 compatible = "adi,adt7470"; 54 reg = <0x2f>; 55 #pwm-cells = <3>; 56 #thermal-sensor-cells = <1>; 57 }; 58 }; 59