Sensirion SHTC1 Humidity and Temperature Sensor IC

Schema identifier ($id): "http://devicetree.org/schemas/hwmon/sensirion,shtc1.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Christopher Ruehl <chris.ruehl@gtsys.com.hk>"

The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensors designed especially for battery-driven high-volume consumer electronics applications. For further information refer to Documentation/hwmon/shtc1.rst

This binding document describes the binding for the hardware monitor portion of the driver.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "sensirion,shtc1", "sensirion,shtw1", "sensirion,shtc3"

reg — required here #

Exact value (const): 112

sensirion,blocking-io — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

If set, the driver holds the i2c bus until the measurement is finished.

sensirion,low-precision — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

If set, the sensor acquires data with low precision (not recommended). The driver acquires data with high precision by default.

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  clock-frequency = <400000>;

  shtc3@70 {
    compatible = "sensirion,shtc3";
    reg = <0x70>;
    sensirion,blocking-io;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page