Path: blob/master/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml
26308 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:22const: maxim,max317902324reg:25maxItems: 12627clocks:28maxItems: 12930resets:31maxItems: 13233"#pwm-cells":34const: 13536patternProperties:37"^fan-[0-9]+$":38$ref: fan-common.yaml#39unevaluatedProperties: false4041required:42- compatible43- reg4445additionalProperties: false4647examples:48- |49i2c {50#address-cells = <1>;51#size-cells = <0>;5253pwm_provider: fan-controller@20 {54compatible = "maxim,max31790";55reg = <0x20>;56clocks = <&sys_clk>;57resets = <&reset 0>;58#pwm-cells = <1>;5960fan-0 {61pwms = <&pwm_provider 1>;62};6364fan-1 {65pwms = <&pwm_provider 2>;66};67};68};69707172