From: Mugilraj Dhavachelvan <dmugil2000@gmail.com>
To: Dragos.Bogdan@analog.com, Darius.Berghe@analog.com,
Rob Herring <robh+dt@kernel.org>,
Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Mugilraj Dhavachelvan <dmugil2000@gmail.com>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Guenter Roeck <linux@roeck-us.net>,
Chris Packham <chris.packham@alliedtelesis.co.nz>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Alexandru Ardelean <alexandru.ardelean@analog.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-iio@vger.kernel.org
Subject: [PATCH v3 0/2] iio: potentiometer: Add driver support for AD5110
Date: Sat, 14 Aug 2021 23:25:38 +0530 [thread overview]
Message-ID: <20210814175607.48399-1-dmugil2000@gmail.com> (raw)
Add dt-bindings and driver support for AD5110, a Nonvolatile
Digital Potentiometer.
Changes since v2:
- Drop Redundant blank lines
- Add missed prefix name
- Add comma to non terminator line
- Add missed error code return when ret < 0
- Explanation for msleep(20)
- Change to IIO_DEVICE_ATTR_RW()
- Remove comma for terminator line
- Drop data->cfg dead code since I'm using probe_new()
Changes since v1:
- Drop 'shared_by_type' since it's a single channel
- Add error check for i2c read/write data bytes
- Simplified calculation for tolerance
- Add shift for eeprom wiper pos read
- Change new custom ABI to existing ABI
- Allow top-scale mode by writting max_pos to val
Mugilraj Dhavachelvan (2):
dt-bindings: iio: potentiometer: Add AD5110 in trivial-devices
iio: potentiometer: Add driver support for AD5110
.../devicetree/bindings/trivial-devices.yaml | 2 +
MAINTAINERS | 6 +
drivers/iio/potentiometer/Kconfig | 10 +
drivers/iio/potentiometer/Makefile | 1 +
drivers/iio/potentiometer/ad5110.c | 345 ++++++++++++++++++
5 files changed, 364 insertions(+)
create mode 100644 drivers/iio/potentiometer/ad5110.c
--
2.25.1
next reply other threads:[~2021-08-14 17:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-14 17:55 Mugilraj Dhavachelvan [this message]
2021-08-14 17:55 ` [PATCH v3 1/2] dt-bindings: iio: potentiometer: Add AD5110 in trivial-devices Mugilraj Dhavachelvan
2021-08-14 17:55 ` [PATCH v3 2/2] iio: potentiometer: Add driver support for AD5110 Mugilraj Dhavachelvan
2021-08-14 19:45 ` Andy Shevchenko
2021-08-15 14:39 ` Jonathan Cameron
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=20210814175607.48399-1-dmugil2000@gmail.com \
--to=dmugil2000@gmail.com \
--cc=Darius.Berghe@analog.com \
--cc=Dragos.Bogdan@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=alexandre.belloni@bootlin.com \
--cc=alexandru.ardelean@analog.com \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=krzk@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--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).