From patchwork Sat Mar 4 08:43:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 64182 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp834809wrd; Sat, 4 Mar 2023 00:46:55 -0800 (PST) X-Google-Smtp-Source: AK7set8JrTIMuPnoDz9EIOCPDYfvc4Vrrimy9L6KGTUssAOCYm/wcSBcvQ9yWoZ4fvWNo9vRKrIo X-Received: by 2002:a05:6a20:431b:b0:cc:c557:9ce with SMTP id h27-20020a056a20431b00b000ccc55709cemr5419117pzk.61.1677919614718; Sat, 04 Mar 2023 00:46:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677919614; cv=none; d=google.com; s=arc-20160816; b=ZpEimX26bo7lsV+NMMGJuJmNakJbty0sZXxAIXpfUSYDYVZGcRoEfwkBf0QU/5hGr4 6tgx457cYYO863KR8eAFAlI9Dax6dqLhzlNw3A2DRI9uUtDUlJWdVaUMenoWADo2Wvgu 3wK1h2rXV2ZVoHZCIi58oJH2vO1i+aWFcW44p17VAihqk0NcZYylPKnBmeMNepxdRiI6 +O1cG//I7hvVefauzgWFXgx4/YOsh3hHPufAAC4RH1mGYkfRyjzjnLRn547vPXj88G8w fHMUSALbB3O2ftdx2WnWjUaO5N7M8OQyuDpl6pMuvLT587AGVOi8tmnjQNn8pqo3kYH4 bYCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=70ZWc+aPECVoIOGnXpdYWCEvBu+S9xi4hcK/1o5dA1g=; b=hRNjDH6NZqzXhKY6UQmyst/fTLfxr0aI2SvTOa45DY6jhrSOHHdK72Kfk4pTgtGRlF VbqJF7xmuxbjpi10uSvEfmvrYYySkdzn6jOHiuXvDEFyZHSwgzY/xnM+SXcXLBRMC6N0 o1NbeaQoslkEYYZ3NPE0c3CJn/DUuPUDwK2pduieK5SBi9N0ti+YqHkBwxDsgCFXDqDz ubBiUqv9F35FGtTdhqLt5HQ0R1xai+HRE3J4xvCBoxQcyOpmu9Hc5BM6gwlMRfbjbRer btH5gAkrrHBJ0/zL8Gm3F8DS7A8Gm265dQsXZqNJjft11MBruPafy6uJN060W6j4xRrH t1og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f+jiYGLC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020a630e12000000b004fba7af9ce7si4314865pgl.135.2023.03.04.00.46.42; Sat, 04 Mar 2023 00:46:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f+jiYGLC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbjCDIoB (ORCPT + 99 others); Sat, 4 Mar 2023 03:44:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbjCDInr (ORCPT ); Sat, 4 Mar 2023 03:43:47 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42BB115CA9; Sat, 4 Mar 2023 00:43:46 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id z42so4605349ljq.13; Sat, 04 Mar 2023 00:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677919424; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=70ZWc+aPECVoIOGnXpdYWCEvBu+S9xi4hcK/1o5dA1g=; b=f+jiYGLCjdp88kte6Sr3DZVP2pNxla0i0slfaGRNUVkQPrYfPwWxwrWTpjwUeX1eAM eGAWpY9Lda33j+BmirHcvUWl5hkMyqJfUbc3H586O4PRuSv5n6WPy2yRRtd7Nx+LqfRK 6ozNIRBux/9q+KG/o7nMD3cz5UffR9v9RDQURSFcnaWM7SZ25vwrotT6CI9QJVtDnmph TLZo4O5NjUhgWKHZPJRmhmMkxEp8aogeLWwunUiAbLf6vA+egtjP5Hsg0db3uF/EJ7Zd P+lckVE4ClTCUDTY2PVqEms1cPKzDuodzsgTMEZK1egM8J7JTcrz+vOwLs0nd69RxvVg 8bEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677919424; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=70ZWc+aPECVoIOGnXpdYWCEvBu+S9xi4hcK/1o5dA1g=; b=MeoNf/pDmo93uywQRROFKAJYBA68yiPgwihzgq7hAVRVQrdzdZWditRTynCsDRb626 X2ALXYKJ6iASot/Q1IVE9UeJNErjtO3DdwyVnhsLEaZAGStvluSoVAnlo7lg/qXq7+PS wP8IVPbqu7PsSbYLOXjHMOb+nqxcCnj6LTdIG6P+TcOsXknnViXqdRryZRb7gTunBELV s9T6DtHnPtVNRC+nzOBJwRd37etDpMPFkTkdwsGLcRh6Yih5bgQ46/r76RTxKokd0m0y nbqyJtKl9sOi0mfkYDhFGzQwZf1oc8SUO/30uwPdpb9vsv0Hfe4YJrA6X9KQncKmnN6+ 4CWQ== X-Gm-Message-State: AO0yUKUbEhG9FoKTzbEHKyyg+DcAAIcvOt4Mll6fZNBegB5XuJaWOCdZ 7v0AnKI1c7x9O4mHKC7zew8= X-Received: by 2002:a05:651c:11c6:b0:293:591d:d859 with SMTP id z6-20020a05651c11c600b00293591dd859mr1164414ljo.17.1677919424557; Sat, 04 Mar 2023 00:43:44 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id u5-20020a2ea165000000b00293cc5f83b4sm693575ljl.27.2023.03.04.00.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 00:43:44 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] ARM: tegra: asus-tf101: fix accelerometer mount matrix Date: Sat, 4 Mar 2023 10:43:18 +0200 Message-Id: <20230304084319.18424-5-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230304084319.18424-1-clamor95@gmail.com> References: <20230304084319.18424-1-clamor95@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759426237994384601?= X-GMAIL-MSGID: =?utf-8?q?1759426237994384601?= Accelerometer mount matrix used in tf101 downstream is inverted. This new matrix was generated on actual device using calibration script, like on other transformers. Tested-by: Robert Eckelmann Signed-off-by: Svyatoslav Ryhel --- arch/arm/boot/dts/tegra20-asus-tf101.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-asus-tf101.dts b/arch/arm/boot/dts/tegra20-asus-tf101.dts index c39ddb462ad0..588845965f99 100644 --- a/arch/arm/boot/dts/tegra20-asus-tf101.dts +++ b/arch/arm/boot/dts/tegra20-asus-tf101.dts @@ -577,9 +577,9 @@ accelerometer@f { vdd-supply = <&vdd_1v8_sys>; vddio-supply = <&vdd_1v8_sys>; - mount-matrix = "1", "0", "0", - "0", "1", "0", - "0", "0", "1"; + mount-matrix = "-1", "0", "0", + "0", "-1", "0", + "0", "0", "-1"; }; }; };