diff mbox series

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

Message ID 1609183716-26529-1-git-send-email-tharvey@gateworks.com
State Accepted
Commit c239fea18e5763e88f3b7184a1c16b30fba57aac
Headers show
Series dt-bindings: mfd: gateworks-gsc: Add fan-tach mode | expand

Commit Message

Tim Harvey Dec. 28, 2020, 7:28 p.m. UTC
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.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Rob Herring (Arm) Jan. 11, 2021, 8:14 p.m. UTC | #1
On Mon, 28 Dec 2020 11:28:36 -0800, Tim Harvey wrote:
> 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.

> 

> Signed-off-by: Tim Harvey <tharvey@gateworks.com>

> ---

>  Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 3 ++-

>  1 file changed, 2 insertions(+), 1 deletion(-)

> 


Acked-by: Rob Herring <robh@kernel.org>
Lee Jones Jan. 14, 2021, 1:28 p.m. UTC | #2
On Mon, 28 Dec 2020, Tim Harvey wrote:

> 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.

> 

> Signed-off-by: Tim Harvey <tharvey@gateworks.com>

> ---

>  Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml | 3 ++-

>  1 file changed, 2 insertions(+), 1 deletion(-)


Applied, thanks.

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

Patch

diff --git a/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml b/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
index d08e8fe..5a1e8d2 100644
--- a/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
+++ b/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
@@ -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