提交 1cd1362f 编写于 作者: L Linus Walleij 提交者: Zheng Zengkai

ARM: dts: ux500: Fix orientation of accelerometer

stable inclusion
from stable-5.10.53
commit 5190a6604a106e2ad9831d7662bec4ab1492a3a2
bugzilla: 175574 https://gitee.com/openeuler/kernel/issues/I4DTUX

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5190a6604a106e2ad9831d7662bec4ab1492a3a2

--------------------------------

[ Upstream commit 4beba401 ]

This adds a mounting matrix to the accelerometer
on the TVK1281618 R3.
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Acked-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 6d19e675
......@@ -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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册