Skip to contentSkip to conversation

iio: adc: hx711: add HX710B support

PATCH Superseded Piyush Patle 1 participant 2 messages Apr 18 IIO

v1 of 11 Superseded Latest is v11 →

lore
Share & tools
lore
#0 lore raw

cover iio: adc: hx711: add HX710B support

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(-)
Signature · 1 line
2.43.0
#1 lore raw
Quoted 17 lines · Piyush Patle

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

Quoted 7 lines
 .../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!