18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/hwmon/sensirion,shtc1.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Sensirion SHTC1 Humidity and Temperature Sensor IC
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Christopher Ruehl chris.ruehl@gtsys.com.hk
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cidescription: |
138c2ecf20Sopenharmony_ci  The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensor
148c2ecf20Sopenharmony_ci  designed especially for battery-driven high-volume consumer electronics
158c2ecf20Sopenharmony_ci  applications.
168c2ecf20Sopenharmony_ci  For further information refere to Documentation/hwmon/shtc1.rst
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci  This binding document describes the binding for the hardware monitor
198c2ecf20Sopenharmony_ci  portion of the driver.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciproperties:
228c2ecf20Sopenharmony_ci  compatible:
238c2ecf20Sopenharmony_ci    enum:
248c2ecf20Sopenharmony_ci      - sensirion,shtc1
258c2ecf20Sopenharmony_ci      - sensirion,shtw1
268c2ecf20Sopenharmony_ci      - sensirion,shtc3
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci  reg:
298c2ecf20Sopenharmony_ci    const: 0x70
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci  sensirion,blocking-io:
328c2ecf20Sopenharmony_ci    $ref: /schemas/types.yaml#definitions/flag
338c2ecf20Sopenharmony_ci    description:
348c2ecf20Sopenharmony_ci      If set, the driver hold the i2c bus until measurement is finished.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci  sensirion,low-precision:
378c2ecf20Sopenharmony_ci    $ref: /schemas/types.yaml#definitions/flag
388c2ecf20Sopenharmony_ci    description:
398c2ecf20Sopenharmony_ci      If set, the sensor aquire data with low precision (not recommended).
408c2ecf20Sopenharmony_ci      The driver aquire data with high precision by default.
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_cirequired:
438c2ecf20Sopenharmony_ci  - compatible
448c2ecf20Sopenharmony_ci  - reg
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciadditionalProperties: false
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciexamples:
498c2ecf20Sopenharmony_ci  - |
508c2ecf20Sopenharmony_ci    i2c {
518c2ecf20Sopenharmony_ci      #address-cells = <1>;
528c2ecf20Sopenharmony_ci      #size-cells = <0>;
538c2ecf20Sopenharmony_ci      clock-frequency = <400000>;
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci      shtc3@70 {
568c2ecf20Sopenharmony_ci        compatible = "sensirion,shtc3";
578c2ecf20Sopenharmony_ci        reg = <0x70>;
588c2ecf20Sopenharmony_ci        sensirion,blocking-io;
598c2ecf20Sopenharmony_ci      };
608c2ecf20Sopenharmony_ci    };
618c2ecf20Sopenharmony_ci...
62