From: Serge Semin <fancer.lancer@gmail.com>
To: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>, Dirk Eibach <eibach@gdsys.de>
Cc: Serge Semin <Sergey.Semin@t-platforms.ru>,
linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org
Subject: [PATCH 0/2] hwmon: Add TI ads1000/ads1100 driver package
Date: Wed, 15 May 2019 01:58:07 +0300 [thread overview]
Message-ID: <20190514225810.12591-1-fancer.lancer@gmail.com> (raw)
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.
Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
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
--
2.21.0
next reply other threads:[~2019-05-14 22:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-14 22:58 Serge Semin [this message]
2019-05-14 22:58 ` [PATCH 1/2] dt-bindings: hwmon: Add DT bindings for TI ads1000/ads1100 ADCs Serge Semin
2019-06-13 20:33 ` Rob Herring
2019-06-14 6:04 ` Serge Semin
2019-05-14 22:58 ` [PATCH 2/2] hwmon: Add ads1000/ads1100 voltage ADCs driver Serge Semin
2019-05-30 12:55 ` Guenter Roeck
2019-06-03 11:11 ` Jonathan Cameron
2019-06-05 20:55 ` Guenter Roeck
2019-06-07 23:01 ` Serge Semin
2019-06-08 1:02 ` Guenter Roeck
2019-06-10 14:57 ` Serge Semin
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=20190514225810.12591-1-fancer.lancer@gmail.com \
--to=fancer.lancer@gmail.com \
--cc=Sergey.Semin@t-platforms.ru \
--cc=eibach@gdsys.de \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/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).