Path: blob/master/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml
52979 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: The Maxim MAX31790 Fan Controller78maintainers:9- Guenter Roeck <linux@roeck-us.net>10- Chanh Nguyen <chanh@os.amperecomputing.com>1112description: >13The MAX31790 controls the speeds of up to six fans using six14independent PWM outputs. The desired fan speeds (or PWM duty cycles)15are written through the I2C interface.1617Datasheets:18https://datasheets.maximintegrated.com/en/ds/MAX31790.pdf1920properties:21compatible:22enum:23- maxim,max3178524- maxim,max31785a25- maxim,max31785b26- maxim,max317902728reg:29maxItems: 13031clocks:32maxItems: 13334resets:35maxItems: 13637'#address-cells':38const: 13940'#size-cells':41const: 04243"#pwm-cells":44const: 14546patternProperties:47"^fan@[0-9]+$":48$ref: fan-common.yaml#49unevaluatedProperties: false5051required:52- compatible53- reg5455additionalProperties: false5657examples:58- |59i2c {60#address-cells = <1>;61#size-cells = <0>;6263pwm_provider: fan-controller@20 {64compatible = "maxim,max31790";65reg = <0x20>;66clocks = <&sys_clk>;67resets = <&reset 0>;68#address-cells = <1>;69#pwm-cells = <1>;70#size-cells = <0>;7172fan@0 {73reg = <0x0>;74pwms = <&pwm_provider 1>;75};7677fan@1 {78reg = <0x1>;79pwms = <&pwm_provider 2>;80};81};82};83848586