diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2016-08-22 09:44:32 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-09-09 07:34:17 +0300 |
commit | 88de8e1d43e2a1c591e9fd261d0443826c7bebee (patch) | |
tree | 5d92cb0e1ed58a32cd46b9be0f9ac7a1effb1613 /Documentation/devicetree | |
parent | d5f3f6c8123388a6f978f2593cfe0e8ba8c30801 (diff) | |
download | linux-88de8e1d43e2a1c591e9fd261d0443826c7bebee.tar.xz |
hwmon: (max6650) Add devicetree support documentation
This adds the devicetree binding documentation for the max6650 fan
controller.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/max6650.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/max6650.txt b/Documentation/devicetree/bindings/hwmon/max6650.txt new file mode 100644 index 000000000000..d6c10e3680cb --- /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>; + }; |