mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
dt-bindings: iio: magnetometer: add QST QMC5883L Sensor
Add devicetree binding for the QST QMC5883L 3-Axis Magnetic Sensor connected via I2C. Used enum so that more devices could use this binding Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Siratul Islam <siratul.islam@linux.dev> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
94ff11fb29
commit
adf3f9c39c
|
|
@ -0,0 +1,52 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/iio/magnetometer/qstcorp,qmc5883l.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: QST QMC5883L 3-Axis Magnetic Sensor
|
||||
|
||||
maintainers:
|
||||
- Siratul Islam <siratul.islam@linux.dev>
|
||||
|
||||
description: |
|
||||
QST QMC5883L 3-Axis Magnetic Sensor on I2C bus.
|
||||
https://www.qstcorp.com/upload/pdf/202512/13-52-04%20QMC5883L%20Datasheet%20Rev.%20B.pdf
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- qstcorp,qmc5883l
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
|
||||
vdd-supply: true
|
||||
|
||||
vddio-supply: true
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- vdd-supply
|
||||
- vddio-supply
|
||||
|
||||
examples:
|
||||
- |
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
magnetometer@d {
|
||||
compatible = "qstcorp,qmc5883l";
|
||||
reg = <0x0d>;
|
||||
vdd-supply = <&vdd_3v3_reg>;
|
||||
vddio-supply = <&vdd_3v3_reg>;
|
||||
};
|
||||
};
|
||||
...
|
||||
|
|
@ -22047,6 +22047,12 @@ F: Documentation/networking/device_drivers/ethernet/freescale/dpaa2/overview.rst
|
|||
F: drivers/bus/fsl-mc/
|
||||
F: include/uapi/linux/fsl_mc.h
|
||||
|
||||
QST QMC5883L 3-Axis Magnetic Sensor
|
||||
M: Siratul Islam <siratul.islam@linux.dev>
|
||||
L: linux-iio@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/iio/magnetometer/qstcorp,qmc5883l.yaml
|
||||
|
||||
QT1010 MEDIA DRIVER
|
||||
L: linux-media@vger.kernel.org
|
||||
S: Orphan
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user