Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1467401 > unrolled thread
| Started by | Mike Looijmans <mike.looijmans@topic.nl> |
|---|---|
| First post | 2016-08-22 08:50 +0200 |
| Last post | 2016-08-23 20:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] hwmon: (max6650.c) Add devicetree support documentation Mike Looijmans <mike.looijmans@topic.nl> - 2016-08-22 08:50 +0200
Re: [PATCH] hwmon: (max6650.c) Add devicetree support documentation Rob Herring <robh@kernel.org> - 2016-08-23 20:10 +0200
| From | Mike Looijmans <mike.looijmans@topic.nl> |
|---|---|
| Date | 2016-08-22 08:50 +0200 |
| Subject | [PATCH] hwmon: (max6650.c) Add devicetree support documentation |
| Message-ID | <s8Rdw-2H5-21@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2016-08-23 20:10 +0200 |
| Message-ID | <s9oj7-7vX-27@gated-at.bofh.it> |
| In reply to | #1467401 |
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>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web