devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans-Oq418RWZeHk@public.gmane.org>
To: linux-hwmon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Mike Looijmans <mike.looijmans-Oq418RWZeHk@public.gmane.org>
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-Oq418RWZeHk@public.gmane.org>
In-Reply-To: <5f14ba10-60dd-0e0a-dcd0-f8bbbed33510-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>

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-Oq418RWZeHk@public.gmane.org>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1471334034-14894-1-git-send-email-mike.looijmans@topic.nl>
     [not found] ` <c47e4482-a8e0-6a38-cccb-062b667587ac@roeck-us.net>
     [not found]   ` <57B6A8BF.2080508@topic.nl>
     [not found]     ` <5f14ba10-60dd-0e0a-dcd0-f8bbbed33510@roeck-us.net>
2016-08-24  8:13       ` [PATCH 1/2] hwmon: (max6650) Allow fan shutdown and initial rpm target Mike Looijmans
     [not found]         ` <1472026407-3448-1-git-send-email-mike.looijmans-Oq418RWZeHk@public.gmane.org>
     [not found]           ` <5f14ba10-60dd-0e0a-dcd0-f8bbbed33510-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2016-08-24  8:13             ` Mike Looijmans [this message]
     [not found]               ` <1472026407-3448-2-git-send-email-mike.looijmans-Oq418RWZeHk@public.gmane.org>
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
2016-09-09  4:18           ` [PATCH 1/2] hwmon: (max6650) Allow fan shutdown and initial rpm target Guenter Roeck

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-oq418rwzehk@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org \
    --cc=linux-hwmon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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).