From d521c8682719af31e6c584e52bc04389f55d5fe4 Mon Sep 17 00:00:00 2001 From: Minghao Zhang Date: Tue, 20 Sep 2022 16:17:49 +0800 Subject: [PATCH] dt-bindings: add documentation for max31760 fan controller Add documentation for MAX31760 Fan Controller driver. Change-Id: If06d088d9c537f351468586f2cd5611d5dd4d845 --- bindings/thermal/max31760.txt | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 bindings/thermal/max31760.txt diff --git a/bindings/thermal/max31760.txt b/bindings/thermal/max31760.txt new file mode 100644 index 00000000..cc4d55fa --- /dev/null +++ b/bindings/thermal/max31760.txt @@ -0,0 +1,38 @@ +Bindings for the Maxim MAX31760 Intelligent Fan Controller +========================================================== + +The Maxim MAX31760 is a i2c device providing closed-loop, multi-channel fan +management with temperature. Various fan control features are provided, +including PWM frequency control, temperature hysteresis, dual tachometer +measurements, and fan health monitoring. + +Required properties: +- compatible : should be "maxim,max31760". +- reg : I2C address, 0xa0. + +Optional properties: +- maxim,vdd-supply : regulator supplying the vdd pin +- maxim,vdd-max-uv : regulator max voltage +- maxim,vdd-min-uv : regulator min voltage +- maxim,vdd-load-ua : regulator load current output +- maxim,vcca-supply : regulator supplying the vcca pin +- maxim,vcca-max-uv : regulator max voltage +- maxim,vcca-min-uv : regulator min voltage +- maxim,vcca-load-ua : regulator load current output +- maxim,pwr-en-gpio : fan enable gpio + +Example: + max31760@50 { + compatible = "maxim,max31760"; + reg = <0x50>; + maxim,vdd-supply = <&some_reg>; + regulator-names = "maxim,vdd"; + maxim,vdd-max-uv = <3400000>; + maxim,vdd-min-uv = <3300000>; + maxim,vdd-load-ua = <300000>; + maxim,vcca-supply = <&some_reg>; + maxim,vcca-max-uv = <1800000>; + maxim,vcca-min-uv = <1800000>; + maxim,vcca-load-ua = <600000>; + maxim,pwr-en-gpio = <&some_gpio>; + };