Skip to contentSkip to conversation

iio: srf08: add support for srf02 in i2c mode

PATCH In review Andreas Klinger 1 participant 1 message Aug 17, 2017

Subsystems (2)
lore
Share & tools
lore

Andreas Klinger

author maintainer
#0 lore raw

PATCH v4 5/5 iio: srf08: add support for srf02 in i2c mode

srf02 added with support for i2c interface

Attributes for setting max range or sensitivity are omitted for the case of srf02 type sensor, because they are not supported by the hardware.

---
 drivers/iio/proximity/Kconfig |  8 ++---
 drivers/iio/proximity/srf08.c | 81 +++++++++++++++++++++++++++++++++----------
 2 files changed, 67 insertions(+), 22 deletions(-)
drivers/iio/proximity/Kconfig +4 -4
index df33ccc0d035..ae070950f920 100644
@@ -57,12 +57,12 @@ config SX9500
 	  module will be called sx9500.
 
 config SRF08
-	tristate "Devantech SRF08/SRF10 ultrasonic ranger sensor"
+	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
 	depends on I2C
 	help
-	  Say Y here to build a driver for Devantech SRF08/SRF10 ultrasonic
-	  ranger sensor. This driver can be used to measure the distance
-	  of objects.
+	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
+	  ultrasonic ranger sensors with i2c interface.
+	  This driver can be used to measure the distance of objects.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called srf08.
drivers/iio/proximity/srf08.c +63 -18

172 lines not on this page · raw message

Signature · 11 lines
2.1.4


-- 
Andreas Klinger
Grabenreith 27
84508 Burgkirchen
+49 8623 919966
[email protected]
www.it-klinger.de
www.grabenreith.de