From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=162.62.57.252 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796374578; b=aJSANgMPqCpaK8f6aunehlS/W8YLhDshuIsRy4Qe/uRPClYrrqPq2G4omjzG193TlSwl 05jQuHx0JsQjPfEW4C1tS77GtpErqc59cOswD3p03QXkyDcPFmzuWtxI9Rzl7HsL0EJA9 hB+Kuycd25rp6kes1OuihQNTZRolX2trlu15q9DScW9dmHhqQ1qBd945ku+ToZ65OdJrn 5x/1CfNhnZd5yaNXmkhfC3zJAj5z/Vbd+14WFKi76BeRkdv83NmfTpK8upWLe1vLA0ULk bsuHGkHER/Yv272pCli+V6h6358KyheNhHMyTbyvOA0n64JRfbI6M0fRJVIbPA23zJw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796374578; h=DMARC-Filter:DKIM-Signature:Received:X-QQ-mid:Message-ID: X-QQ-XMAILINFO:X-QQ-XMRINFO:From:To:Cc:Subject:Date:X-OQ-MSGID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=UOvUln6FC0zRJhuWhJxlgZlvQnG6z0B46aNKrqSd8qs=; b=0BMUkurZqo6t7akgXcppV70VgpCYMGIojgNV6Ykti2wXbfSsrQdLeXmQKIYNjxkUfWsd 2hIcx8Go4dE2Dp369AluktzW3zenANHQtGYTUHn9Iv5ha302mdmm/7D0uk8HTpEcy38TV BmAZN+VTbfNtxnVMqVq2sF17lH6rbA9DMvLNbHyOy1sbFhjnJndt3FU0Eg1CCrJ1e4QP6 8S10HniQhOi2bABoKQOmft1cXOgnu80ijdBiHr7Tb5n4s/pdazvQRj/LaGZtuJdpNoJUG Tx4/VFMV8EwBYtHCZuViTPFhgu7iHvYb56TQmyyVew0iP9ahKPr405ren7kPJXxZMbw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=yosoro.hk; spf=none smtp.mailfrom=yosoro.hk; dkim=pass header.d=qq.com header.i=@qq.com header.a=rsa-sha256 header.s=s201512 header.b=riRhGplI; arc=none smtp.remote-ip=162.62.57.252 Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1F3D606A684; Fri, 4 Dec 2026 08:56:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D1F3D606A684 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=yosoro.hk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=yosoro.hk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=qq.com header.i=@qq.com header.a=rsa-sha256 header.s=s201512 header.b=riRhGplI DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1796374570; bh=UOvUln6FC0zRJhuWhJxlgZlvQnG6z0B46aNKrqSd8qs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=riRhGplIU7MISPB0M1vHs92QbnJrCBThJ53BwwSljTdMBpcmR76dECc2hBCJdXQaN dzOo9jkdZsdkPDN0EX3o4xuPN8SZN4Hpq4qwK0cciTQExwYTO8oYJBbTjWJ0bb0Kk6 n7cYMgDpDVfLFXDIboiMWyyp3KuzNCug5inm/DPI= Received: from fedora ([122.191.232.216]) by newxmesmtplogicsvrszb51-1.qq.com (NewEsmtp) with SMTP id DCDAE492; Fri, 04 Dec 2026 16:55:13 +0800 X-QQ-mid: xmsmtpt1796374566tla5iyxhb Message-ID: X-QQ-XMAILINFO: MPa60lIkS1wsCWVqRoaY6wWmFToua9aQe5sLeSN2Anx3eP8Le0e1gYQ5AreCGI p19vpDuvg7NDmkm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pWLhx6xaC7yPAagBbKSHDrtuGyBz5Cjm0rzBwlaM9xVq+ Ie8WvMf/cEpoGQtHgdxiVIYv4aFC4qfUdtNuhNpSOKYX5RH3NXm6kF83TQ X-QQ-XMRINFO: Mp0Kj//9VHAxzExpfF+O8yhSrljjwrznVg== From: NanamiKite To: Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, NanamiKite Subject: [RFC PATCH v1 1/2] dt-bindings: iio: imu: Add QST QMI8658C Date: Fri, 4 Dec 2026 16:55:03 +0800 X-OQ-MSGID: <20261204085504.184447-2-nanami@yosoro.hk> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204085504.184447-1-nanami@yosoro.hk> References: <20261204085504.184447-1-nanami@yosoro.hk> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add DT binding documentation for the QST QMI8658C 6-axis IMU over I2C. Signed-off-by: NanamiKite --- .../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 + +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 + + 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 +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