Re: [PATCH v3 1/3] dt-bindings: iio: adc: avia-hx711: add avia,hx710b compatible
From: Piyush Patle
Date: Sun Apr 26 2026 - 12:44:43 EST
On Sun, Apr 26, 2026 at 9:58 PM David Lechner <dlechner@xxxxxxxxxxxx> wrote:
>
> On 4/22/26 12:59 PM, Piyush Patle wrote:
> > The HX710B shares the same two-wire interface as the HX711 but differs
> > in its channel and gain model: gain is fixed at 128 and the number of
> > trailing PD_SCK pulses selects the input channel rather than the gain.
> >
> > Add avia,hx710b to the compatible enum. Document the chip differences
> > in the description and add chip-specific supply properties (dvdd-supply,
> > vsup-supply) for the HX711, a rate-gpios property for the HX711 RATE
> > pin, and an allOf constraint that forbids HX711-only properties on
> > HX710B nodes. Clarify the clock-frequency description to reflect its
> > actual purpose: controlling the SCK bit-bang timing.
> >
> > Signed-off-by: Piyush Patle <piyushpatle228@xxxxxxxxx>
> > ---
> > Changes in v3:
> > - Drop the vref-supply mention from avdd-supply; no such binding
> > property exists.
>
> Why is there no vref-supply?
>
> HX710B has a VREF pin for a reference voltage input.
>
In v4 I will add vref-supply as an HX710B property and update the
allOf block accordingly.
Regards,
Piyush Patle