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: Angus Ainslie <angus@akkea.ca> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
c24a9b698f
commit
a27f81d3d5
@ -38,6 +38,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
&magnetometer {
|
||||
mount-matrix = "1", "0", "0",
|
||||
"0", "-1", "0",
|
||||
"0", "0", "-1";
|
||||
};
|
||||
|
||||
&proximity {
|
||||
proximity-near-level = <25>;
|
||||
};
|
||||
|
@ -981,7 +981,7 @@
|
||||
pinctrl-0 = <&pinctrl_i2c2>;
|
||||
status = "okay";
|
||||
|
||||
magnetometer@1e {
|
||||
magnetometer: magnetometer@1e {
|
||||
compatible = "st,lsm9ds1-magn";
|
||||
reg = <0x1e>;
|
||||
pinctrl-names = "default";
|
||||
|
Loading…
x
Reference in New Issue
Block a user