zephyr/dts/bindings/sensor/st,lis2ds12-i2c.yaml
Armando Visconti 3fdcbe5a79 driver/sensor: lis2ds12: update to use new GPIO API
Get rid of all the deprecated functions and definitions
replacing them with the new ones.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2020-02-05 12:00:36 +01:00

19 lines
490 B
YAML

# Copyright (c) 2019 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
description: STMicroelectronics LIS2DS12 3-axis accelerometer
compatible: "st,lis2ds12"
include: i2c-device.yaml
properties:
irq-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.