~postmarketos/upstreaming

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

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

 1 files changed, 4 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~postmarketos/upstreaming/patches/21769/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] ARM: dts: qcom: msm8974-hammerhead: add mount matrix for IMU Export this patch

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(+)

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>;
-- 
2.31.1