The Sensirion SHT3x/STS3x series (and its compatible alternative, the
GXCAS GXHT30) are simple I2C temperature and humidity sensors. They
require no external resources other than the I2C bus and power supply,
fitting perfectly into the trivial-devices category.
Historically, the driver matched against the "sht3x" wildcard compatible
string. However, as pointed out by DT maintainers, wildcards are heavily
discouraged in new bindings, and specific part numbers representing real
devices should be used instead.
Therefore, document the explicit chip names (sht30, sht31, sht35, sht85,
sts30, sts31) along with the fully compatible gxht30 in
trivial-devices.yaml. Note that sht85 is already supported in the driver
but was missing from the bindings.
Signed-off-by: Zaixiang Xu <zaixiang.xu.dev@gmail.com>
---
Documentation/devicetree/bindings/trivial-devices.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index a482aeadcd44..e6efabfb1b14 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -125,6 +125,8 @@ properties:
- fsl,mma8450
# MPR121: Proximity Capacitive Touch Sensor Controller
- fsl,mpr121
+ # GXCAS temperature & humidity sensor with I2C interface
+ - gxcas,gxht30
# HiTRON AC/DC CompactPCI Power Supply
- hitron,hac300s
# Honeywell Humidicon HIH-6130 humidity/temperature sensor
@@ -399,7 +401,14 @@ properties:
- sensirion,sht20
- sensirion,sht21
- sensirion,sht25
+ - sensirion,sht30
+ - sensirion,sht31
+ - sensirion,sht35
- sensirion,sht4x
+ - sensirion,sht85
+ # Sensirion temperature sensor with I2C interface
+ - sensirion,sts30
+ - sensirion,sts31
# Sensortek 3 axis accelerometer
- sensortek,stk8312
# Sensortek 3 axis accelerometer
--
2.34.1