[PATCH v3 0/3] iio: adc: add support for ltc2496

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

 



Hello,

this is v3 of a series generalizing the driver of the ltc2497 (an i2c
ADC) to be able to reuse most of the code for the ltc2496 (an spi
variant of the ltc2497).

Iteration v2 started with Message-Id:
20191114105159.14195-1-u.kleine-koenig@xxxxxxxxxxxxxx.

The changes since v2 are based on feedback by Jonathan Cameron:

 - rename common file to ltc2497-core.c (from ltc249x.c), also don't use
   ltc249x in names for cpp symbols, functions and variables.
 - properly align spi and i2c transfer buffers for DMA maintenance
 - improve dt binding to mention spi specific properties

Best regards
Uwe

Uwe Kleine-König (3):
  iio: adc: ltc2496: provide device tree binding document
  iio: adc: ltc2497: split protocol independent part in a separate
    module
  iio: adc: new driver to support Linear technology's ltc2496

 .../bindings/iio/adc/lltc,ltc2496.yaml        |  37 +++
 MAINTAINERS                                   |   2 +-
 drivers/iio/adc/Kconfig                       |  10 +
 drivers/iio/adc/Makefile                      |   3 +-
 drivers/iio/adc/ltc2496.c                     | 108 ++++++++
 drivers/iio/adc/ltc2497-core.c                | 243 ++++++++++++++++++
 drivers/iio/adc/ltc2497.c                     | 234 ++---------------
 drivers/iio/adc/ltc2497.h                     |  18 ++
 8 files changed, 445 insertions(+), 210 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/lltc,ltc2496.yaml
 create mode 100644 drivers/iio/adc/ltc2496.c
 create mode 100644 drivers/iio/adc/ltc2497-core.c
 create mode 100644 drivers/iio/adc/ltc2497.h

-- 
2.24.0




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux