Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1555816 > unrolled thread

[PATCH v2 0/2] iio: distance: srf08: add IIO driver for us ranger

Started byAndreas Klinger <ak@it-klinger.de>
First post2017-01-10 20:00 +0100
Last post2017-01-10 20:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/2] iio: distance: srf08: add IIO driver for us ranger Andreas Klinger <ak@it-klinger.de> - 2017-01-10 20:00 +0100

#1555816 — [PATCH v2 0/2] iio: distance: srf08: add IIO driver for us ranger

FromAndreas Klinger <ak@it-klinger.de>
Date2017-01-10 20:00 +0100
Subject[PATCH v2 0/2] iio: distance: srf08: add IIO driver for us ranger
Message-ID<sY9Oi-4Tu-27@gated-at.bofh.it>
This patch series adds IIO driver support for srf08 ultrasonic ranger
devices.

The first patch add a trivial device tree binding for the device together
with a new vendor devantech.

The second patch is the IIO driver which in turn is using I2C to talk to
the device.

Documentation about the sensor can be found here:

http://www.robot-electronics.co.uk/htm/srf08tech.html

Changes in v2:
Lots of updates thanks to Peters really fast review within 30 minutes 
after first submission of the driver.

* Patch 2: "iio: distance: srf08: add IIO driver for us ranger"
  - alphabetic order in Makefile
  - use of u8 while accessing registers 
  - avoid endianness problems with 16 bit values
  - missing return value checks
  - some explaining documentation added

Andreas Klinger (2):
  iio: distance: srf08: add trivial DT binding
  iio: distance: srf08: add IIO driver for us ranger

 .../devicetree/bindings/i2c/trivial-devices.txt    |   1 +
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 drivers/iio/proximity/Kconfig                      |  15 +
 drivers/iio/proximity/Makefile                     |   1 +
 drivers/iio/proximity/srf08.c                      | 362 +++++++++++++++++++++
 5 files changed, 380 insertions(+)
 create mode 100644 drivers/iio/proximity/srf08.c

-- 
2.1.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web