Skip to contentSkip to conversation

dt-bindings: mfd: gateworks-gsc: Add fan-tach mode

PATCH Applied Tim Harvey 3 participants 3 messages Dec 28, 2020 – Jan 14, 2021

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 dt-bindings: mfd: gateworks-gsc: Add fan-tach mode

In 7497d4a66c59 ("hwmon: (gsc-hwmon) add fan sensor") a mode was added to report RPM's from a fan tach input.

Add this mode to the dt-bindings for the Gateworks System Controller.

---
 Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml +2 -1
index d08e8fe..5a1e8d2 100644
@@ -83,8 +83,9 @@ properties:
                 2 - scaled voltage based on an optional resistor divider
                     and optional offset
                 3 - pre-scaled 16-bit voltage value
+                4 - fan tach input to report RPM's
             $ref: /schemas/types.yaml#/definitions/uint32
-            enum: [0, 1, 2, 3]
+            enum: [0, 1, 2, 3, 4]
 
           gw,voltage-divider-ohms:
             description: Values of resistors for divider on raw ADC input
Signature · 1 line
2.7.4
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Tim Harvey

In 7497d4a66c59 ("hwmon: (gsc-hwmon) add fan sensor") a mode was added to report RPM's from a fan tach input.

Add this mode to the dt-bindings for the Gateworks System Controller.

---
 Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Applied
#2 lore raw
In reply to Tim Harvey
Quoted 9 lines · Tim Harvey

In 7497d4a66c59 ("hwmon: (gsc-hwmon) add fan sensor") a mode was added to report RPM's from a fan tach input.

Add this mode to the dt-bindings for the Gateworks System Controller.

---
 Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog