Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / hwmon / sensirion,shtc1.yaml
1 # 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
7 title: Sensirion SHTC1 Humidity and Temperature Sensor IC
8
9 maintainers:
10   - Christopher Ruehl chris.ruehl@gtsys.com.hk
11
12 description: |
13   The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensor
14   designed especially for battery-driven high-volume consumer electronics
15   applications.
16   For further information refere to Documentation/hwmon/shtc1.rst
17
18   This binding document describes the binding for the hardware monitor
19   portion of the driver.
20
21 properties:
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 hold the i2c bus until measurement is finished.
35
36   sensirion,low-precision:
37     $ref: /schemas/types.yaml#/definitions/flag
38     description:
39       If set, the sensor aquire data with low precision (not recommended).
40       The driver aquire data with high precision by default.
41
42 required:
43   - compatible
44   - reg
45
46 additionalProperties: false
47
48 examples:
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 ...