OSDN Git Service

ARM: dts: qcom: msm8974-hammerhead: add mount matrix for IMU
authorLuca Weiss <luca@z3ntu.xyz>
Sat, 3 Apr 2021 10:59:03 +0000 (12:59 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 4 Apr 2021 17:21:33 +0000 (12:21 -0500)
Configure the mount matrix to account for the sensor placement on the
board.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20210403105902.1867344-1-luca@z3ntu.xyz
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts

index 0cda654..50e33fe 100644 (file)
                        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>;