FILE
maxim,max31790.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: The Maxim MAX31790 Fan Controller 8 9maintainers: 10 - Guenter Roeck <linux@roeck-us.net> 11 - Chanh Nguyen <chanh@os.amperecomputing.com> 12 13description: > 14 The MAX31790 controls the speeds of up to six fans using six 15 independent PWM outputs. The desired fan speeds (or PWM duty cycles) 16 are written through the I2C interface. 17 18 Datasheets: 19 https://datasheets.maximintegrated.com/en/ds/MAX31790.pdf 20 21properties: 22 compatible: 23 enum: 24 - maxim,max31785 25 - maxim,max31785a 26 - maxim,max31785b 27 - maxim,max31790 28 29 reg: 30 maxItems: 1 31 32 clocks: 33 maxItems: 1 34 35 resets: 36 maxItems: 1 37 38 '#address-cells': 39 const: 1 40 41 '#size-cells': 42 const: 0 43 44 "#pwm-cells": 45 const: 1 46 47patternProperties: 48 "^fan@[0-9]+$": 49 $ref: fan-common.yaml# 50 unevaluatedProperties: false 51 52required: 53 - compatible 54 - reg 55 56additionalProperties: false 57 58examples: 59 - | 60 i2c { 61 #address-cells = <1>; 62 #size-cells = <0>; 63 64 pwm_provider: fan-controller@20 { 65 compatible = "maxim,max31790"; 66 reg = <0x20>; 67 clocks = <&sys_clk>; 68 resets = <&reset 0>; 69 #address-cells = <1>; 70 #pwm-cells = <1>; 71 #size-cells = <0>; 72 73 fan@0 { 74 reg = <0x0>; 75 pwms = <&pwm_provider 1>; 76 }; 77 78 fan@1 { 79 reg = <0x1>; 80 pwms = <&pwm_provider 2>; 81 }; 82 }; 83 }; 84
~/
Read-only file preview.