Re: [PATCH v9 04/11] dt-bindings: iio: adc: hx711: add HX710B support
From: Jonathan Cameron
Date: Tue May 26 2026 - 08:33:19 EST
On Sun, 24 May 2026 08:15:27 +0530
Piyush Patle <piyushpatle228@xxxxxxxxx> wrote:
> On Wed, May 20, 2026 at 3:49 PM Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> >
> > On Tue, 19 May 2026 03:32:20 +0530
> > Piyush Patle <piyushpatle228@xxxxxxxxx> wrote:
> >
> > > Add the avia,hx710b compatible and document the HX710B-specific
> > > DVDD and VREF supplies.
> > >
> > > Add constraints that forbid HX711-only properties on HX710B nodes and
> > > require vref-supply for HX710B, then add a separate HX710B example.
> > >
> > > Signed-off-by: Piyush Patle <piyushpatle228@xxxxxxxxx>
> > > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> > > Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> > FWIW the only thing Sashiko doesn't like is dvdd is enabled for the old
> > parts. Move it to the earlier supply adding patch for hx711 and we should
> > be good to go!
> >
> > Jonathan
>
> Because dvdd-supply now lands in 02/11 as a shared property, I will
> remove it from 04/11's properties block. The allOf constraint in
> 04/11 does NOT gain a dvdd-supply: false in the else (HX711) branch
> DVDD is valid and meaningful for HX711 nodes too. The only things
> forbidden for HX711 remain vref-supply (else branch); the only things
> forbidden for HX710B remain vsup-supply and rate-gpios (then branch).
> I think this will be a suitable approach, right ??
Yes. Sounds right to me.
Jonathan