From patchwork Sat Apr 3 10:59:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 414935 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F44BC433ED for ; Sat, 3 Apr 2021 11:07:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D03B8611BF for ; Sat, 3 Apr 2021 11:07:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236412AbhDCLHc (ORCPT ); Sat, 3 Apr 2021 07:07:32 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:57492 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236403AbhDCLHc (ORCPT ); Sat, 3 Apr 2021 07:07:32 -0400 X-Greylist: delayed 465 seconds by postgrey-1.27 at vger.kernel.org; Sat, 03 Apr 2021 07:07:31 EDT Received: from localhost.localdomain (188-23-235-195.adsl.highway.telekom.at [188.23.235.195]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 70052C10FF; Sat, 3 Apr 2021 10:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1617447581; bh=NYExlTW5SgOo6dsgI/PkcmDTrX5l/pORZlPpR5ODgZc=; h=From:To:Cc:Subject:Date; b=FFn3C4zbq0Dr8HlUdJCfCqXdsMLhTmXiqDpxqc4l8If20ygS/uwag3zQDM6uX8gI8 kK+x/I5O+5pjyC251xE5+RRxwT65lMLGsV07jGypgzm+5lAtbkkTP04JWtcVcK40h4 EFCZPjwLPfaTQCs9wPNsWXp8r8EKzDn3h2tJ8POM= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: qcom: msm8974-hammerhead: add mount matrix for IMU Date: Sat, 3 Apr 2021 12:59:03 +0200 Message-Id: <20210403105902.1867344-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Configure the mount matrix to account for the sensor placement on the board. Signed-off-by: Luca Weiss --- 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>;