zephyr/dts/bindings/sensor/st,lis2ds12-common.yaml

27 lines
676 B
YAML
Raw Normal View History

# Copyright (c) 2021 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
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.
range:
type: int
required: false
default: 2
description: |
Range in g. Default is power-up configuration.
enum:
- 16 # 16g (0.488 mg/LSB)
- 8 # 8g (0.244 mg/LSB)
- 4 # 4g (0.122 mg/LSB)
- 2 # 2g (0.061 mg/LSB)