lkml.org 
[lkml]   [2023]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] iio: pressure: changes to mprls0025pa
Date
ChangeLog
- rewrite flow so that driver can use either i2c or spi as communication bus
- add spi driver (tested on MPRLS0015PA0000SA)
- add pressure-triplet property that automatically sets pmin, pmax
- fix transfer-function enum typo based on previous review [1]
- fix interrupt example in binding file (FALLING -> RISING edge)
- indentation changes based on previous code reviews
- renamed mpr_read_pressure to mpr_read_conversion since the sensor is
supposed to also provide temperature measuremets
(but I think mine is broken since the raw temperature value is always
0x800000 - so temp reading not currently implemented)

patch uses device_property_match_property_string() from the 'togreg' branch

[1]: https://lore.kernel.org/lkml/20231116-grudge-hankering-b7a71d831b93@squawk/T/

Petre Rodan (2):
dt-bindings: iio: pressure: change honeywell,mprls0025pa
iio: pressure: change driver for Honeywell MPR series

.../iio/pressure/honeywell,mprls0025pa.yaml | 60 ++-
MAINTAINERS | 3 +-
drivers/iio/pressure/Kconfig | 14 +-
drivers/iio/pressure/Makefile | 2 +
drivers/iio/pressure/mprls0025pa.c | 353 +++++++++---------
drivers/iio/pressure/mprls0025pa.h | 103 +++++
drivers/iio/pressure/mprls0025pa_i2c.c | 76 ++++
drivers/iio/pressure/mprls0025pa_spi.c | 67 ++++
8 files changed, 491 insertions(+), 187 deletions(-)
create mode 100644 drivers/iio/pressure/mprls0025pa.h
create mode 100644 drivers/iio/pressure/mprls0025pa_i2c.c
create mode 100644 drivers/iio/pressure/mprls0025pa_spi.c

--
2.41.0


\
 
 \ /
  Last update: 2023-12-19 14:09    [W:1.383 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site