public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] iio: adc: hx711: add HX710B support
@ 2026-04-18 17:05 Piyush Patle
  2026-04-18 17:14 ` Piyush Patle
  0 siblings, 1 reply; 2+ messages in thread
From: Piyush Patle @ 2026-04-18 17:05 UTC (permalink / raw)
  To: jic23, ak, robh, krzk+dt, conor+dt; +Cc: linux-iio, devicetree, linux-kernel

Add support for the HX710B ADC, a variant of the HX711 with the same
GPIO interface but a different channel and gain model.

The first patch updates the devicetree binding to add the
`avia,hx710b` compatible and document the variant-specific behavior.
The second patch extends the driver with per-chip configuration, HX710B
channel selection through trailing pulse counts, and fixed-scale
handling for the variant.

Tested on PocketBeagle2 with an HX710B breakout module. The device
probed successfully and raw readings were stable.

Piyush Patle (2):
  dt-bindings: iio: adc: avia-hx711: add avia,hx710b compatible
  iio: adc: hx711: add support for HX710B

 .../bindings/iio/adc/avia-hx711.yaml          |  36 ++-
 drivers/iio/adc/Kconfig                       |   9 +-
 drivers/iio/adc/hx711.c                       | 222 ++++++++++++++----
 3 files changed, 214 insertions(+), 53 deletions(-)

-- 
2.43.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 0/2] iio: adc: hx711: add HX710B support
  2026-04-18 17:05 [PATCH v1 0/2] iio: adc: hx711: add HX710B support Piyush Patle
@ 2026-04-18 17:14 ` Piyush Patle
  0 siblings, 0 replies; 2+ messages in thread
From: Piyush Patle @ 2026-04-18 17:14 UTC (permalink / raw)
  To: jic23, ak, robh, krzk+dt, conor+dt; +Cc: linux-iio, devicetree, linux-kernel

On Sat, Apr 18, 2026 at 10:35 PM Piyush Patle <piyushpatle228@gmail.com> wrote:
>
> Add support for the HX710B ADC, a variant of the HX711 with the same
> GPIO interface but a different channel and gain model.
>
> The first patch updates the devicetree binding to add the
> `avia,hx710b` compatible and document the variant-specific behavior.
> The second patch extends the driver with per-chip configuration, HX710B
> channel selection through trailing pulse counts, and fixed-scale
> handling for the variant.
>
> Tested on PocketBeagle2 with an HX710B breakout module. The device
> probed successfully and raw readings were stable.
>
> Piyush Patle (2):
>   dt-bindings: iio: adc: avia-hx711: add avia,hx710b compatible
>   iio: adc: hx711: add support for HX710B
>
>  .../bindings/iio/adc/avia-hx711.yaml          |  36 ++-
>  drivers/iio/adc/Kconfig                       |   9 +-
>  drivers/iio/adc/hx711.c                       | 222 ++++++++++++++----
>  3 files changed, 214 insertions(+), 53 deletions(-)
>
> --
> 2.43.0

The two patches in this series were sent without proper In-Reply-To
threading by mistake.

Patch 1/2:
[PATCH v1 1/2] dt-bindings: iio: adc: avia-hx711: add avia,hx710b compatible

Patch 2/2:
[PATCH v1 2/2] iio: adc: hx711: add support for HX710B

Apologies!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-18 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-18 17:05 [PATCH v1 0/2] iio: adc: hx711: add HX710B support Piyush Patle
2026-04-18 17:14 ` Piyush Patle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox