lkml.org 
[lkml]   [2021]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] iio: sps30: add support for serial interface
Date
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

\
 
 \ /
  Last update: 2021-04-25 16:01    [W:0.101 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site