summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Makefile
diff options
context:
space:
mode:
authorAndreas Klinger <ak@it-klinger.de>2017-01-05 18:51:57 +0100
committerJonathan Cameron <jic23@kernel.org>2017-01-10 19:54:59 +0000
commitc3b2fdd0ea7ee5c01c1f0d572a32aec89c0373a4 (patch)
treeb40a354c7655a25f7ac880c0f83b32bdd26a57c7 /drivers/iio/adc/Makefile
parentff1293f67734da68e23fecb6ecdae7112b8c43f9 (diff)
downloadlinux-stable-c3b2fdd0ea7ee5c01c1f0d572a32aec89c0373a4.tar.gz
linux-stable-c3b2fdd0ea7ee5c01c1f0d572a32aec89c0373a4.tar.bz2
linux-stable-c3b2fdd0ea7ee5c01c1f0d572a32aec89c0373a4.zip
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/Makefile')
-rw-r--r--drivers/iio/adc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile
index f8e12188c6ae..260d083a2b3f 100644
--- a/drivers/iio/adc/Makefile
+++ b/drivers/iio/adc/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_ENVELOPE_DETECTOR) += envelope-detector.o
obj-$(CONFIG_EXYNOS_ADC) += exynos_adc.o
obj-$(CONFIG_FSL_MX25_ADC) += fsl-imx25-gcq.o
obj-$(CONFIG_HI8435) += hi8435.o
+obj-$(CONFIG_HX711) += hx711.o
obj-$(CONFIG_IMX7D_ADC) += imx7d_adc.o
obj-$(CONFIG_INA2XX_ADC) += ina2xx-adc.o
obj-$(CONFIG_LP8788_ADC) += lp8788_adc.o