Add support for AD4129-4/8, AD4130-4, and AD4131-4/8
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 2 repliesIn review
- v25 patches 6 repliesSuperseded
- v13 patches 6 repliesSuperseded
Changes in v3 from the cover letter
* Since we have either FIFO or triggered buffer configured, create
a union struct with the FIFO buffers and the triggered buffer
scan channel declaration to save memory.
* Some lines in the ad4130_trigger_handler() were ending in comma instead
of a semicolon. Replaced the commas with semicolons for those cases.
* Inverted logic for wait_for_completion_timeout() check in
ad4130_trigger_handler(). It was warning on success.
* Addressed other minor suggestions. See individual patches.
* Link to v2: https://lore.kernel.org/linux-iio/[email protected]/T/#t/
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: iio: adc: ad4130: Document interrupts propertyDocumentation/ | +4 | 0 replies | |
| 2/5 | dt-bindings: iio: adc: ad4130: Add new supported partsDocumentation/ | +13 | 2 replies | |
| 3/5 | iio: adc: ad4130: Add SPI device ID tabledrivers/ | +7 | 0 replies | |
| 4/5 | iio: adc: ad4130: introduce chip info for future multidevice supportdrivers/ | +30 | 0 replies | |
| 5/5 | iio: adc: ad4130: add new supported partsdrivers/ | +373 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Andy Shevchenko |
|---|---|---|
| 1/5 | A-b | |
| 2/5 | A-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] Add support for AD4129-4/8, AD4130-4, and AD4131-4/8
This patch series extends the AD4130 driver to support additional variants in the AD4130 family: AD4129-4/8, AD4130-4, and AD4131-4/8.
The series introduces a chip info architecture to handle device-specific differences. The AD4129 series provides 16-bit resolution with FIFO support, while the AD4131 series offers 24-bit resolution but without FIFO capability, requiring triggered buffer implementation. The 4-channel variants feature reduced analog inputs, fewer GPIOs, and sparse pin mappings.
---
Changes in v3:
* Since we have either FIFO or triggered buffer configured, create
a union struct with the FIFO buffers and the triggered buffer
scan channel declaration to save memory.
* Some lines in the ad4130_trigger_handler() were ending in comma instead
of a semicolon. Replaced the commas with semicolons for those cases.
* Inverted logic for wait_for_completion_timeout() check in
ad4130_trigger_handler(). It was warning on success.
* Addressed other minor suggestions. See individual patches.
* Link to v2: https://lore.kernel.org/linux-iio/[email protected]/T/#t/
Changes in v2:
* Add patch documenting the interrupts property.
* Add patch for the SPI id table, moving its content from the chip info
patch.
* Addressed other minor suggestions. See individual patches.
* Link to v1: https://lore.kernel.org/linux-iio/[email protected]/T/#t/
Jonathan Santos (5):
dt-bindings: iio: adc: ad4130: Document interrupts property
dt-bindings: iio: adc: ad4130: Add new supported parts
iio: adc: ad4130: Add SPI device ID table
iio: adc: ad4130: introduce chip info for future multidevice support
iio: adc: ad4130: add new supported parts
.../bindings/iio/adc/adi,ad4130.yaml | 19 +- drivers/iio/adc/ad4130.c | 493 +++++++++++++++--- 2 files changed, 427 insertions(+), 85 deletions(-)
base-commit: d2a4ec19d2a2e54c23b5180e939994d3da4a6b91
Signature · 1 line
2.34.1