diff mbox series

ARM: dts: qcom: msm8974-hammerhead: add mount matrix for IMU

Message ID 20210403105902.1867344-1-luca@z3ntu.xyz
State Accepted
Commit 73c9729f0fb5dffd853e2534432d78c9b173b713
Headers show
Series ARM: dts: qcom: msm8974-hammerhead: add mount matrix for IMU | expand

Commit Message

Luca Weiss April 3, 2021, 10:59 a.m. UTC
Configure the mount matrix to account for the sensor placement on the
board.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

patchwork-bot+linux-arm-msm@kernel.org April 4, 2021, 6:10 p.m. UTC | #1
Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

On Sat,  3 Apr 2021 12:59:03 +0200 you wrote:
> Configure the mount matrix to account for the sensor placement on the

> board.

> 

> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>

> ---

>  arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 4 ++++

>  1 file changed, 4 insertions(+)


Here is the summary with links:
  - ARM: dts: qcom: msm8974-hammerhead: add mount matrix for IMU
    https://git.kernel.org/qcom/c/73c9729f0fb5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
index e344007cf93f..924b0bd744b9 100644
--- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
@@ -567,6 +567,10 @@  mpu6515@68 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&mpu6515_pin>;
 
+			mount-matrix = "0", "-1", "0",
+				       "-1", "0", "0",
+				       "0", "0", "1";
+
 			i2c-gate {
 				#address-cells = <1>;
 				#size-cells = <0>;