diff mbox

[linux,dev-4.10,1/3] drivers/hwmon: Document optional dev tree property 'fault-max-fan'

Message ID 20170614205115.47342-2-cbostic@linux.vnet.ibm.com
State Superseded
Headers show

Commit Message

Christopher Bostic June 14, 2017, 8:51 p.m. UTC
Document new optional device tree property 'fault-max-fan'.  This
property indicates that the max31785 should be configured to drive
fan with 100% PWM duty cycle on fault condition.

Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
---
 Documentation/devicetree/bindings/hwmon/max31785.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/max31785.txt
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/max31785.txt b/Documentation/devicetree/bindings/hwmon/max31785.txt
new file mode 100644
index 0000000..2b0190d
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/max31785.txt
@@ -0,0 +1,20 @@ 
+Bindings for MAX31785 I2C fan controller
+
+Reference:
+[1]	https://datasheets.maximintegrated.com/en/ds/MAX31785.pdf
+
+Required properties:
+- compatible : "maxim,max31785"
+- reg        : I2C address, 0x52.
+
+Optional properties, default is to retain the chip's current setting:
+- fault-max-fan : When present this property indicates to set fan to 100% PWM
+                  duty cycle on FAULT condition.
+
+Example:
+
+        max31785@52 {
+                compatible = "maxim,max31785";
+                reg = <0x52>;
+                fault-max-fan;
+        };