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

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
...@@ -38,6 +38,12 @@ MX8MQ_IOMUXC_SPDIF_RX_GPIO5_IO4 0x83 ...@@ -38,6 +38,12 @@ MX8MQ_IOMUXC_SPDIF_RX_GPIO5_IO4 0x83
}; };
}; };
&magnetometer {
mount-matrix = "1", "0", "0",
"0", "-1", "0",
"0", "0", "-1";
};
&proximity { &proximity {
proximity-near-level = <25>; proximity-near-level = <25>;
}; };
...@@ -981,7 +981,7 @@ &i2c2 { ...@@ -981,7 +981,7 @@ &i2c2 {
pinctrl-0 = <&pinctrl_i2c2>; pinctrl-0 = <&pinctrl_i2c2>;
status = "okay"; status = "okay";
magnetometer@1e { magnetometer: magnetometer@1e {
compatible = "st,lsm9ds1-magn"; compatible = "st,lsm9ds1-magn";
reg = <0x1e>; reg = <0x1e>;
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment