Skip to content

Add driver for ENS160 sensor

Gustavo Silva linux-devicetree linux-iio lkml 3 versions – Applied

Status from this message: Applied to the togreg branch of iio.git and pushed out initially as

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 3 repliesApplied
  2. v26 patches 9 repliesSuperseded
  3. v16 patches 14 repliesSuperseded

Changes in v3 from the cover letter

- Add missing $ref: /schemas/spi/spi-peripheral-props.yaml# in devicetree binding
- Move the devm_add_action_or_reset() call to right after setting the operation mode to standard
- Remove "_spi" and "_i2c" suffixes from device name
- Add a comment explaining what data the mutex is protecting
- Format register address macro

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: vendor-prefixes: add ScioSenseDocumentation/devicetree/bindings/vendor-prefixes.yaml+2 -00 replies
2/6dt-bindings: iio: chemical: add ENS160 sensorDocumentation/devicetree/bindings/iio/chemical/sciosense,ens160.yaml+70 -00 replies
3/6iio: chemical: add driver for ENS160 sensordrivers/iio/chemical/Kconfig drivers/iio/chemical/Makefile drivers/iio/chemical/ens160.h +3 more+373 -01 reply
4/6iio: chemical: ens160: add triggered buffer supportdrivers/iio/chemical/ens160.h drivers/iio/chemical/ens160_core.c drivers/iio/chemical/ens160_i2c.c +1 more+136 -120 replies
5/6iio: chemical: ens160: add power management supportdrivers/iio/chemical/ens160.h drivers/iio/chemical/ens160_core.c drivers/iio/chemical/ens160_i2c.c +1 more+28 -00 replies
6/6MAINTAINERS: Add ScioSense ENS160MAINTAINERS+8 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchConor Dooley
1/6A-b
2/6R-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] Add driver for ENS160 sensor

This series of patches adds a driver for ScioSense ENS160 multi-gas sensor, designed for indoor air quality monitoring.

---
Changes in v3:
- Add missing $ref: /schemas/spi/spi-peripheral-props.yaml# in devicetree binding
- Move the devm_add_action_or_reset() call to right after setting the operation mode to standard
- Remove "_spi" and "_i2c" suffixes from device name
- Add a comment explaining what data the mutex is protecting
- Format register address macro

Link to v2: https://lore.kernel.org/linux-iio/[email protected]/

---
Gustavo Silva (6):
dt-bindings: vendor-prefixes: add ScioSense
dt-bindings: iio: chemical: add ENS160 sensor
iio: chemical: add driver for ENS160 sensor
iio: chemical: ens160: add triggered buffer support
iio: chemical: ens160: add power management support
MAINTAINERS: Add ScioSense ENS160

 .../iio/chemical/sciosense,ens160.yaml        |  70 ++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   8 +
 drivers/iio/chemical/Kconfig                  |  22 ++
 drivers/iio/chemical/Makefile                 |   3 +
 drivers/iio/chemical/ens160.h                 |  10 +
 drivers/iio/chemical/ens160_core.c            | 367 ++++++++++++++++++
 drivers/iio/chemical/ens160_i2c.c             |  62 +++
 drivers/iio/chemical/ens160_spi.c             |  61 +++
 9 files changed, 605 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/chemical/sciosense,ens160.yaml
 create mode 100644 drivers/iio/chemical/ens160.h
 create mode 100644 drivers/iio/chemical/ens160_core.c
 create mode 100644 drivers/iio/chemical/ens160_i2c.c
 create mode 100644 drivers/iio/chemical/ens160_spi.c

base-commit: 084eeee1d8da6b4712719264b01cb27b41307f54

Signature · 1 line
2.45.1