linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomasz Duszynski <tomasz.duszynski@octakon.com>
To: <linux-iio@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<jic23@kernel.org>, <lars@metafoo.de>, <robh+dt@kernel.org>,
	Tomasz Duszynski <tomasz.duszynski@octakon.com>
Subject: [PATCH 0/3] iio: sps30: add support for serial interface
Date: Sun, 25 Apr 2021 15:55:43 +0200	[thread overview]
Message-ID: <20210425135546.57343-1-tomasz.duszynski@octakon.com> (raw)

One can communicate with sensor either over i2c or serial interface.
This series add support for the latter. And in order to do that existing
codebase needs to be separated into core and interface specific
components.

Tomasz Duszynski (3):
  iio: sps30: separate core and interface specific code
  iio: sps30: add support for serial interface
  dt-bindings: iio: chemical: sps30: update binding with serial example

 .../iio/chemical/sensirion,sps30.yaml         |   7 +-
 MAINTAINERS                                   |   2 +
 drivers/iio/chemical/Kconfig                  |  23 +-
 drivers/iio/chemical/Makefile                 |   2 +
 drivers/iio/chemical/sps30.c                  | 270 ++---------
 drivers/iio/chemical/sps30.h                  |  73 +++
 drivers/iio/chemical/sps30_i2c.c              | 256 +++++++++++
 drivers/iio/chemical/sps30_serial.c           | 420 ++++++++++++++++++
 8 files changed, 829 insertions(+), 224 deletions(-)
 create mode 100644 drivers/iio/chemical/sps30.h
 create mode 100644 drivers/iio/chemical/sps30_i2c.c
 create mode 100644 drivers/iio/chemical/sps30_serial.c

--
2.31.1


             reply	other threads:[~2021-04-25 14:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-25 13:55 Tomasz Duszynski [this message]
2021-04-25 13:55 ` [PATCH 1/3] iio: sps30: separate core and interface specific code Tomasz Duszynski
2021-04-25 15:16   ` Lars-Peter Clausen
2021-04-26 10:10     ` Tomasz Duszynski
2021-04-25 15:46   ` Jonathan Cameron
2021-04-26  8:19     ` Andy Shevchenko
2021-04-26 10:20     ` Tomasz Duszynski
2021-04-25 13:55 ` [PATCH 2/3] iio: sps30: add support for serial interface Tomasz Duszynski
2021-04-25 15:52   ` Lars-Peter Clausen
2021-04-26 10:46     ` Tomasz Duszynski
2021-04-25 15:53   ` Jonathan Cameron
2021-04-26 10:25     ` Tomasz Duszynski
2021-04-25 13:55 ` [PATCH 3/3] dt-bindings: iio: chemical: sps30: update binding with serial example Tomasz Duszynski

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=20210425135546.57343-1-tomasz.duszynski@octakon.com \
    --to=tomasz.duszynski@octakon.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@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).