[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210814175607.48399-1-dmugil2000@gmail.com>
Date: Sat, 14 Aug 2021 23:25:38 +0530
From: Mugilraj Dhavachelvan <dmugil2000@...il.com>
To: Dragos.Bogdan@...log.com, Darius.Berghe@...log.com,
Rob Herring <robh+dt@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Mugilraj Dhavachelvan <dmugil2000@...il.com>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Guenter Roeck <linux@...ck-us.net>,
Chris Packham <chris.packham@...iedtelesis.co.nz>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Alexandru Ardelean <alexandru.ardelean@...log.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-iio@...r.kernel.org
Subject: [PATCH v3 0/2] iio: potentiometer: Add driver support for AD5110
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
Powered by blists - more mailing lists