[PATCH v3 0/2] iio: potentiometer: Add driver support for AD5110

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux