Skip to contentSkip to conversation

iio: adc: hx711: Add IIO driver for AVIA HX711 ADC

PATCH Superseded Andreas Klinger 1 participant 1 message Dec 13, 2016 IIO

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

cover iio: adc: hx711: Add IIO driver for AVIA HX711 ADC

This series adds IIO driver support for the AVIA HX711 ADC which is mostly used in weighting cells.

The first patch adds the new DT binding for which a new vendor avia was also added.

The second patch is the simple IIO driver implemented as ADC. The protocol is specific to this device and implemented using GPIO's. Documentation of the chip can be found here:

https://cdn.sparkfun.com/datasheets/Sensors/ForceFlex/hx711_english.pdf

Andreas Klinger (2):
documented DT-binding avia,hx711
added avia,hx711 driver

 .../devicetree/bindings/iio/adc/avia-hx711.txt     |  23 ++
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 drivers/iio/adc/Kconfig                            |  13 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/iio/adc/hx711.c                            | 269 +++++++++++++++++++++
 5 files changed, 307 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/avia-hx711.txt
 create mode 100644 drivers/iio/adc/hx711.c
Signature · 1 line
2.1.4