zephyr/dts/bindings/sensor/st,hts221.yaml
Peter Bigot ff4294a7fe drivers: sensor: hts221: update to new GPIO API
Correct DRDY active level to default active-high, switch to new
interrupt configuration.

Also fix a common bug where an already-active DRDY signal is not
properly handled.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-02-05 12:00:36 +01:00

19 lines
495 B
YAML

# Copyright (c) 2017, Linaro Limited
# SPDX-License-Identifier: Apache-2.0
description: STMicroelectronics HTS221 humidity and temperature sensor
compatible: "st,hts221"
include: i2c-device.yaml
properties:
drdy-gpios:
type: phandle-array
required: false
description: DRDY pin
This pin defaults to active high when produced by the sensor.
The property value should ensure the flags properly describe
the signal that is presented to the driver.