From: Mike Looijmans <mike.looijmans@topic.nl> To: robh+dt@kernel.org, devicetree@vger.kernel.org Cc: hjk@hansjkoch.de, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, Mike Looijmans <mike.looijmans@topic.nl> Subject: [PATCH] hwmon: (max6650.c) Add devicetree support documentation Date: Tue, 16 Aug 2016 09:23:10 +0200 [thread overview] Message-ID: <1471332190-14638-1-git-send-email-mike.looijmans@topic.nl> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Mike Looijmans <mike.looijmans-Oq418RWZeHk@public.gmane.org> To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: hjk-vqZO0P4V72/QD6PfKP4TzA@public.gmane.org, linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org, linux-hwmon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, Mike Looijmans <mike.looijmans-Oq418RWZeHk@public.gmane.org> Subject: [PATCH] hwmon: (max6650.c) Add devicetree support documentation Date: Tue, 16 Aug 2016 09:23:10 +0200 [thread overview] Message-ID: <1471332190-14638-1-git-send-email-mike.looijmans@topic.nl> (raw) This adds the devicetree binding documentation for the max6650 fan controller. Signed-off-by: Mike Looijmans <mike.looijmans-Oq418RWZeHk@public.gmane.org> --- 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 -- 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
next reply other threads:[~2016-08-16 7:25 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-08-16 7:23 Mike Looijmans [this message] 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 2016-09-09 4:18 ` 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=1471332190-14638-1-git-send-email-mike.looijmans@topic.nl \ --to=mike.looijmans@topic.nl \ --cc=devicetree@vger.kernel.org \ --cc=hjk@hansjkoch.de \ --cc=linux-hwmon@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@roeck-us.net \ --cc=mark.rutland@arm.com \ --cc=robh+dt@kernel.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.