diff options
author | Andreas Klinger <ak@it-klinger.de> | 2017-01-05 18:51:57 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-10 19:54:59 +0000 |
commit | c3b2fdd0ea7ee5c01c1f0d572a32aec89c0373a4 (patch) | |
tree | b40a354c7655a25f7ac880c0f83b32bdd26a57c7 /drivers/iio/adc/qcom-spmi-vadc.c | |
parent | ff1293f67734da68e23fecb6ecdae7112b8c43f9 (diff) |
iio: adc: hx711: Add IIO driver for AVIA HX711
This is the IIO driver for AVIA HX711 ADC which is mostly used in weighting
cells.
The protocol is quite simple and using GPIOs:
One GPIO is used as clock (SCK) while another GPIO is read (DOUT)
The raw value read from the chip is delivered.
To get a weight one needs to subtract the zero offset and scale it.
Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/qcom-spmi-vadc.c')
0 files changed, 0 insertions, 0 deletions