f5ed51c179
add basic sensor support for 3-axis accelerometer, currently this driver support data acquisition and motion detection features. Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
24 lines
651 B
YAML
24 lines
651 B
YAML
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (c) 2023 Linumiz
|
|
|
|
description: MC3419 3-axis accel sensor
|
|
|
|
compatible: "memsic,mc3419"
|
|
|
|
include: [sensor-device.yaml, i2c-device.yaml]
|
|
|
|
properties:
|
|
int-gpios:
|
|
type: phandle-array
|
|
description: |
|
|
This property specifies the connection for INT, this pin
|
|
defaults to active low when sample produce interrupt.
|
|
|
|
int-pin2:
|
|
type: boolean
|
|
description: |
|
|
This property is used for interrupt routing.The sensor
|
|
has two interrupt pins.By default the interrupt are routed
|
|
to interrupt pin 1, by enabled this property interrupt are
|
|
routed to interrupt pin 2.
|