* [PATCH] arm64: dts: rockchip: Add icm42607p IMU for RG-Vita-Pro
@ 2026-10-26 15:26 Chris Morgan
2026-11-01 22:16 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Chris Morgan @ 2026-10-26 15:26 UTC (permalink / raw)
To: devicetree; +Cc: linux-rockchip, heiko, conor+dt, krzk+dt, robh, Chris Morgan
From: Chris Morgan <macromorgan@hotmail.com>
Add the Invensense ICM42607P IMU for the Anbernic RG-DS. Mount-matrix
was tested with iio-sensor-proxy and reports correct orientation.
Orientation is relative to panel physical hardware which is rotated 270
degrees in software.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
.../dts/rockchip/rk3576-anbernic-rg-vita-pro.dts | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-anbernic-rg-vita-pro.dts b/arch/arm64/boot/dts/rockchip/rk3576-anbernic-rg-vita-pro.dts
index 358dea43f9b6..15d724b72ba1 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-anbernic-rg-vita-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-anbernic-rg-vita-pro.dts
@@ -819,7 +819,18 @@ regulator-state-mem {
&i2c2 {
status = "okay";
- /* inv,icm42607 IMU at 0x68 */
+ /*
+ * Mount matrix relative to panel physical hardware which is
+ * rotated 270 degrees.
+ */
+
+ icm42607p: imu@68 {
+ compatible = "invensense,icm42607p";
+ reg = <0x68>;
+ mount-matrix = "0", "1", "0",
+ "1", "0", "0",
+ "0", "0", "-1";
+ };
};
&i2c3 {
--
2.53.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: rockchip: Add icm42607p IMU for RG-Vita-Pro
2026-10-26 15:26 [PATCH] arm64: dts: rockchip: Add icm42607p IMU for RG-Vita-Pro Chris Morgan
@ 2026-11-01 22:16 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2026-11-01 22:16 UTC (permalink / raw)
To: devicetree, Chris Morgan
Cc: Heiko Stuebner, linux-rockchip, conor+dt, krzk+dt, robh,
Chris Morgan
On Mon, 26 Oct 2026 10:26:49 -0500, Chris Morgan wrote:
> Add the Invensense ICM42607P IMU for the Anbernic RG-DS. Mount-matrix
> was tested with iio-sensor-proxy and reports correct orientation.
> Orientation is relative to panel physical hardware which is rotated 270
> degrees in software.
Applied, thanks!
[1/1] arm64: dts: rockchip: Add icm42607p IMU for RG-Vita-Pro
commit: 4a17cc3bd48ecf4dcb7df2b26538e0d28e35d873
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-01 22:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-26 15:26 [PATCH] arm64: dts: rockchip: Add icm42607p IMU for RG-Vita-Pro Chris Morgan
2026-11-01 22:16 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox