linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwmon: (max6650.c) Add devicetree support documentation
@ 2016-08-16  7:23 Mike Looijmans
  2016-08-18 19:11 ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Looijmans @ 2016-08-16  7:23 UTC (permalink / raw)
  To: robh+dt, devicetree
  Cc: hjk, linux, linux-hwmon, linux-kernel, mark.rutland, Mike Looijmans

This adds the devicetree binding documentation for the max6650 fan
controller.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
---
Associated code changes sent as a separate patch as requested.

 .../devicetree/bindings/hwmon/max6650.txt          | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/max6650.txt

diff --git a/Documentation/devicetree/bindings/hwmon/max6650.txt b/Documentation/devicetree/bindings/hwmon/max6650.txt
new file mode 100644
index 0000000..2e46e69
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/max6650.txt
@@ -0,0 +1,23 @@
+Bindings for MAX6651 and MAX6650 I2C fan controllers
+
+Reference:
+[1]	https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
+
+Required properties:
+- compatible : One of "maxim,max6650" or "maxim,max6651"
+- reg        : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48.
+
+Optional properties, default is to retain the chip's current setting:
+- maxim,fan-microvolt : The supply voltage of the fan, sets the ADC range to
+			either 5V or 12V. Max value 13500000.
+- 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.
+
+Example:
+	fan-max6650: max6650@1b {
+		reg = <0x1b>;
+		compatible = "maxim,max6650";
+		maxim,fan-microvolt = <12000000>;
+		maxim,fan-prescale = <4>;
+	};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] hwmon: (max6650.c) Add devicetree support documentation
  2016-08-16  7:23 [PATCH] hwmon: (max6650.c) Add devicetree support documentation Mike Looijmans
@ 2016-08-18 19:11 ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2016-08-18 19:11 UTC (permalink / raw)
  To: Mike Looijmans
  Cc: devicetree, hjk, linux, linux-hwmon, linux-kernel, mark.rutland

On Tue, Aug 16, 2016 at 09:23:10AM +0200, Mike Looijmans wrote:
> This adds the devicetree binding documentation for the max6650 fan
> controller.
> 
> Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
> ---
> Associated code changes sent as a separate patch as requested.
> 
>  .../devicetree/bindings/hwmon/max6650.txt          | 23 ++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/max6650.txt

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] hwmon: (max6650.c) Add devicetree support documentation
  2016-08-22  6:44 Mike Looijmans
  2016-08-23 18:05 ` Rob Herring
@ 2016-09-09  4:18 ` Guenter Roeck
  1 sibling, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2016-09-09  4:18 UTC (permalink / raw)
  To: Mike Looijmans, devicetree; +Cc: robh, linux-hwmon, linux-kernel

On 08/21/2016 11:44 PM, Mike Looijmans wrote:
> This adds the devicetree binding documentation for the max6650 fan
> controller.
>
> Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>

Applied to hwmon-next.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] hwmon: (max6650.c) Add devicetree support documentation
  2016-08-22  6:44 Mike Looijmans
@ 2016-08-23 18:05 ` Rob Herring
  2016-09-09  4:18 ` Guenter Roeck
  1 sibling, 0 replies; 5+ messages in thread
From: Rob Herring @ 2016-08-23 18:05 UTC (permalink / raw)
  To: Mike Looijmans; +Cc: devicetree, linux, linux-hwmon, linux-kernel

On Mon, Aug 22, 2016 at 08:44:32AM +0200, Mike Looijmans wrote:
> This adds the devicetree binding documentation for the max6650 fan
> controller.
> 
> Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
> ---
> v2: Allow only 12V or 5V supply voltage
>  .../devicetree/bindings/hwmon/max6650.txt          | 23 ++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/max6650.txt

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] hwmon: (max6650.c) Add devicetree support documentation
@ 2016-08-22  6:44 Mike Looijmans
  2016-08-23 18:05 ` Rob Herring
  2016-09-09  4:18 ` Guenter Roeck
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Looijmans @ 2016-08-22  6:44 UTC (permalink / raw)
  To: devicetree; +Cc: robh, linux, linux-hwmon, linux-kernel, Mike Looijmans

This adds the devicetree binding documentation for the max6650 fan
controller.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
---
v2: Allow only 12V or 5V supply voltage
 .../devicetree/bindings/hwmon/max6650.txt          | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/max6650.txt

diff --git a/Documentation/devicetree/bindings/hwmon/max6650.txt b/Documentation/devicetree/bindings/hwmon/max6650.txt
new file mode 100644
index 0000000..d6c10e3
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/max6650.txt
@@ -0,0 +1,23 @@
+Bindings for MAX6651 and MAX6650 I2C fan controllers
+
+Reference:
+[1]	https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
+
+Required properties:
+- compatible : One of "maxim,max6650" or "maxim,max6651"
+- reg        : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48.
+
+Optional properties, default is to retain the chip's current setting:
+- maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or
+			12000000 uV.
+- 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.
+
+Example:
+	fan-max6650: max6650@1b {
+		reg = <0x1b>;
+		compatible = "maxim,max6650";
+		maxim,fan-microvolt = <12000000>;
+		maxim,fan-prescale = <4>;
+	};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-09  4:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-16  7:23 [PATCH] hwmon: (max6650.c) Add devicetree support documentation Mike Looijmans
2016-08-18 19:11 ` Rob Herring
2016-08-22  6:44 Mike Looijmans
2016-08-23 18:05 ` Rob Herring
2016-09-09  4:18 ` Guenter Roeck

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