Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/hwmon/sensirion,shtc1.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Sensirion SHTC1 Humidity and Temperature Sensor IC
0008 
0009 maintainers:
0010   - Christopher Ruehl chris.ruehl@gtsys.com.hk
0011 
0012 description: |
0013   The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensor
0014   designed especially for battery-driven high-volume consumer electronics
0015   applications.
0016   For further information refere to Documentation/hwmon/shtc1.rst
0017 
0018   This binding document describes the binding for the hardware monitor
0019   portion of the driver.
0020 
0021 properties:
0022   compatible:
0023     enum:
0024       - sensirion,shtc1
0025       - sensirion,shtw1
0026       - sensirion,shtc3
0027 
0028   reg:
0029     const: 0x70
0030 
0031   sensirion,blocking-io:
0032     $ref: /schemas/types.yaml#/definitions/flag
0033     description:
0034       If set, the driver hold the i2c bus until measurement is finished.
0035 
0036   sensirion,low-precision:
0037     $ref: /schemas/types.yaml#/definitions/flag
0038     description:
0039       If set, the sensor aquire data with low precision (not recommended).
0040       The driver aquire data with high precision by default.
0041 
0042 required:
0043   - compatible
0044   - reg
0045 
0046 additionalProperties: false
0047 
0048 examples:
0049   - |
0050     i2c {
0051       #address-cells = <1>;
0052       #size-cells = <0>;
0053       clock-frequency = <400000>;
0054 
0055       shtc3@70 {
0056         compatible = "sensirion,shtc3";
0057         reg = <0x70>;
0058         sensirion,blocking-io;
0059       };
0060     };
0061 ...