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