diff options
author | Andreas Klinger <ak@it-klinger.de> | 2019-03-17 21:38:03 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-04 21:20:17 +0200 |
commit | 16b05261537e36cc64369291688a84c36ac3cae3 (patch) | |
tree | 639ab36076f481cd97d48f7b999ab0c66d0f199b /drivers/pnp/base.h | |
parent | dt-bindings: maxbotix,mb1232: Add MaxBotix i2c ultrasonic rangers (diff) | |
download | linux-16b05261537e36cc64369291688a84c36ac3cae3.tar.xz linux-16b05261537e36cc64369291688a84c36ac3cae3.zip |
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/pnp/base.h')
0 files changed, 0 insertions, 0 deletions