[PATCH v3 0/2] iio: humidity: Add support for en21x sensor family

From: Joshua Felmeden
Date: Wed Jul 10 2024 - 09:24:19 EST


This patch series adds support for the
ENS210/ENS210A/ENS211/ENS212/ENS213A/ENS215 temperature and humidity
sensors.

Patch 1 adds the required device tree bindings.

Patch 2 adds the driver, providing the probe and read functions.

Signed-off-by: Joshua Felmeden <jfelmeden@xxxxxxxxxxxxxxxxxxxx>

changelog v1 -> v2:
sciosense,ens21x.yaml: Add supply to documentation
sciosense,ens21x.yaml: Add fallback to compatible strings
ens21x.c: Move i2c_device_id next to of_device_id
ens21x.c: Use i2c_of_match_device() instead of of_match_device()

Many thanks for taking the time to review my patch.

Thanks,
Josh

---
changelog v2 -> v3:
sciosense,ens21x.yaml: Update yaml to match dt_binding_check

- Link to V1: https://lore.kernel.org/all/20240709-ens21x-v1-2-678521433cdd@xxxxxxxxxxxxxxxxxxxx/
- Link to v2: https://lore.kernel.org/r/20240710-ens21x-v2-0-a37c22018b0c@xxxxxxxxxxxxxxxxxxxx

---
Joshua Felmeden (2):
dt-bindings: iio: humidity: add ENS21x sensor family
iio: humidity: Add support for ENS21x

.../bindings/iio/humidity/sciosense,ens21x.yaml | 55 ++++
drivers/iio/humidity/Kconfig | 11 +
drivers/iio/humidity/Makefile | 1 +
drivers/iio/humidity/ens21x.c | 346 +++++++++++++++++++++
4 files changed, 413 insertions(+)
---
base-commit: 1ebab783647a9e3bf357002d5c4ff060c8474a0a
change-id: 20240709-ens21x-8f2530968f2e

Best regards,
--
Joshua Felmeden <jfelmeden@xxxxxxxxxxxxxxxxxxxx>