commit | c3b2fdd0ea7ee5c01c1f0d572a32aec89c0373a4 | [log] [tgz] |
---|---|---|
author | Andreas Klinger <ak@it-klinger.de> | Thu Jan 05 18:51:57 2017 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Tue Jan 10 19:54:59 2017 +0000 |
tree | b40a354c7655a25f7ac880c0f83b32bdd26a57c7 | |
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>