zephyr/dts/bindings/sensor/st,lis2mdl-i2c.yaml
Masoud Shiroei ef2a590281 drivers: sensor: lis2mdl: Add single mode operation
Support single mode operation by enabling it and
making the driver to use the interrupt to findout
when the data is ready for fetch. The sample fetch
will be blocked for a specified maximum time untill
the interrupt happens.

* Make operation mode configurable in DTS file
* Make offset cancellation configurable in DTS file
* Use single common .yaml file for both i2c and spi
* Store above configurations in dev->config_info

Signed-off-by: Masoud Shiroei <masoud.shiroei@assaabloy.com>
2021-03-31 08:08:35 -04:00

10 lines
245 B
YAML

# Copyright (c) 2018 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
description: |
STMicroelectronics LIS2MDL magnetometer accessed through I2C bus
compatible: "st,lis2mdl"
include: ["i2c-device.yaml", "st,lis2mdl-common.yaml"]