new file mode 100644
@@ -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;
+ };
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