Converts the fxas21002 sensor driver to the new gpio api. Updates device trees for all boards with this sensor to active low gpio interrupts by default. Tested on the hexiwear_k64 board. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
26 lines
745 B
YAML
26 lines
745 B
YAML
# Copyright (c) 2018, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: FXAS21002 3-axis gyroscope sensor
|
|
|
|
compatible: "nxp,fxas21002"
|
|
|
|
include: i2c-device.yaml
|
|
|
|
properties:
|
|
int1-gpios:
|
|
type: phandle-array
|
|
required: false
|
|
description: INT1 pin
|
|
This pin defaults to active low when produced by the sensor.
|
|
The property value should ensure the flags properly describe
|
|
the signal that is presented to the driver.
|
|
|
|
int2-gpios:
|
|
type: phandle-array
|
|
required: false
|
|
description: INT2 pin
|
|
This pin defaults to active low when produced by the sensor.
|
|
The property value should ensure the flags properly describe
|
|
the signal that is presented to the driver.
|