[PATCH linux dev-4.10 1/6] dt-bindings: max31785: Add mark-fan-installed property

Andrew Jeffery andrew at aj.id.au
Sat Jul 29 02:22:44 AEST 2017


It's a system design decision with regards to managing the default
values of registers such as FAN_CONFIG_1_2. Do not assume the hardware
is configured such as the fans are marked as installed, rather expose a
devicetree option to inform the driver of whether it should mark the
fan as installed itself.

Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 Documentation/devicetree/bindings/hwmon/pmbus/max31785.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/max31785.txt b/Documentation/devicetree/bindings/hwmon/pmbus/max31785.txt
index 96e705434a59..f2ab18f5f503 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/max31785.txt
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/max31785.txt
@@ -31,6 +31,8 @@ Optional subnode properties:
 - fan-mode               : "rpm" or "pwm". Default value is "pwm".
 - tach-pulses            : Tachometer pulses per revolution. Valid values are
                            1, 2, 3 or 4. The default is 1.
+- mark-fan-installed     : Mark the fan as installed if the hardware doesn't
+                           already report it so
 - maxim,fan-no-fault-ramp: Do not ramp the fan to 100% PWM duty on detecting a
                            fan fault
 - maxim,fan-startup      : The number of rotations required before taking
-- 
2.11.0



More information about the openbmc mailing list