Commit a27f81d3 authored by Angus Ainslie's avatar Angus Ainslie Committed by Shawn Guo
Browse files

arm64: dts: imx8mq-librem5: add the magnetometer mount matrix



Userland needs the mount matrix to know the correct orientation of
the part.

Signed-off-by: default avatarAngus Ainslie <angus@akkea.ca>
Signed-off-by: default avatarMartin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent c24a9b69
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -38,6 +38,12 @@
	};
};

&magnetometer {
	mount-matrix =  "1",  "0",  "0",
			"0", "-1",  "0",
			"0",  "0", "-1";
};

&proximity {
	proximity-near-level = <25>;
};
+1 −1
Original line number Diff line number Diff line
@@ -981,7 +981,7 @@
	pinctrl-0 = <&pinctrl_i2c2>;
	status = "okay";

	magnetometer@1e	{
	magnetometer: magnetometer@1e	{
		compatible = "st,lsm9ds1-magn";
		reg = <0x1e>;
		pinctrl-names = "default";