From patchwork Fri Oct 18 12:03:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Te Yuan X-Patchwork-Id: 13841686 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 70E96D2FFF8 for ; Fri, 18 Oct 2024 12:05:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=CDJu6fBQb2bDc0BqYl/x7X5JBsqu58Z2M+kmfTvKKyw=; b=1f7NrCRhecegc6 cJ4fku2Qfg8siC7USmmmaH7p8si1xHfseQLgpgCukrl3IBZHFs4pYfnCA2rbqUBbMs+GOAhEqWwlG L95yLOkQMeGdgD3yfL2dYtBiSqjMG6mgEXWcsJM6NhCLGSsRB5oBC8svxKYXkfe5gmo/aGo7pivFO aUZecf0Viggbg2RUT/Ypla2bX2DlId0pV97bwbo/zPcECSD2F038h5NlhAPxwz77fZsorEjcnK7bV llypBX6eMLe8q/nL0n7phoSnwLd5EQpsqOA2qtJ1ofEDiaTOKyXESUnt0IUKTUuAwd4zJC3BJl6I8 gLCy8TFmNcm3Rat1f4UA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1lil-00000000hwC-0cjt; Fri, 18 Oct 2024 12:04:43 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1lhH-00000000hdL-3eOQ for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 12:03:13 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-71e5ae69880so1584952b3a.2 for ; Fri, 18 Oct 2024 05:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729252990; x=1729857790; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=CDJu6fBQb2bDc0BqYl/x7X5JBsqu58Z2M+kmfTvKKyw=; b=Gk7+N69mdfiOC4mnAZyAO4wZ3v4JYmYRseAe3z0DtIavl8lfjWZYsoohQYrvEobddQ C0xiiRBA+0G88Vh+ZOWiFfAtPzaUBU+2kfdZWe9rm+9ov+SZ+tbxGbY7J2l8NYxjs0Hu bwHX8hLeOnmKXnq3LunNuUz+46nO2Nrs6WBIg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729252990; x=1729857790; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CDJu6fBQb2bDc0BqYl/x7X5JBsqu58Z2M+kmfTvKKyw=; b=rIyvKYFf+eYm+4EdEoQ0NAUuw1SN7RaMnuuY8MW3siIag0bDqikH14wvYNCvh6WLht Otbh7gvHSnlU/m8w1d/98vzBd+HnbnJqMqEdxFf+jRaYuVyOJhZmWA5DtfML0kNXoKnU PtP8qgGuAaIS+kz5CqI/MojMK5OHOzLM/IqpJcjQgXfQRJZ5SI3QbhLCqyPU62x2a32P /aio/44mwu1O5h5wuIZwvLDixfcJdPItaItJ3eRjN8GYKt/Yj3XoZpD3BkdSx2JgDj2O SnCTP1DkedlqdEtfVV+GRp8rSAn5EgorJeinqzSszC+XJsAKk5wNWr4cigg+p9ynpMSW qzOg== X-Forwarded-Encrypted: i=1; AJvYcCX/SIOeYCBZvcBau/iwX62fZFwHbbo57S4y65srN50dWkDuPm/qVoiAjjr88NR/YlkdaPai3TI1q/C+jhAercQX@lists.infradead.org X-Gm-Message-State: AOJu0YwI7LOq/Wu5+dJXdSm50tKhPwWsDRN4mzSDfLv+0AdLGH3Mf4rx r8dS+nLofXjSHEJo/vLE4lYzRFx7oWsyD43fa5519gKqOX2cAW+Uxb77u5XG5g== X-Google-Smtp-Source: AGHT+IFKICDT9+F2pT3sRCMfvCwNLuczhwS1bTZfHyCZaslXhQZFrv1ZJCb8b0gWYMEy9tdZtcu1bg== X-Received: by 2002:a05:6a00:1ad2:b0:71e:693c:107c with SMTP id d2e1a72fcca58-71ea31ae9a9mr2758478b3a.11.1729252990124; Fri, 18 Oct 2024 05:03:10 -0700 (PDT) Received: from yuanhsinte.c.googlers.com (176.220.194.35.bc.googleusercontent.com. [35.194.220.176]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ea34ae672sm1274014b3a.204.2024.10.18.05.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 05:03:09 -0700 (PDT) From: Hsin-Te Yuan Subject: [PATCH 0/2] Using i2c-hid-of-elan driver instead of i2c-hid-of driver Date: Fri, 18 Oct 2024 12:03:03 +0000 Message-Id: <20241018-post-reset-v1-0-5aadb7550037@chromium.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHhOEmcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDA0ML3YL84hLdotTi1BLdxGQzsyQDY1NDM0NjJaCGgqLUtMwKsGHRsbW 1AKoyNcNcAAAA X-Change-ID: 20241018-post-reset-ac66b0351613 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Enric Balletbo i Serra , Hsin-Yi Wang , Benjamin Tissoires , Hans de Goede Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Hsin-Te Yuan X-Mailer: b4 0.15-dev-7be4f X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241018_050311_917200_B5276C16 X-CRM114-Status: GOOD ( 10.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org After commit 2be404486c05 ("HID: i2c-hid-of: Add reset GPIO support to i2c-hid-of"), i2c-hid-of driver resets the touchscreen without having proper post-reset delay on OF platform. From the commit message of that commit, not to decribe poset-reset delay in device tree is intended. Instead, describing the delay in platform data and changing to use specialized driver is more preferable solution. Also workaround the race condition of pinctrl used by touchscreen and trackpad in this series to avoid merge conflict. Signed-off-by: Hsin-Te Yuan --- Hsin-Te Yuan (2): arm64: dts: mediatek: mt8183: Fix race condition of pinctrl arm64: dts: mediatek: mt8183: Switch to Elan touchscreen driver arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts | 2 -- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts | 3 --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts | 12 +++--------- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts | 11 ++--------- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts | 11 ++--------- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts | 11 ++--------- .../arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi | 3 --- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi | 3 --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts | 3 --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts | 3 --- .../arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi | 3 --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 10 +++------- 12 files changed, 12 insertions(+), 63 deletions(-) --- base-commit: eca631b8fe808748d7585059c4307005ca5c5820 change-id: 20241018-post-reset-ac66b0351613 Best regards,