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