mbox series

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

Message ID 20240604225747.7212-1-gustavograzs@gmail.com (mailing list archive)
Headers show
Series Add driver for ENS160 sensor | expand

Message

Gustavo Silva June 4, 2024, 10:57 p.m. UTC
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@gmail.com/

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

Comments

Jonathan Cameron June 9, 2024, 9:36 a.m. UTC | #1
On Tue,  4 Jun 2024 19:57:24 -0300
Gustavo Silva <gustavograzs@gmail.com> wrote:

> This series of patches adds a driver for ScioSense ENS160 multi-gas
> sensor, designed for indoor air quality monitoring.
Series applied with minor tweaks as called out for individual patches.

Applied to the togreg branch of iio.git and pushed out initially as
testing for 0-day to see if it can find anything we missed.

Thanks,

Jonathan

> 
> ---
> 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@gmail.com/
> 
> ---
> 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
Gustavo Silva June 9, 2024, 6:05 p.m. UTC | #2
On Sun, Jun 09, 2024 at 10:36:55AM GMT, Jonathan Cameron wrote:
> Series applied with minor tweaks as called out for individual patches.
> 
> Applied to the togreg branch of iio.git and pushed out initially as
> testing for 0-day to see if it can find anything we missed.
> 
> Thanks,
> 
> Jonathan
> 

Thank you!