mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: NanamiKite <nanami@yosoro.hk>
To: Jonathan Cameron <jic23@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: "David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, NanamiKite <nanami@yosoro.hk>
Subject: [RFC PATCH v1 1/2] dt-bindings: iio: imu: Add QST QMI8658C
Date: Fri,  4 Dec 2026 16:55:03 +0800	[thread overview]
Message-ID: <tencent_022CC05CE10211C280F48ABCE864A0552A06@qq.com> (raw)
In-Reply-To: <20261204085504.184447-1-nanami@yosoro.hk>

Add DT binding documentation for the QST QMI8658C 6-axis IMU over I2C.

Signed-off-by: NanamiKite <nanami@yosoro.hk>
---
 .../bindings/iio/imu/qstcorp,qmi8658c.yaml    | 71 +++++++++++++++++++
 MAINTAINERS                                   |  6 ++
 2 files changed, 77 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/imu/qstcorp,qmi8658c.yaml

diff --git a/Documentation/devicetree/bindings/iio/imu/qstcorp,qmi8658c.yaml b/Documentation/devicetree/bindings/iio/imu/qstcorp,qmi8658c.yaml
new file mode 100644
index 000000000..e69fa82f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/imu/qstcorp,qmi8658c.yaml
@@ -0,0 +1,71 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/imu/qstcorp,qmi8658c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: QST QMI8658C 6-Axis Inertial Measurement Unit
+
+maintainers:
+  - NanamiKite <nanami@yosoro.hk>
+
+description: |
+  QST QMI8658C is a 6-axis inertial measurement unit integrating a 3-axis
+  accelerometer, a 3-axis gyroscope, and an internal temperature sensor,
+  connected via an I2C bus.
+  https://qstcorp.com/upload/pdf/202202/QMI8658C%20datasheet%20rev%200.9.pdf
+
+properties:
+  compatible:
+    const: qstcorp,qmi8658c
+
+  reg:
+    maxItems: 1
+
+  vdd-supply: true
+  vddio-supply: true
+
+  interrupts:
+    minItems: 1
+    maxItems: 2
+
+  interrupt-names:
+    minItems: 1
+    maxItems: 2
+    items:
+      enum:
+        - INT1
+        - INT2
+
+  mount-matrix: true
+
+required:
+  - compatible
+  - reg
+  - vdd-supply
+  - vddio-supply
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        imu@6a {
+            compatible = "qstcorp,qmi8658c";
+            reg = <0x6a>;
+            vdd-supply = <&vdd_3v3>;
+            vddio-supply = <&vddio_1v8>;
+            interrupt-parent = <&gpio0>;
+            interrupts = <4 IRQ_TYPE_EDGE_RISING>;
+            interrupt-names = "INT1";
+            mount-matrix = "1", "0", "0",
+                           "0", "1", "0",
+                           "0", "0", "1";
+        };
+    };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index ee1adff49..2166f80a0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -23143,6 +23143,12 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/iio/magnetometer/qstcorp,qmc6308.yaml
 F:	drivers/iio/magnetometer/qmc6308.c
 
+QST QMI8658C 6-AXIS IMU DRIVER
+M:	NanamiKite <nanami@yosoro.hk>
+L:	linux-iio@vger.kernel.org
+S:	Maintained
+F:	Documentation/devicetree/bindings/iio/imu/qstcorp,qmi8658c.yaml
+
 QT1010 MEDIA DRIVER
 L:	linux-media@vger.kernel.org
 S:	Orphan
-- 
2.56.1


       reply	other threads:[~2026-12-04  8:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261204085504.184447-1-nanami@yosoro.hk>
2026-12-04  8:55 ` NanamiKite [this message]
2026-12-05 15:32   ` Krzysztof Kozlowski
2026-12-05 15:57     ` NanamiKite
2026-12-04  8:55 ` [RFC PATCH v1 2/2] iio: imu: Add driver for " NanamiKite
2026-12-04  9:49   ` Andy Shevchenko
2026-12-04 11:00     ` NanamiKite
2026-12-05  9:41   ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_022CC05CE10211C280F48ABCE864A0552A06@qq.com \
    --to=nanami@yosoro.hk \
    --cc=andy@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®