mbox series

[v2,0/3] iio: adc: ad7192: Functional fixes

Message ID CAPJMGm4PU0YgU0DhMvNZK58JzEhg_eszFaXfmyuY1ymjR617Xw@mail.gmail.com (mailing list archive)
Headers show
Series iio: adc: ad7192: Functional fixes | expand

Message

Fabrizio Lamarque April 13, 2023, 8:26 a.m. UTC
This patch series fixes two bugs introduced in ad7192 ADC driver in
the last commits and adds related bindings documentation.

Changes in v2:
 - Obtained ad7192_state from iio_dev pointer
 - Added patch on bindings documentation

Backported patches have been tested on a custom board (ARM v7, NXP)
with kernel 5.15.

There is still an unresolved issue with the IRQ management on the
shared SPI-SDO/RDY pin causing single samples to be discarded. More
information and possible solutions here:
https://lore.kernel.org/all/CAPJMGm4GaSjD6bdqMwCr2EVZGenWzT-nCCf3BMRaD1TSfAabpA@mail.gmail.com/

In addition, this patch is required to make libiio start up correctly:
https://lore.kernel.org/all/20230330102100.17590-1-paul@crapouillou.net/

Links to v1:
- https://lore.kernel.org/linux-iio/CAPJMGm4GDVdAmwB4sHVkg78UhtVpmbCL6KT8-KbEY7cRSD5UZg@mail.gmail.com/
- https://lore.kernel.org/linux-iio/CAPJMGm4StRvJ4zTyrOb7ebo47LrR9bBuZ46p7VOxkDfwWSG=PA@mail.gmail.com/

Fabrizio Lamarque (3):
  iio: adc: ad7192: Fix null ad7192_state pointer access
  iio: adc: ad7192: Fix internal/external clock selection
  iio: adc: ad7192: Clarify binding documentation

 .../bindings/iio/adc/adi,ad7192.yaml          | 28 +++++++++++++++----
 drivers/iio/adc/ad7192.c                      | 26 +++++++++--------
 2 files changed, 36 insertions(+), 18 deletions(-)