From patchwork Sat Oct 15 17:04:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 2967 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp723745wrs; Sat, 15 Oct 2022 10:24:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM477CLywXKK08mRhac+vfOjKusJrw6xj0FiXJxJ4JN25zR0zpvaBlmzfBOvbsB35kg4Anz4 X-Received: by 2002:a17:907:16a5:b0:78d:e608:f073 with SMTP id hc37-20020a17090716a500b0078de608f073mr2700848ejc.753.1665854644438; Sat, 15 Oct 2022 10:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665854644; cv=none; d=google.com; s=arc-20160816; b=j49q3Hm8q6e3b0b4B5aBd5wkHFUHm+FlMAPxMYkPLuvjB5pUF8jd8FAKyywGmoOoJV WS+I8EUXWq6wQ0dZFcKxkKN1gTG0iOWQH165Rw47AWYcpUWO5l2yrt/fjFs1YADPgaXi bOw0JzVZQd8UExGEVeJEunSkBKniQn5df7jvSWgA175wWC5DRAYCSLwmGKDIDQ1CCm+J HA+DJB3eE0x7HoSW+haxod8YQRMcG1C3qVQgwDcxXqrBQrQZkqpdFOxB85PQ6FdBjKn4 3Ylh6JdqLBnq7i8WvAAhZZwjFbqBkv6hVh3reI4u7RQLs1QYD8wNCVD+9JmjStWrZj4S lyng== 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=AhI+hlPFB1VmnftZiBxf9R+xZVV23cThttepsCBJepo=; b=tR8qE5ynWQ8xoUiDB4+iNoue7+sXt6TjNr3jeI1FmqECykVKq+X7CIyru7IYXtXPQK i8pMC1tyuqoXQWEOfdDiIAunuCc86exUILX7M2KIzuug1RJ+Wcl791m+xY7iXQ0d1k1K +XrurlLrfRMsTTDQNwJjdmoEjmkh8b5w28t3iCqAkiM0MAyLsAym0mqXFO31XSGkw0lx Ef9jyIG7OzI9Z5mSP/zoJEV1m7Kep9kI0rFsZ72YFKQ+Pgs17c185xWYgh+2sqM03/qt WUPmkZkdAAiUgw5BDORM2+YvTQvrT5DvoYx3V1NJkIWgWLjIWv1E0LbT2hNUDhGlC+c5 jZrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="D7RzF3t/"; 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 u26-20020a056402065a00b004514cd5ec24si4816096edx.630.2022.10.15.10.23.39; Sat, 15 Oct 2022 10:24:04 -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="D7RzF3t/"; 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 S229771AbiJORFF (ORCPT + 99 others); Sat, 15 Oct 2022 13:05:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbiJORE5 (ORCPT ); Sat, 15 Oct 2022 13:04:57 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A699D24BE4; Sat, 15 Oct 2022 10:04:55 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id s30so10723095eds.1; Sat, 15 Oct 2022 10:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=AhI+hlPFB1VmnftZiBxf9R+xZVV23cThttepsCBJepo=; b=D7RzF3t/EWVqoB7nziHldVdy/u1JR9lhj4bboxXOSosBovIY22BJCEdFgVTaSyo1c8 eQTsqz4lEI3XcvYXXQs/9k0CTH+A0XFJHi45rOjlC8NlUnl+N8J7KGV9YESaF2Q6NFVD LKh3GQ6AHaXnFRgrUQIKSwtdCnRbFOehuyea8TwqyGfh9H+xqU5ftCAoSbGsJkJ5mJ9A 9wWUpglUu6zJpnfqwJFubZhCI+prpJX9Ftya55nysdS197/M5BraomZieUBjNMFBNK+z 1hKaolSAmUVIc730RftdNh/oeKa10j/lBnlMdJxJfs7kiy89H5Df0tg0iP9Nnaj2f1kJ DbaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=AhI+hlPFB1VmnftZiBxf9R+xZVV23cThttepsCBJepo=; b=xjKRIQ+0TRqRozlama8D2wMlVsqcugll4VZSqASjsUbLB3+e3pSN5PaVjyBWv3MrnJ +4OGV9/ic6A33WIwG04NuP+M+gLsisI9UUl9Tf0FfQVmLr4DUwonmv6KJ1M5Z+lHK3tN 4CuVYLXuRl9Li0TQYWm2AVgopBczuTPtWSSbUwcMft+D7mQoOqP+ERFjrA/7FJx3UMaZ MUj61PKJNtnrA+eeX9as1M+lk/AHO6XBEkcwup/EktHXx0riR/2AZAWGmSTdA5pTqHfw qfgZnG9vzR3cYhkbOtelB316o1d30NifhDXLHgHtKcoqFA6/WuD/e4wpGTgD5EYqVWNh MTMQ== X-Gm-Message-State: ACrzQf1dabj6dD4KJb1TW07QzSOLMZQ2nvNSYGoKH2FWWrazJBwOHehe B7kU+SfRS2vUNIOS3Dn9ODk= X-Received: by 2002:aa7:de10:0:b0:458:e101:fe54 with SMTP id h16-20020aa7de10000000b00458e101fe54mr2953882edv.80.1665853494105; Sat, 15 Oct 2022 10:04:54 -0700 (PDT) Received: from localhost.localdomain ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id n19-20020a170906701300b0078d25e0f74bsm3362484ejj.46.2022.10.15.10.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 10:04:53 -0700 (PDT) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/1] ARM: tegra: asus-tf101: fix accelerometer mount matrix Date: Sat, 15 Oct 2022 20:04:25 +0300 Message-Id: <20221015170425.83233-2-clamor95@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221015170425.83233-1-clamor95@gmail.com> References: <20221015170425.83233-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?1746775046986798121?= X-GMAIL-MSGID: =?utf-8?q?1746775199513963634?= 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 455f7e621c02..83262c790058 100644 --- a/arch/arm/boot/dts/tegra20-asus-tf101.dts +++ b/arch/arm/boot/dts/tegra20-asus-tf101.dts @@ -591,9 +591,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"; }; }; };