blob: 3d14d5fc96c529856cec2c6affb15ce08ecfbc70 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/sensirion,shtc1.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sensirion SHTC1 Humidity and Temperature Sensor IC
8
9maintainers:
10 - Christopher Ruehl chris.ruehl@gtsys.com.hk
11
12description: |
13 The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensors
14 designed especially for battery-driven high-volume consumer electronics
15 applications.
16 For further information refer to Documentation/hwmon/shtc1.rst
17
18 This binding document describes the binding for the hardware monitor
19 portion of the driver.
20
21properties:
22 compatible:
23 enum:
24 - sensirion,shtc1
25 - sensirion,shtw1
26 - sensirion,shtc3
27
28 reg:
29 const: 0x70
30
31 sensirion,blocking-io:
32 $ref: /schemas/types.yaml#/definitions/flag
33 description:
34 If set, the driver holds the i2c bus until the measurement is finished.
35
36 sensirion,low-precision:
37 $ref: /schemas/types.yaml#/definitions/flag
38 description:
39 If set, the sensor acquires data with low precision (not recommended).
40 The driver acquires data with high precision by default.
41
42required:
43 - compatible
44 - reg
45
46additionalProperties: false
47
48examples:
49 - |
50 i2c {
51 #address-cells = <1>;
52 #size-cells = <0>;
53 clock-frequency = <400000>;
54
55 shtc3@70 {
56 compatible = "sensirion,shtc3";
57 reg = <0x70>;
58 sensirion,blocking-io;
59 };
60 };
61...