iio: adc: ad799x: reference voltage capability
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review
- v12 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iio: adc: ad799x: add reference voltage capability to chip_infodrivers/ | +12 | 1 reply | |
| 2/2 | iio: adc: ad799x: add reference voltage to ad7994drivers/ | +1 | 1 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.
| Patch | David Lechner | Andy Shevchenko |
|---|---|---|
| Series | R-b | |
| 1/2 | A-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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