Skip to content

Commit

Permalink
ARM: dts: ux500: Fix orientation of accelerometer
Browse files Browse the repository at this point in the history
[ Upstream commit 4beba40 ]

This adds a mounting matrix to the accelerometer
on the TVK1281618 R3.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
linusw authored and gregkh committed Jul 25, 2021
1 parent 61fda04 commit 5190a66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi
Expand Up @@ -19,6 +19,9 @@
<19 IRQ_TYPE_EDGE_RISING>;
pinctrl-names = "default";
pinctrl-0 = <&accel_tvk_mode>;
mount-matrix = "0", "-1", "0",
"-1", "0", "0",
"0", "0", "-1";
};
magnetometer@1e {
compatible = "st,lsm303dlm-magn";
Expand Down

0 comments on commit 5190a66

Please sign in to comment.