eb0a524972
Fix the YAML files indentation for files in dts/bindings/. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
37 lines
934 B
YAML
37 lines
934 B
YAML
# Copyright (c) 2021, Thomas Stranger
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Sensirion SHTCx humidity and temperature sensor
|
|
|
|
compatible: "sensirion,shtcx"
|
|
|
|
include: [sensor-device.yaml, i2c-device.yaml]
|
|
|
|
properties:
|
|
chip:
|
|
type: string
|
|
required: true
|
|
description: |
|
|
Specifies which chip exactly is used. This is necessary to get exact
|
|
timing information and supported command set.
|
|
SHTC3 has an additional sleep mode that is entered between measurements.
|
|
enum:
|
|
- "shtc1"
|
|
- "shtc3"
|
|
|
|
measure-mode:
|
|
type: string
|
|
required: true
|
|
description: |
|
|
Specifies which measurement mode is used.
|
|
SHTC1 sensor only supports the normal measuremnt mode.
|
|
enum:
|
|
- "normal"
|
|
- "low-power"
|
|
|
|
clock-stretching:
|
|
type: boolean
|
|
description: |
|
|
Specifies that the driver should clock stretching i2c communication to
|
|
read the sensor values.
|