diff mbox series

[2/2] dt-bindings: trivial-devices: Add Sensirion SHTC3 humidity sensor

Message ID 20211114132335.47651-3-gilles.talis@gmail.com (mailing list archive)
State Not Applicable
Headers show
Series iio: humidity: add support for Sensirion SHTC3 | expand

Commit Message

Gilles Talis Nov. 14, 2021, 1:23 p.m. UTC
Sensirion SHTC3 is a humidity and temperature sensor controlled
through I2C interface

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring Nov. 15, 2021, 2:10 a.m. UTC | #1
On Sun, 14 Nov 2021 14:23:35 +0100, Gilles Talis wrote:
> Sensirion SHTC3 is a humidity and temperature sensor controlled
> through I2C interface
> 
> Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
> ---
>  Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/hwmon/sensirion,shtc1.example.dt.yaml: shtc3@70: 'sensirion,blocking-io' does not match any of the regexes: 'pinctrl-[0-9]+'
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/trivial-devices.yaml

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/1554826

This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 1e4b3464d734..c6cce9826afc 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -277,6 +277,8 @@  properties:
           - sensirion,sgp30
             # Sensirion gas sensor with I2C interface
           - sensirion,sgp40
+            # Sensirion humidity and temperature sensor with I2C interface
+          - sensirion,shtc3
             # Sensortek 3 axis accelerometer
           - sensortek,stk8312
             # Sensortek 3 axis accelerometer