devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] iio: ad5272: Add support for Analog Devices digital potentiometers
@ 2018-01-29 13:12 Phil Reid
       [not found] ` <1517231574-92777-1-git-send-email-preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Phil Reid @ 2018-01-29 13:12 UTC (permalink / raw)
  To: jic23-DgEjT+Ai2ygdnm+yROfE0A, knaack.h-Mmb7MZpHnFY,
	lars-Qo5EllUWu/uELgA04lAiVw, pmeerw-jW+XmwGofnusTnJN9+BGXg,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	Michael.Hennerich-OyLXuOCK7orQT0dZR+AlfA,
	preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO,
	linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Add documentation and driver for the Analog Devices 5272.

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

Changes from v3:
- move SPDX-License-Identifier to line 1
- add AD5274 to Kconfig description
- Add missing empty line before return

Changes from v2:
- docs: Fix polarity of reset-gpio example to match driver
- Use a cached aligned buffer for i2c
- remove old invalid comment from c&p

Changes from v1:
- Use spdx license id
- 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] 9+ messages in thread

end of thread, other threads:[~2018-02-07 10:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 13:12 [PATCH v4 0/2] iio: ad5272: Add support for Analog Devices digital potentiometers Phil Reid
     [not found] ` <1517231574-92777-1-git-send-email-preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>
2018-01-29 13:12   ` [PATCH v4 1/2] dt-bindings: ad5272: Add bindings " Phil Reid
     [not found]     ` <1517231574-92777-2-git-send-email-preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>
2018-02-04 10:34       ` Jonathan Cameron
2018-02-05  6:07       ` Rob Herring
2018-02-05  7:25         ` Phil Reid
     [not found]           ` <f1d2bf62-c4b7-9cd4-4962-3c07c22bdb5e-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>
2018-02-07 10:50             ` Jonathan Cameron
2018-02-05  8:34       ` Brandon Martin
2018-01-29 13:12   ` [PATCH v4 2/2] iio: ad5272: Add support " Phil Reid
     [not found]     ` <1517231574-92777-3-git-send-email-preid-qgqNFa1JUf/o2iN0hyhwsIdd74u8MsAO@public.gmane.org>
2018-02-04 10:57       ` Jonathan Cameron

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