zephyr/dts/bindings/sensor/bosch,bmm150-i2c.yaml
Weiwei Guo 08ece57b9e sensor: bmm150: Add I2C-base or SPI-base interface in build time
move DT_DRV_COMPAT to bmm150.h. so that can be decide which interface
to use.

define struct bmm150_bus_io interface for bmm150_i2c.c and bmm150_spi.c
in bmm150.h.

redefined bus operation interface in bmm150.c, this allow the driver
to decide which interface to use during construction.

Signed-off-by: Weiwei Guo <guoweiwei@syriusrobotics.com>
2023-04-11 11:26:47 +02:00

11 lines
295 B
YAML

# Copyright (c) 2019, Linaro Limited
# SPDX-License-Identifier: Apache-2.0
description: |
Bosch BMM150 Geomagnetic sensor. See more info at:
https://www.bosch-sensortec.com/bst/products/all_products/bmm150
compatible: "bosch,bmm150"
include: ["i2c-device.yaml", "bosch,bmm150.yaml"]