Skip to content

Add support for Winsen MHZ19B CO2 sensor

Gyeyoung Baek linux-devicetree linux-iio 6 versions – Applied

Status from this message: Applied to the togreg branch of iio.git.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 4 repliesApplied
  2. v54 patches 2 repliesSuperseded
  3. v44 patches 9 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 2/20 of 4 patches0 repliesSuperseded
v3 posting 1/24 patches9 repliesSuperseded
v15 patches18 repliesSuperseded

Changes in v6 from the cover letter

- Replace magic numbers with named constants.

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: Add Winsen to the vendor prefixesDocumentation/devicetree/bindings/vendor-prefixes.yaml+2 -00 replies
2/4dt-bindings: Add device tree support for Winsen MHZ19B CO2 sensorDocumentation/devicetree/bindings/iio/chemical/winsen,mhz19b.yaml+33 -00 replies
3/4iio: chemical: Add support for Winsen MHZ19B CO2 sensordrivers/iio/chemical/Kconfig drivers/iio/chemical/Makefile drivers/iio/chemical/mhz19b.c+327 -02 replies
4/4MAINTAINERS: Add WINSEN MHZ19BMAINTAINERS+6 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiAndy Shevchenko
1/4A-b
2/4R-b
3/4R-b
4/4

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

Read the v6 thread

Cover letter [PATCH v6 0/4] Add support for Winsen MHZ19B CO2 sensor

v6:
- Replace magic numbers with named constants.

v5:
- Include the required headers explicitly.
- Fix coding style overall.

v4:
- Ensure buffer is aligned to the cacheline.
- Fix coding style overall.

v3:
- Add vin supply regulator.
- Drop custom ABI.
- Drop unnecessary mutex.

v2:
- Add ABI doc.
- Add complete struct to receive UART transmission successfully.
- Add undersigned as a maintainer for the WINSEN MHZ19B.
- Modify to comply with the IIO subsystem ABI as much as possible.
- Revise the coding style overall.

Gyeyoung Baek (4):
dt-bindings: add winsen to the vendor prefixes
dt-bindings: add device tree support for winsen MHZ19B CO2 sensor
iio: chemical: add support for Winsen MHZ19B CO2 sensor
MAINTAINERS: Add WINSEN MHZ19B

 .../bindings/iio/chemical/winsen,mhz19b.yaml  |  33 ++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   6 +
 drivers/iio/chemical/Kconfig                  |  10 +
 drivers/iio/chemical/Makefile                 |   1 +
 drivers/iio/chemical/mhz19b.c                 | 316 ++++++++++++++++++
 6 files changed, 368 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/chemical/winsen,mhz19b.yaml
 create mode 100644 drivers/iio/chemical/mhz19b.c

--
2.34.1