Skip to content

hwmon: (sht3x) Add support for GXCAS GXHT30

Zaixiang Xu linux-devicetree linux-hwmon lkml sashiko-reviews 7 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest4 patches 7 repliesApplied
  2. v64 patches 3 repliesSuperseded
  3. v53 patches 1 replySuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v44 patches7 repliesSuperseded
v34 patches3 repliesSuperseded
v23 patches3 repliesSuperseded
v13 patches3 repliesSuperseded

Changes in v7 from the cover letter

- Model the higher accuracy parts as compatible with the base part of their group in the binding: SHT31/SHT35/SHT85 and GXHT30 fall back to "sensirion,sht30", STS31/STS32/STS35 fall back to "sensirion,sts30", and explain the grouping in the commit message (Krzysztof).
- Drop the "gxcas,gxht30" of_device_id entry and the "gxht30" i2c_device_id entry: the GXHT30 is handled entirely by the "sensirion,sht30" fallback, with no driver changes (Krzysztof). Patch 4 now only documents the chip in Documentation/hwmon/ sht3x.rst and the Kconfig help text, following how SHT85 support was documented.
- Start enum sht3x_chips at 1 so the OF match data is never NULL and i2c_get_match_data() does not silently fall back to i2c_device_id name matching (reported by Sashiko AI review on v6).
- Mention all optional properties in the binding commit message (Sashiko AI review on v6).
- Rebase onto hwmon-next to account for the conversion of i2c_device_id tables to named initializers.
- Drop the MODULE_AUTHOR addition; authorship is recorded in git.

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: vendor-prefixes: Add GXCAS TechnologyDocumentation/devicetree/bindings/vendor-prefixes.yaml+2 -01 reply
2/4dt-bindings: hwmon: Add Sensirion SHT30 seriesDocumentation/devicetree/bindings/hwmon/sensirion,sht30.yaml+71 -03 replies
3/4hwmon: (sht3x) Add devicetree supportdrivers/hwmon/sht3x.c+13 -22 replies
4/4hwmon: (sht3x) Document support for GXCAS GXHT30Documentation/hwmon/sht3x.rst drivers/hwmon/Kconfig+17 -51 reply

Reviews trailers per patch

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

PatchConor DooleyKrzysztof Kozlowski
1/4A-b A-b
2/4R-b
3/4
4/4

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

Read the v7 thread

Cover letter [PATCH v7 0/4] hwmon: (sht3x) Add support for GXCAS GXHT30

This series adds devicetree support to the sht3x driver and support for the GXCAS GXHT30 humidity and temperature sensor, a drop-in replacement for the Sensirion SHT30.

Apologies for the long delay since v6.

Changes in v7:
- Model the higher accuracy parts as compatible with the base part of their group in the binding: SHT31/SHT35/SHT85 and GXHT30 fall back to "sensirion,sht30", STS31/STS32/STS35 fall back to "sensirion,sts30", and explain the grouping in the commit message (Krzysztof).
- Drop the "gxcas,gxht30" of_device_id entry and the "gxht30" i2c_device_id entry: the GXHT30 is handled entirely by the "sensirion,sht30" fallback, with no driver changes (Krzysztof). Patch 4 now only documents the chip in Documentation/hwmon/ sht3x.rst and the Kconfig help text, following how SHT85 support was documented.
- Start enum sht3x_chips at 1 so the OF match data is never NULL and i2c_get_match_data() does not silently fall back to i2c_device_id name matching (reported by Sashiko AI review on v6).
- Mention all optional properties in the binding commit message (Sashiko AI review on v6).
- Rebase onto hwmon-next to account for the conversion of i2c_device_id tables to named initializers.
- Drop the MODULE_AUTHOR addition; authorship is recorded in git.

Changes in v6:
- Drop the trivial-devices.yaml approach from v5; add a dedicated binding and a proper of_device_id table. (Guenter)
- Split into 4 patches: vendor prefix, binding, driver DT support, GXHT30 support.

Changes in v5:
- Move to trivial-devices.yaml and drop of_match_table (wrong approach, reverted in v6).
- Drop wildcards, list specific models.

Changes in v3/v4:
- Standalone YAML binding, split driver changes from binding changes.

Changes in v2:
- Fix placeholder in MODULE_AUTHOR, fix commit message wrapping.

Zaixiang Xu (4):
dt-bindings: vendor-prefixes: Add GXCAS Technology
dt-bindings: hwmon: Add Sensirion SHT30 series
hwmon: (sht3x) Add devicetree support
hwmon: (sht3x) Document support for GXCAS GXHT30

 .../bindings/hwmon/sensirion,sht30.yaml       | 71 +++++++++++++++++++
 .../devicetree/bindings/vendor-prefixes.yaml  |  2 +
 Documentation/hwmon/sht3x.rst                 | 17 ++++-
 drivers/hwmon/Kconfig                         |  5 +-
 drivers/hwmon/sht3x.c                         | 15 +++-
 5 files changed, 103 insertions(+), 7 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml

base-commit: ca078d004cf58137bcf8cb24a8b271397431ba58

Signature · 1 line
2.34.1