|
|
Subscribe / Log in / New account

Add support for ADS131E0x ADC family

From:  tomislav.denis-AT-avl.com
To:  jic23-AT-kernel.org
Subject:  [PATCH v3 0/2] Add support for ADS131E0x ADC family
Date:  Tue, 12 Jan 2021 10:51:26 +0100
Message-ID:  <20210112095128.7112-1-tomislav.denis@avl.com>
Cc:  linux-iio-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, tomislav.denis-AT-avl.com
Archive-link:  Article

From: Tomislav Denis <tomislav.denis@avl.com>

This patchset adds support for Texas Instruments ADS131E0x
analog-to-digital converters family.

Datasheet: https://www.ti.com/lit/ds/symlink/ads131e08.pdf

Changes in v3:
- update driver description in Kconfig 
- reorder includes in alphabetical order
- replace all occurrences of sizeof(type) with sizeof(variable)
- validate gain and channel mux values when parsing DT
- use of_device_get_match_data insted spi_get_device_id mapping
- proper handling of devm_regulator_get_optional error
- fetch vref regulator value each time when reading the scale value
- remove spi_device_id table
- fix wrong maximum value in driver bindings


Tomislav Denis (2):
  iio: adc: Add driver for Texas Instruments ADS131E0x ADC family
  bindings: iio: adc: Add documentation for ADS131E0x ADC driver

 .../devicetree/bindings/iio/adc/ti,ads131e08.yaml  | 181 ++++
 MAINTAINERS                                        |   7 +
 drivers/iio/adc/Kconfig                            |  12 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/ti-ads131e08.c                     | 960 +++++++++++++++++++++
 5 files changed, 1161 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads131e08.yaml
 create mode 100644 drivers/iio/adc/ti-ads131e08.c

-- 
2.7.4



Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds