From: <tomislav.denis@avl.com>
To: <jic23@kernel.org>
Cc: <linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>,
<tomislav.denis@avl.com>
Subject: [PATCH v4 0/3] Add support for DLH pressure sensors
Date: Wed, 11 Dec 2019 10:59:43 +0100 [thread overview]
Message-ID: <20191211095946.7904-1-tomislav.denis@avl.com> (raw)
From: Tomislav Denis <tomislav.denis@avl.com>
This patchset adds support for All Sensors DLH series low
voltage digital pressure sensors.
Datasheet: https://www.allsensors.com/cad/DS-0355_Rev_B.PDF
Changes in v4:
- unused includes removed
- fixed casting from big endian to cpu endian
- removed -i2c from all filenames
- removed _i2c from driver name and all functions
Changes in v3:
- missing ack included in the commit message
- unneceseary iio_buffer_enabled check removed
- data ready trigger removed
- trigger handler and read raw functions refactored
Changes in v2:
- web page link in the MAINTAINERS file fixed
- adjust the units of the output to the IIO ABI
- unneceseary default case removed
- define the channel member of the iio_chan_spec
struct for channels specification
- remove explicit cast for pointers of type void *
- add support for the EOC(data ready) pin
- drop the unneceseary return ret;
- rename dlh-i2c.yaml to asc,dlh-i2c.yaml
- change the bindings copyright to GPL-2.0-only OR BSD-2-Clause
- document EOC(data ready) pin
Tomislav Denis (3):
iio: pressure: Add driver for DLH pressure sensors
dt-bindings: Add asc vendor
bindings: iio: pressure: Add documentation for dlh driver
.../devicetree/bindings/iio/pressure/asc,dlh.yaml | 51 +++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 8 +
drivers/iio/pressure/Kconfig | 12 +
drivers/iio/pressure/Makefile | 1 +
drivers/iio/pressure/dlh.c | 375 +++++++++++++++++++++
6 files changed, 449 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/pressure/asc,dlh.yaml
create mode 100644 drivers/iio/pressure/dlh.c
--
2.7.4
next reply other threads:[~2019-12-11 10:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-11 9:59 tomislav.denis [this message]
2019-12-11 9:59 ` [PATCH v4 1/3] iio: pressure: Add driver for DLH pressure sensors tomislav.denis
2019-12-23 17:42 ` Jonathan Cameron
2019-12-25 8:09 ` Denis, Tomislav AVL DiTEST
2019-12-11 9:59 ` [PATCH v4 2/3] dt-bindings: Add asc vendor tomislav.denis
2019-12-11 9:59 ` [PATCH v4 3/3] bindings: iio: pressure: Add documentation for dlh driver tomislav.denis
2019-12-23 17:48 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191211095946.7904-1-tomislav.denis@avl.com \
--to=tomislav.denis@avl.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).