On Mon, 11 Aug 2025 11:50:00 +0300
Matti Vaittinen <mazziesaccount@gmail.com> wrote:
> Add support for the ROHM BD79105 ADC
> (and do some minor simplifications to the ad7476 driver while at it).
>
> The first 2 patches were originally sent as an RFC:
> https://lore.kernel.org/all/cover.1754041258.git.mazziesaccount@gmail.com/
Hi Matti
Applied to the togreg branch of iio.git. I'll initially push out as testing
though to get some build coverage before there is any chance of making
a mess of linux nex.t
Thanks
Jonathan
>
> Revision history:
> v3 => v4:
> - Add patch:
> 8/11 "dt-bindings: iio: adc: ad7476: Drop redundant prop: true"
> - Drop redundant true -branches also from the bd79105 binding
> - Other patches unchanged.
>
> v2 => v3:
> - Drop 5/10 "Limit the scope of the chip_info"
> - Add 5/10 "use *_cansleep GPIO APIs"
> - Multiple fixes as suggested during v2 review. More accurate
> changelog included in individual patches
>
> v1 => v2:
> - Two new patches:
> 5/10 "Limit the scope of the chip_info" and
> 6/10 "Drop convstart chan_spec"
> Please, let me know if you think some of the changes should be
> squashed.
> - Multiple fixes as suggested during v1 review. More accurate
> changelog included in individual patches
>
> Simplification RFC => ROHM BD79105 support series v1:
> - Use spi_get_device_match_data()
> - Fix uV to mV conversion
> - Rewording of commit message
> - Added patches 3 to 8.
>
> Matti Vaittinen (11):
> iio: adc: ad7476: Simplify chip type detection
> iio: adc: ad7476: Simplify scale handling
> iio: adc: ad7476: Use mV for internal reference
> iio: adc: ad7476: Use correct channel for bit info
> iio: adc: ad7476: use *_cansleep GPIO APIs
> iio: adc: ad7476: Drop convstart chan_spec
> iio: adc: ad7476: Conditionally call convstart
> dt-bindings: iio: adc: ad7476: Drop redundant prop: true
> dt-bindings: iio: adc: ad7476: Add ROHM bd79105
> iio: adc: ad7476: Support ROHM BD79105
> MAINTAINERS: A driver for simple 1-channel SPI ADCs
>
> .../bindings/iio/adc/adi,ad7476.yaml | 100 +++-
> MAINTAINERS | 5 +
> drivers/iio/adc/ad7476.c | 461 +++++++++---------
> 3 files changed, 311 insertions(+), 255 deletions(-)
>
>
> base-commit: 93ef68672bb353838cdf8314be8765c05768916b