mbox series

[v2,0/3] ad7923 fixes and full range support

Message ID 20220912081223.173584-1-nuno.sa@analog.com
Headers show
Series ad7923 fixes and full range support | expand

Message

Nuno Sa Sept. 12, 2022, 8:12 a.m. UTC
This patchset adds important fixes for some of the variants supported by the
driver with respect with raw and buffered reads. On top of this way, adds
a new firmware property to be able to support all the scales supported by
the hardware.

v2:

[1/3]
 * Calculate shift using 12 - realbits.

[2/3]
 * Use a boolean property and change the code accordingly.

[3/3]
 * Use a boolean property (adi,range-double).

Nuno Sá (3):
  iio: adc: ad7923: fix channel readings for some variants
  iio: adc: ad7923: support extended range
  dt-bindings: iio: adi,ad7923: add adi,range-double property

 .../devicetree/bindings/iio/adc/adi,ad7923.yaml       |  4 ++++
 drivers/iio/adc/ad7923.c                              | 11 +++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)