Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
62 lines
1.4 KiB
YAML
62 lines
1.4 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/magnetometer/bosch,bmc150_magn.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Bosch BMC150 magnetometer sensor
|
|
|
|
maintainers:
|
|
- Jonathan Cameron <jic23@kernel.org>
|
|
|
|
description: |
|
|
Supports a range of parts, some of which form part of a multi die
|
|
package that also contains other sensors. The interface is independent
|
|
however, so a separate driver is used to support the magnetometer part.
|
|
Datasheet at:
|
|
http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf
|
|
|
|
properties:
|
|
compatible:
|
|
description:
|
|
Note the bmm150_magn is a deprecated compatible as this part contains only
|
|
a magnetometer.
|
|
enum:
|
|
- bosch,bmc150_magn
|
|
- bosch,bmc156_magn
|
|
- bosch,bmm150
|
|
- bosch,bmm150_magn
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
vdd-supply: true
|
|
vddio-supply: true
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
mount-matrix:
|
|
description: an optional 3x3 mounting rotation matrix.
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
magnetometer@12 {
|
|
compatible = "bosch,bmc150_magn";
|
|
reg = <0x12>;
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <0 1>;
|
|
};
|
|
};
|
|
...
|