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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20240529001504.33648-1-gustavograzs@xxxxxxxxx/

---
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
-- 
2.45.1





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux