[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191203130336.18763-1-martin.kepplinger@puri.sm>
Date: Tue, 3 Dec 2019 14:03:36 +0100
From: Martin Kepplinger <martin.kepplinger@...i.sm>
To: robh@...nel.org, mark.rutland@....com
Cc: kernel@...gutronix.de, linux-imx@....com, kernel@...i.sm,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Martin Kepplinger <martin.kepplinger@...i.sm>
Subject: [PATCH] arm64: dts: imx8mq-librem5-devkit: add accelerometer and gyro sensor
Now that there is driver support, describe the accel and gyro sensor parts
of the LSM9DS1 IMU.
Signed-off-by: Martin Kepplinger <martin.kepplinger@...i.sm>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
index 683a11035643..7a92704c53ec 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
@@ -415,6 +415,13 @@
pinctrl-0 = <&pinctrl_i2c3>;
status = "okay";
+ accel_gyro@6a {
+ compatible = "st,lsm9ds1-imu";
+ reg = <0x6a>;
+ vdd-supply = <®_3v3_p>;
+ vddio-supply = <®_3v3_p>;
+ };
+
magnetometer@1e {
compatible = "st,lsm9ds1-magn";
reg = <0x1e>;
--
2.20.1
Powered by blists - more mailing lists