diff options
author | Andreas Klinger | 2019-03-17 21:38:03 +0100 |
---|---|---|
committer | Jonathan Cameron | 2019-04-04 20:20:17 +0100 |
commit | 16b05261537e36cc64369291688a84c36ac3cae3 (patch) | |
tree | 639ab36076f481cd97d48f7b999ab0c66d0f199b /drivers/iio/proximity/Makefile | |
parent | 7483e40d7e43fb718d1014cee650b2333cf23116 (diff) |
mb1232.c: add distance iio sensor with i2c
Add I2CXL-MaxSonar ultrasonic distance sensors of types mb1202, mb1212,
mb1222, mb1232, mb1242, mb7040, mb7137 using an i2c interface
Implemented functionality:
- reading the distance via in_distance_raw
- buffered mode with trigger
- make use of interrupt to announce completion of ranging
Add mb1232 driver to Kconfig and Makefile
Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity/Makefile')
-rw-r--r-- | drivers/iio/proximity/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Makefile b/drivers/iio/proximity/Makefile index 6d031f903c4c..0bb5f9de13d6 100644 --- a/drivers/iio/proximity/Makefile +++ b/drivers/iio/proximity/Makefile @@ -7,6 +7,7 @@ obj-$(CONFIG_AS3935) += as3935.o obj-$(CONFIG_ISL29501) += isl29501.o obj-$(CONFIG_LIDAR_LITE_V2) += pulsedlight-lidar-lite-v2.o +obj-$(CONFIG_MB1232) += mb1232.o obj-$(CONFIG_RFD77402) += rfd77402.o obj-$(CONFIG_SRF04) += srf04.o obj-$(CONFIG_SRF08) += srf08.o |