[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191118073527.wvkduv6xhzlcs2ej@arbad>
Date: Mon, 18 Nov 2019 08:35:28 +0100
From: Andreas Klinger <ak@...klinger.de>
To: robh+dt@...nel.org, jic23@...nel.org, mark.rutland@....com
Cc: mripard@...nel.org, shawnguo@...nel.org, heiko@...ech.de,
icenowy@...c.io, laurent.pinchart@...asonboard.com,
knaack.h@....de, lars@...afoo.de, pmeerw@...erw.net,
gregkh@...uxfoundation.org, christophe.jaillet@...adoo.fr,
tglx@...utronix.de, mchehab+samsung@...nel.org,
davem@...emloft.net, paulmck@...ux.ibm.com,
devicetree@...r.kernel.org, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/4] iio: add driver for ping))) and laserping sensors
This patchset adds support for parallax PING))) and LaserPING sensors as
iio driver. The driver is derived from srf04 but the device is using only
one GPIO for both triggering and the echo.
Changes in v3:
Thanks to Jonathan who found another bug there are two small changes:
- fix inconsistent use of devm_request_irq() and free_irq()
- hold mutex until free_irq() is called
Changes in v2:
Thanks to the reviews of Jonathan, Rob and Michel there are some
improvements:
- optimize use of macros with to_platform_device() and
of_device_get_match_data()
- change spacing and typos
- simplify ascii art timing diagram
- merge patch for driver and corresponding Kconfig and Makefile
Andreas Klinger (4):
dt-bindings: add vendor prefix parallax
dt-bindings: add parallax ping sensors
iio: ping: add parallax ping sensors
MAINTAINERS: add maintainer for ping iio sensors
.../bindings/iio/proximity/parallax-ping.yaml | 51 ++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 7 +
drivers/iio/proximity/Kconfig | 15 +
drivers/iio/proximity/Makefile | 1 +
drivers/iio/proximity/ping.c | 333 +++++++++++++++++++++
6 files changed, 409 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/proximity/parallax-ping.yaml
create mode 100644 drivers/iio/proximity/ping.c
--
2.11.0
Powered by blists - more mailing lists