zephyr/dts/bindings/sensor/bosch,bma280.yaml
Peter Bigot 1a5368a07b drivers: sensor: bma280: convert from Kconfig to devicetree
Define a binding for the Bosch BMA280 sensor.  Remove the Kconfig
settings and update the driver to use the devicetree information.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-01-24 15:52:09 +01:00

27 lines
777 B
YAML

# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: |
Bosch BMA280 triaxial acceleration sensor. See more info at:
https://www.bosch-sensortec.com/products/motion-sensors/accelerometers/bma280.html
compatible: "bosch,bma280"
include: i2c-device.yaml
properties:
int1-gpios:
type: phandle-array
required: false
description: |
Identifies pin for the INT1 signal on the sensor. The sensor
INT2 signal is not supported by the driver.
is-bmc150:
type: boolean
required: false
description: |
Specifies that the driver should adapt to the accelerometer
capability provided by the BMC150 6-axis eCompass. This affects
the chip ID and the resolution of the measurements.