diff options
author | Angus Ainslie <angus@akkea.ca> | 2023-03-09 21:46:02 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-03-27 09:47:52 +0800 |
commit | a27f81d3d59350a196c3c7bfba4a9f45cbacc7ae (patch) | |
tree | b5cec46db7e9d3730302db3f467564f3f2f0bf24 /arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi | |
parent | c24a9b698fb02cd0723fa8375abab07f94b97b10 (diff) |
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>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi index c1279e96effd..db81ed699de7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi @@ -38,6 +38,12 @@ }; }; +&magnetometer { + mount-matrix = "1", "0", "0", + "0", "-1", "0", + "0", "0", "-1"; +}; + &proximity { proximity-near-level = <25>; }; |