linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: ad5272: Add support for Analog Devices digital potentiometers
@ 2018-01-16  9:48 Phil Reid
  2018-01-16  9:48 ` [PATCH v2 1/2] dt-bindings: ad5272: Add bindings " Phil Reid
  2018-01-16  9:49 ` [PATCH v2 2/2] iio: ad5272: Add support " Phil Reid
  0 siblings, 2 replies; 7+ messages in thread
From: Phil Reid @ 2018-01-16  9:48 UTC (permalink / raw)
  To: jic23, knaack.h, lars, pmeerw, robh+dt, mark.rutland,
	Michael.Hennerich, preid, linux-iio, devicetree,
	alexandru.ardelean

Add documentation and driver for the Analog Devices 5272.

Driver currently doesn't support programing the RDAC position to 
non-volatile memory. 

Changes from v1:
- Use sizeof for i2c buffer lens
- Condense code a little when setting up i2c buf
- check val2 in raw write
- Add reset function. Perform a software reset if
  gpio reset pin is not defined
- remove THIS_MODULE assignment
- change of data to use index as per i2c device table


Phil Reid (2):
  dt-bindings: ad5272: Add bindings for Analog Devices digital
    potentiometers
  iio: ad5272: Add support for Analog Devices digital potentiometers

 .../bindings/iio/potentiometer/ad5272.txt          |  27 +++
 drivers/iio/potentiometer/Kconfig                  |  10 +
 drivers/iio/potentiometer/Makefile                 |   1 +
 drivers/iio/potentiometer/ad5272.c                 | 227 +++++++++++++++++++++
 4 files changed, 265 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/potentiometer/ad5272.txt
 create mode 100644 drivers/iio/potentiometer/ad5272.c

-- 
1.8.3.1

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

end of thread, other threads:[~2018-01-29  2:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-16  9:48 [PATCH v2 0/2] iio: ad5272: Add support for Analog Devices digital potentiometers Phil Reid
2018-01-16  9:48 ` [PATCH v2 1/2] dt-bindings: ad5272: Add bindings " Phil Reid
2018-01-16  9:49 ` [PATCH v2 2/2] iio: ad5272: Add support " Phil Reid
2018-01-16 17:01   ` Lars-Peter Clausen
2018-01-17  1:46     ` Phil Reid
2018-01-21 12:11       ` Jonathan Cameron
2018-01-29  2:14         ` Phil Reid

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).