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

26 lines
703 B
YAML

# Copyright (c) 2018 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
include: sensor-device.yaml
properties:
irq-gpios:
type: phandle-array
description: IRQ 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.
single-mode:
type: boolean
description: |
Set to config the sensor in single measurement mode. Leave
unset to configure the sensor in continuous measurement mode.
cancel-offset:
type: boolean
description: |
Set to enable the offset cancellation. Otherwise it would be
disabled as default.