Hi all,
This v6 addresses the feedback provided by Guenter on v5 regarding the
Sashiko results.
In v5, I attempted to rely entirely on the I2C core's fallback matching
and moved the devices to trivial-devices.yaml. However, as Guenter
pointed out, the driver requires a proper of_device_id table to pass
DT checks and function correctly.
Because an explicit of_match_table is necessary in the driver, it is
no longer appropriate to list these sensors in trivial-devices.yaml.
Therefore, in this v6, I have introduced a proper, dedicated YAML
binding for the Sensirion SHT30 series and GXCAS GXHT30.
Changes in v6:
- Dropped the trivial-devices.yaml approach from v5.
- Added a dedicated YAML binding file (sensirion,sht30.yaml).
- Added standard devicetree support (of_device_id table) to sht3x.c
as requested by Guenter.
- Split the patches into 4 logically separated commits (Vendor prefix,
YAML binding, Driver DT support, Driver GXHT30 support).
Changes in v5:
- (Attempted) Move to trivial-devices.yaml and drop of_match_table.
- Dropped wildcards, added specific models.
- Wrapped commit messages to 72 characters.
v3 & v4:
- Standalone YAML binding (but incorrectly used wildcards).
v2:
- Fix placeholder "Your Name" in MODULE_AUTHOR.
v1:
- Initial submission.
Zaixiang Xu (4):
dt-bindings: vendor-prefixes: Add GXCAS Technology
dt-bindings: hwmon: Add Sensirion SHT30 series
hwmon: (sht3x) Add devicetree support
hwmon: (sht3x) Add support for GXCAS GXHT30
.../bindings/hwmon/sensirion,sht30.yaml | 67 +++++++++++++++++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
drivers/hwmon/sht3x.c | 22 +++++-
3 files changed, 90 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml
--
2.34.1