From: "Tremblay, Eric" <etremblay@distech-controls.com>
To: "linux-hwmon@vger.kernel.org" <linux-hwmon@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>
Cc: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"mark.rutland@arm.com" <mark.rutland@arm.com>,
Jonathan Corbet <corbet@lwn.net>
Subject: [PATCH v6 0/2] hwmon: Add driver for Texas Instruments TMP512/513 sensor chips
Date: Tue, 29 Oct 2019 15:04:23 +0000 [thread overview]
Message-ID: <DM6PR01MB4844FAE9F161D08EDB128BE295610@DM6PR01MB4844.prod.exchangelabs.com> (raw)
Version six of the driver for Texas Instruments TMP512/513 sensors.
Except for the renaming of the shunt-resistor-micro-ohms property,
the changes are only in the binding documentation.
Thanks
Main changes from version 5:
- Use shunt-resistor-micro-ohms standard property
- Fix alignment between 'enum' and 'default' in dt-bindings
Main changes from version 4:
- Remove config_lock mutex
- Rewrite dt-bindings in yaml
Main changes from version 3:
- Remove tmp51x_config structure, there was no useful static
field in the structure. The data was moved to tmp51x_data
structure.
- Remove platform data
- use device_ API instead of of_device API
- Use array for n-Factor values.
- Set shunt default value to 1000 uOhms
Main changes from version 2:
- Remove the neccessity to provide a shunt-resistor value
- Remove max-expected-current-ma configuration and always
use max possible current for calibration
- Make sure calculation during calibration can't overflow
- Add value clamping for DT value and runtime parameters
- Support non DT system
- Move hysteresis from DT to standard attribute
Main changes from version 1:
- Use the with_info API instead of sysfs attributes.
- Remove non-standard attributes and raw value.
- Move settings that were non-standard attributes to
device tree, update documentation as well.
- Fix coding style issues
Eric Tremblay (2):
dt-bindings: hwmon: Add TMP512/513
hwmon: Add driver for Texas Instruments TMP512/513 sensor chips.
.../devicetree/bindings/hwmon/ti,tmp513.yaml | 88 ++
Documentation/hwmon/tmp513.rst | 102 +++
MAINTAINERS | 7 +
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/tmp513.c | 785 ++++++++++++++++++
6 files changed, 993 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml
create mode 100644 Documentation/hwmon/tmp513.rst
create mode 100644 drivers/hwmon/tmp513.c
--
2.17.1
reply other threads:[~2019-10-29 15:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=DM6PR01MB4844FAE9F161D08EDB128BE295610@DM6PR01MB4844.prod.exchangelabs.com \
--to=etremblay@distech-controls.com \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@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: 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).