From e499c6e1815debfbb91bf44e21c85a0cb3e2d6e4 Mon Sep 17 00:00:00 2001 From: Minghao Zhang Date: Thu, 7 Jan 2021 10:59:13 +0800 Subject: [PATCH] dt-bindings: add documentation for max31760 fancontroller Add documentation for MAX31760 Fan Controller driver. Change-Id: Ib065dec13fee8f5f7890468c8562fbf54206f35b --- 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 000000000000..db27cdbe5b0d --- /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, 0x50. + +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,fan_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,fan_en_gpio = <&tlmm 10 0x00>; + };