]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx93-9x9-qsb: add IMU sensor support
authorHaibo Chen <haibo.chen@nxp.com>
Mon, 9 Jun 2025 16:52:32 +0000 (12:52 -0400)
committerShawn Guo <shawnguo@kernel.org>
Tue, 1 Jul 2025 14:16:55 +0000 (22:16 +0800)
The i.MX93 9x9 qsb has a ST LSM6DSO connected to I2C, which a is 6-axis
IMU (inertial measurement unit = accelerometer & gyroscope). So add the
missing parts to the DTS file.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts

index 75e67115d52f95dc2a04b30c95a9db0d4ebb12b3..acbd981ba548a02ec73850e07d24b0683ad71721 100644 (file)
                interrupt-parent = <&pcal6524>;
                interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
        };
+
+       inertial-meter@6a {
+               compatible = "st,lsm6dso";
+               reg = <0x6a>;
+       };
 };
 
 &lpi2c2 {