public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/2] hwmon: Add driver for Texas Instruments TMP512/513 sensor chips.
@ 2019-11-11 20:34 etremblay
  2019-11-11 20:34 ` [PATCH v7 1/2] dt-bindings: hwmon: Add TMP512/513 etremblay
  2019-11-11 20:34 ` [PATCH v7 2/2] hwmon: Add driver for Texas Instruments TMP512/513 sensor chips etremblay
  0 siblings, 2 replies; 8+ messages in thread
From: etremblay @ 2019-11-11 20:34 UTC (permalink / raw)
  To: linux, linux-hwmon, devicetree, linux-doc
  Cc: jdelvare, robh+dt, mark.rutland, corbet

From: Eric Tremblay <etremblay@distech-controls.com>

Version seven of the driver for Texas Instruments TMP512/513 sensors.

Thanks for the review

Main changes from version 6:
	- Add tmp513 to index.rst
	- Use microvolt instead of volt for bus voltage range
	- Fix current value interpretation
	- Wrap dt-bindings lines to 80 characters

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  |  89 ++
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/tmp513.rst                | 104 +++
 MAINTAINERS                                   |   7 +
 drivers/hwmon/Kconfig                         |  10 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/tmp513.c                        | 789 ++++++++++++++++++
 7 files changed, 1001 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


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

end of thread, other threads:[~2019-11-12 15:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-11 20:34 [PATCH v7 0/2] hwmon: Add driver for Texas Instruments TMP512/513 sensor chips etremblay
2019-11-11 20:34 ` [PATCH v7 1/2] dt-bindings: hwmon: Add TMP512/513 etremblay
2019-11-12  1:03   ` Rob Herring
2019-11-12 15:01     ` Tremblay, Eric
2019-11-12  1:45   ` Guenter Roeck
2019-11-12 14:40     ` Tremblay, Eric
2019-11-11 20:34 ` [PATCH v7 2/2] hwmon: Add driver for Texas Instruments TMP512/513 sensor chips etremblay
2019-11-12 13:41   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox