Skip to content

: chemical: bme680: 2nd set of clean and add

vamoirid linux-devicetree linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 40 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13iio: chemical: bme680: Fix indentation and unnecessary spacesdrivers/iio/chemical/bme680_core.c+13 -202 replies
2/13iio: chemical: bme680: avoid using camel casedrivers/iio/chemical/bme680_core.c+2 -23 replies
3/13iio: chemical: bme680: fix startup timedrivers/iio/chemical/bme680.h+1 -14 replies
4/13iio: chemical: bme680: move to fsleep()drivers/iio/chemical/bme680_core.c+2 -20 replies
5/13iio: chemical: bme680: refactorize set_mode() modedrivers/iio/chemical/bme680_core.c+19 -173 replies
6/13dt-bindings: iio: add binding for BME680 driverDocumentation/devicetree/bindings/iio/chemical/bosch,bme680.yaml+64 -04 replies
7/13iio: chemical: bme680: add regulatorsdrivers/iio/chemical/bme680_core.c+30 -03 replies
8/13iio: chemical: bme680: add power managementdrivers/iio/chemical/bme680.h drivers/iio/chemical/bme680_core.c+95 -64 replies
9/13iio: chemical: bme680: Move ambient temperature to attributesdrivers/iio/chemical/bme680.h drivers/iio/chemical/bme680_core.c+34 -27 replies
10/13iio: chemical: bme680: generalize read_*() functionsdrivers/iio/chemical/bme680_core.c+40 -250 replies
11/13iio: chemical: bme680: Add SCALE and RAW channelsdrivers/iio/chemical/bme680_core.c+51 -00 replies
12/13iio: chemical: bme680: Add triggered buffer supportdrivers/iio/chemical/Kconfig drivers/iio/chemical/bme680.h drivers/iio/chemical/bme680_core.c+171 -14 replies
13/13iio: chemical: bme680: Add support for preheat currentdrivers/iio/chemical/bme680.h drivers/iio/chemical/bme680_core.c+39 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 00/13]: chemical: bme680: 2nd set of clean and add

This patch series is continuing the work that started on [1] by improving some small issues of the driver in the commits 1,2,3.

Commits 4,5 are refactorizing existing code.

Commits 6,7,8 are adding DT, regulator and PM support.

Commit 9 is refactorizing one macro to attribute.

Commit 10,11,12 are refactorizing the read/compensate functions to become generic and add triggered buffer support.

Finally, commit 13 adds support for an *output* channel of type IIO_CURRENT in order to preheat the plate that is used to measure the quality of the air.

This and the previous series [1] started with the idea to add support for the new bme688 device but due to the structure of the driver I decided that it is better to restructure and improve some things before adding extra funcitonalities.

[1]: https://lore.kernel.org/linux-iio/[email protected]

Vasileios Amoiridis (13):
iio: chemical: bme680: Fix indentation and unnecessary spaces
iio: chemical: bme680: avoid using camel case
iio: chemical: bme680: fix startup time
iio: chemical: bme680: move to fsleep()
iio: chemical: bme680: refactorize set_mode() mode
dt-bindings: iio: add binding for BME680 driver
iio: chemical: bme680: add regulators
iio: chemical: bme680: add power management
iio: chemical: bme680: Move ambient temperature to attributes
iio: chemical: bme680: generalize read_*() functions
iio: chemical: bme680: Add SCALE and RAW channels
iio: chemical: bme680: Add triggered buffer support
iio: chemical: bme680: Add support for preheat current

 .../bindings/iio/chemical/bosch,bme680.yaml   |  64 ++
 drivers/iio/chemical/Kconfig                  |   2 +
 drivers/iio/chemical/bme680.h                 |   7 +-
 drivers/iio/chemical/bme680_core.c            | 554 +++++++++++++++---
 4 files changed, 556 insertions(+), 71 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/chemical/bosch,bme680.yaml
Signature · 1 line
2.43.0