Skip to content

iio: adc: ad799x: reference voltage capability

Stefano Manni linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: adc: ad799x: add reference voltage capability to chip_infodrivers/iio/adc/ad799x.c+12 -171 reply
2/2iio: adc: ad799x: add reference voltage to ad7994drivers/iio/adc/ad799x.c+1 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid LechnerAndy Shevchenko
SeriesR-b
1/2A-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] iio: adc: ad799x: reference voltage capability

This patch series refactors 6b104e7895ab16b9b7f466c5f2ca282b87f661e8 in order to add the capability of the chip to have an external reference voltage into the chip_info struct.
And so avoid ugly conditional checks on the chip id.

In addition the AD7994 is marked to have the external reference voltage as well.

Changes in v2 compared to v1 [1]:
* remove has_vref from the chips that do not support it, rely on the default false value
* remove useless message "Supplied reference not supported" shown for all the chips with has_vref = false
* refactor check on regulator being err or zero
* add external reference to ad7994 as oneliner

[1] https://lore.kernel.org/linux-iio/[email protected]/

Stefano Manni (2):
iio: adc: ad799x: add reference voltage capability to chip_info
iio: adc: ad799x: add reference voltage to ad7994

 drivers/iio/adc/ad799x.c | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)
Signature · 1 line
2.48.1