[PATCH 1/3] dt-bindings: iio: magnetometer: add MEMSIC MMC5983MA
From: Vladislav Kulikov
Date: Thu May 07 2026 - 08:49:04 EST
Add device tree binding documentation for the MEMSIC MMC5983MA
3-axis magnetometer connected via I2C.
Signed-off-by: Vladislav Kulikov <vlad.kulikov.c@xxxxxxxxx>
---
.../iio/magnetometer/memsic,mmc5983.yaml | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/memsic,mmc5983.yaml
diff --git a/Documentation/devicetree/bindings/iio/magnetometer/memsic,mmc5983.yaml b/Documentation/devicetree/bindings/iio/magnetometer/memsic,mmc5983.yaml
new file mode 100644
index 000000000000..bbe2aa597f75
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/magnetometer/memsic,mmc5983.yaml
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/magnetometer/memsic,mmc5983.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MEMSIC MMC5983MA 3-axis magnetic sensor
+
+maintainers:
+ - Vladislav Kulikov <vlad.kulikov.c@xxxxxxxxx>
+
+properties:
+ compatible:
+ const: memsic,mmc5983
+
+ reg:
+ maxItems: 1
+
+ vdd-supply:
+ description: Regulator that provides power to the sensor
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ magnetometer@30 {
+ compatible = "memsic,mmc5983";
+ reg = <0x30>;
+ vdd-supply = <&vdd_3v3_reg>;
+ };
+ };
--
2.43.0