Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp313292rwl; Wed, 29 Mar 2023 02:05:48 -0700 (PDT) X-Google-Smtp-Source: AKy350ZOHEpMfDj3m70SoSj8jsIU29uoUccN/DolW385NqN7OBsORbdXP5jA0vafwt9UXqSJQx9t X-Received: by 2002:a05:6a20:699a:b0:db:7ae5:648e with SMTP id t26-20020a056a20699a00b000db7ae5648emr1926006pzk.21.1680080748370; Wed, 29 Mar 2023 02:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680080748; cv=none; d=google.com; s=arc-20160816; b=YYtzBCt3Y1AY39Xq/EL7riBKzJhwfjdo93hi/OxCsZbop9ozu0gdoAV/JhAAkKZmGp Mf6Z75j2oBV60ABE/g7wKUlZIwzYVb6Ye0TUX9O8JdSdZfy8/Swez8ttuHIo1rDPpaDx dJpy2GPpWVyoLsBprP45x9GNOYKYO2PSUWqHVuMgwTqygev9ysmsy1DMq3R7A/G5Sky7 8mWso7pLlruQfj/S6b+TMn+2TEDc7pVYlrT9kXJcMEpj/Uikd9AfzpNvd9wGuXQet+5t WNVuBRtBCCAnykToo58QwsFbcg7cHXW0K8ik92EMkp13fEQMy498pdb+bACAZLBh6Lst JH8A== 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=AmA1pqJOyOb2cR7V74kR64IR6Xx2k2cxNLkEbR3rMXM=; b=K3Hxo6slkU4tb8Z2FjPh8hd0fL6PsfmZJdqIsakfqwtNVtMw4AtC4ZLLf5pbP31/7E q90fVXe28rQLOZAVIPwe/CSHy7MWB277dPnpCj9g4rZ3PjJoN3BowLd6piYNXJDl+Hls aZAX6Qk+VUzxr4HS5IxaQq6WpcekBLlmaTAp6/2Q9utusabaxUyUNolQDVIf1R4GAdA4 MkJkhy2kYKy8/yki7s8PiCOaHxsBuOeqM9OovZ0HEIkryaoNqcq6/uf94QjKHykm2eB1 ikkuZYh5hNJLPNfbBBFhHWy5JJd5VuqGD8ROf/wZqWDPunjA88jErBRgAzVF0aq6QZ0X JvIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="FVJ/5Yau"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a056a00114a00b005d3f50e0e1asi30825937pfm.280.2023.03.29.02.05.37; Wed, 29 Mar 2023 02:05:48 -0700 (PDT) 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="FVJ/5Yau"; 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 S231220AbjC2JFL (ORCPT + 99 others); Wed, 29 Mar 2023 05:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbjC2JEn (ORCPT ); Wed, 29 Mar 2023 05:04:43 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4196310C0; Wed, 29 Mar 2023 02:04:37 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id x3so60293517edb.10; Wed, 29 Mar 2023 02:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680080676; 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=AmA1pqJOyOb2cR7V74kR64IR6Xx2k2cxNLkEbR3rMXM=; b=FVJ/5YauamJ6U6iOQs9roy5sKS0qDMHGt0OvI8eBFgY9RIpRlkxf3KsjRPMsSW41cz 5RKAycWDx0/9Jh9vJTJxJyGN9O67fUrtoPCY6eb8I5HyMINfSrZvbzxcKHykOm/m8MVa 3H4jKRrDMUf60B4uyMaIi7K8f0MFdpHTkdZw+TrwruOk1HJhHoPs65SNj+n/9refWZ7k QFHXxyG8m5Huh3+6oDYyV677SV7g5r1dS2LFUGplSj/IzBTaIPy85CNd8xozDwpbbb75 BfyxuIX26oHz+4gS5Y3pBgt9U6jdTpoXXPCuYpC1PzGCh3LHCxVC6d88Jk5ZgQRRf8ab IJMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680080676; 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=AmA1pqJOyOb2cR7V74kR64IR6Xx2k2cxNLkEbR3rMXM=; b=le8YoShSI3XzlrtG/b41+EByu3xKM1fym07D0uwa9IpEEjNyggJQc3Q0c/LkNs1Z7W PAxmUwxXdZKCRAooB6vYzMUEiOE/W6xxBHM73VzLolc5wFYdmA7zgP3Imq7rNCMZdNZJ uW/dIgu6juGjI0e8z6HbZRl+EvYpynxozcLRReHjAr6Jv4Wcxt5wwG7K0Jd5/806IPsk Iap+w57GBg7AUkc99+/iQ8puTOWgnwfFGsTFPHRKFiA6exQWOGifeWy8kdL9xQb03PDx 6CJIQnIC0nngAFvHpPYBBIAKe9VayVl3tKKhpK2dkhbXmQmJouPX0/Ncf9F5k6dIkeaB BzKA== X-Gm-Message-State: AAQBX9eaSH0bRhNQEh1lc1AZdIth4+xIS/btWa4ufyfG7ag6DXWtJgW6 T1KDrXKwFv8VaU4O4AmX2GA= X-Received: by 2002:a17:906:b2d2:b0:93e:fa12:aa1a with SMTP id cf18-20020a170906b2d200b0093efa12aa1amr17924410ejb.1.1680080675859; Wed, 29 Mar 2023 02:04:35 -0700 (PDT) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id n3-20020a170906088300b009327ed171f2sm15437127eje.129.2023.03.29.02.04.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 02:04:35 -0700 (PDT) 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 v3 3/4] ARM: tegra: asus-tf101: fix accelerometer mount matrix Date: Wed, 29 Mar 2023 12:04:02 +0300 Message-Id: <20230329090403.5274-4-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230329090403.5274-1-clamor95@gmail.com> References: <20230329090403.5274-1-clamor95@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.1 required=5.0 tests=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=unavailable 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 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 7b2969656ec9..dcb231f6e42d 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"; }; }; }; -- 2.37.2