linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org
Cc: linux@roeck-us.net, linux-kernel@vger.kernel.org,
	Mike Looijmans <mike.looijmans@topic.nl>
Subject: [PATCH 2/2] hwmon: (max6650) Add initial rpm target devicetree documentation
Date: Wed, 24 Aug 2016 10:13:27 +0200	[thread overview]
Message-ID: <1472026407-3448-2-git-send-email-mike.looijmans@topic.nl> (raw)
In-Reply-To: <1472026407-3448-1-git-send-email-mike.looijmans@topic.nl>
In-Reply-To: <5f14ba10-60dd-0e0a-dcd0-f8bbbed33510@roeck-us.net>

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

  parent reply	other threads:[~2016-08-24  8:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16  7:53 [PATCH] hwmon: (max6650) Allow fan shutdown and a more intuitive mode interface Mike Looijmans
2016-08-19  2:54 ` Guenter Roeck
     [not found]   ` <57B6A8BF.2080508@topic.nl>
2016-08-19 13:01     ` Guenter Roeck
2016-08-24  8:13       ` [PATCH 1/2] hwmon: (max6650) Allow fan shutdown and initial rpm target Mike Looijmans
2016-09-09  4:18         ` Guenter Roeck
2016-08-24  8:13       ` Mike Looijmans [this message]
2016-08-30 16:38         ` [PATCH 2/2] hwmon: (max6650) Add initial rpm target devicetree documentation Rob Herring
2016-08-30 16:56           ` Mike Looijmans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1472026407-3448-2-git-send-email-mike.looijmans@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).