Skip to content

Add support for the TI ADS8344 A/DC chips

Gregory CLEMENT linux-arm-kernel linux-devicetree linux-iio 3 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesApplied
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Add the reviewed-by tag from Rob on the binding

- Fix the license inconsistency

- Add a comment about the spinlock based on the exhaustive explanation given by Jonathan

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: iio: adc: Add bindings for TI ADS8344 A/DC chipsDocumentation/devicetree/bindings/iio/adc/ti-ads8344.txt+19 -01 reply
2/2iio: adc: Add driver for the TI ADS8344 A/DC chipsdrivers/iio/adc/Kconfig drivers/iio/adc/Makefile drivers/iio/adc/ti-ads8344.c+215 -04 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Add support for the TI ADS8344 A/DC chips

Hello,

this is the third version of a small series adding the support for the Texas Instruments ADS8344 ADC chip. This chip has a 16-bit 8-Channel ADC and is access directly through SPI.

I finally took time to address the last comments on the second version.

Thanks!

Gregory

Changelog:

v2->v3:

- Add the reviewed-by tag from Rob on the binding

- Fix the license inconsistency

- Add a comment about the spinlock based on the exhaustive explanation given by Jonathan

v1->v2:

- Remove the mention to the #io-channel-cells in the first patch, as there is no consumer.

- Remove scan_index and scan_type, they are not used.

- Use defines for building the command and remove the comment.

- Remove the goto and the label in the probe() function as the label was only use once.

- Remove the "#ifdef CONFIG_OF", the driver already depends on OF.

- Don't use of_match_ptr and rename ads8344_dt_id to ads8344_of_match.

Gregory CLEMENT (2):
dt-bindings: iio: adc: Add bindings for TI ADS8344 A/DC chips
iio: adc: Add driver for the TI ADS8344 A/DC chips

 .../bindings/iio/adc/ti-ads8344.txt           |  19 ++
 drivers/iio/adc/Kconfig                       |  10 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/ti-ads8344.c                  | 204 ++++++++++++++++++
 4 files changed, 234 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/ti-ads8344.txt
 create mode 100644 drivers/iio/adc/ti-ads8344.c
Signature · 1 line
2.20.1