Skip to content

hwmon: Add TI ads1000/ads1100 driver package

Serge Semin linux-devicetree linux-doc linux-hwmon linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: hwmon: Add DT bindings for TI ads1000/ads1100 ADCsDocumentation/devicetree/bindings/hwmon/ads1000.txt Documentation/hwmon/ads1000.rst+133 -02 replies
2/2hwmon: Add ads1000/ads1100 voltage ADCs driverMAINTAINERS drivers/hwmon/Kconfig drivers/hwmon/Makefile +2 more+359 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] hwmon: Add TI ads1000/ads1100 driver package

This a simple single-channel ADC device similar to ads1100 series, but with much less capabilities. These ADCs are working over i2c-interface with just one differential input and with configurable 12-16 bits resolution. Sample rate is fixed to 128 for ads1000 and can vary from 8 to 128 for ads1100. Vdd value reference value must be supplied so to properly translate the sampled code to the real voltage.

Even though ads1000/ads1100 devices seem more like ads1015 series, they in fact pretty much different. First of all ads1000/ads1100 got less
capabilities: just one port, no configurations of digital comparator, no input multi-channel multiplexer, smaller PGA and data-rate ranges. In addition they haven't got internal voltage reference, but instead are created to use Vdd pin voltage. Finally the output code value is provided in different format. As a result it was much easier for development and for future support to create a separate driver, which is opensoureced by means of this patchset.

Serge Semin (2):
dt-bindings: hwmon: Add DT bindings for TI ads1000/ads1100 ADCs
hwmon: Add ads1000/ads1100 voltage ADCs driver

 .../devicetree/bindings/hwmon/ads1000.txt     |  61 ++++
 Documentation/hwmon/ads1000.rst               |  72 ++++
 MAINTAINERS                                   |   8 +
 drivers/hwmon/Kconfig                         |  10 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/ads1000.c                       | 320 ++++++++++++++++++
 include/linux/platform_data/ads1000.h         |  20 ++
 7 files changed, 492 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/ads1000.txt
 create mode 100644 Documentation/hwmon/ads1000.rst
 create mode 100644 drivers/hwmon/ads1000.c
 create mode 100644 include/linux/platform_data/ads1000.h
Signature · 1 line
2.21.0