Re: [PATCH v10 00/11] iio: adc: Add support for AVIA HX710B ADC
From: Jonathan Cameron
Date: Wed May 27 2026 - 13:48:34 EST
On Mon, 25 May 2026 16:21:16 +0530
Piyush Patle <piyushpatle228@xxxxxxxxx> wrote:
> The HX710B is a 24-bit ADC from AVIA Semiconductor, related to the
> HX711 already supported in this driver. Unlike the HX711 (which has
> selectable gain and two input channels), the HX710B has a fixed gain
> of 128 and two operating modes selected by the trailing PD_SCK pulse
> count after each conversion:
>
> 25 pulses (1 trailing): differential input at 10 SPS
> 26 pulses (2 trailing): DVDD-AVDD supply monitor at 40 SPS
> 27 pulses (3 trailing): differential input at 40 SPS
>
> This series first extends the existing HX711 binding and driver with
> preparatory refactoring, then adds HX710B support on top.
>
> The differential input is exposed as a single IIO channel with
> IIO_CHAN_INFO_SAMP_FREQ, allowing userspace to select 10 or 40 SPS
> without needing two separate channels for the same physical input.
> The supply monitor is a second channel at fixed 40 SPS.
>
> Patches 01/11, 02/11, 03/11, and 05/11 have already been applied to
> the iio.git testing branch. They are re-included here so the series
> applies cleanly as a unit.
FWIW I took a look at Sashiko's feedback and other than patch descriptions
and the dt-binding dicussion that is ongoing they were either
- wrong, though that sometimes was for subtle reasons - like the fact we
can't just guess the device if the driver is forced to bind. We should
fail in that case.
- pre existing issues. If you have time to look at those, then great
but I'm not going to insist on that.
Jonathan