Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1469166 > unrolled thread

[PATCH 2/2] hwmon: (max6650) Add initial rpm target devicetree documentation

Started byMike Looijmans <mike.looijmans@topic.nl>
First post2016-08-24 10:20 +0200
Last post2016-08-24 10:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] hwmon: (max6650) Add initial rpm target devicetree documentation Mike Looijmans <mike.looijmans@topic.nl> - 2016-08-24 10:20 +0200

#1469166 — [PATCH 2/2] hwmon: (max6650) Add initial rpm target devicetree documentation

FromMike Looijmans <mike.looijmans@topic.nl>
Date2016-08-24 10:20 +0200
Subject[PATCH 2/2] hwmon: (max6650) Add initial rpm target devicetree documentation
Message-ID<s9BzH-80z-11@gated-at.bofh.it>
Add devicetree property for early initialization of the fan controller
to prevent overheating, for example when resetting the board while the
fan was completely turned off.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
---
 Documentation/devicetree/bindings/hwmon/max6650.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/max6650.txt b/Documentation/devicetree/bindings/hwmon/max6650.txt
index d6c10e3..f6bd87d 100644
--- a/Documentation/devicetree/bindings/hwmon/max6650.txt
+++ b/Documentation/devicetree/bindings/hwmon/max6650.txt
@@ -13,6 +13,10 @@ Optional properties, default is to retain the chip's current setting:
 - maxim,fan-prescale  : Pre-scaling value, as per datasheet [1]. Lower values
 			allow more fine-grained control of slower fans.
 			Valid: 1, 2, 4, 8, 16.
+- maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the
+			driver selects closed-loop mode and the requested speed.
+			This ensures the fan is already running before userspace
+			takes over.
 
 Example:
 	fan-max6650: max6650@1b {
@@ -20,4 +24,5 @@ Example:
 		compatible = "maxim,max6650";
 		maxim,fan-microvolt = <12000000>;
 		maxim,fan-prescale = <4>;
+		maxim,fan-target-rpm = <1200>;
 	};
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web