From patchwork Fri Oct 18 13:13:40 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: 13841744 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 54BCFD30007 for ; Fri, 18 Oct 2024 13:16:18 +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=/IpCOxbbfuWTu34K+8DA6jyFkd8ceqHknAK97seFFAo=; b=V4pWzaWM8KTKTv KLYbK1aIst+6oxeDK4QOn2IljKsi6qiivfkN9OSaiQUOjf66AjeQctxgvMdu0bMViOCv2dwvaLu0M D01e51PjAxmheuRk38GtQIfLwph3+HZiSZgR49FMjKRAKQH0aY9X/CHOX1LosjH1apTJuBdtrdQIA BQ6axKzCd1ErB3X9BHvnU60kF00PY9Cefw/IW84IKGlJkyIUIm0JIIP8SSWYBhbywUsIdvW2n0DOF oLSsSxEnwWMTjFiFLDZfd3pexzfDJP+6ArSwj+0xeBbHWu8W8KbRS1UaHXfpnXodq6qq++AUKe4yg miWbJKj99Id4GwASBjEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1mpo-00000000qoA-3w9q; Fri, 18 Oct 2024 13:16:04 +0000 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1mnd-00000000qIV-1e3a for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 13:13:50 +0000 Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-3a3aeb19ea2so8021575ab.0 for ; Fri, 18 Oct 2024 06:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729257228; x=1729862028; 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=/IpCOxbbfuWTu34K+8DA6jyFkd8ceqHknAK97seFFAo=; b=AKtnIn0zL8eK4fQVNppnV/L2ekAMlbrgN913+0S7xuDytTKvUjEXpvNhYzrNTWR50u 9UGJcGPtI/Qp4MtX6mqZxdkZoAqfJExNLdEfgqUWtiAhhn5SxoHOBJ75MWLVj2FwlQ/I Bf5Mv9g+cNNQFT6oT2GJ+YMIQnqlNnrv4if6g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729257228; x=1729862028; 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=/IpCOxbbfuWTu34K+8DA6jyFkd8ceqHknAK97seFFAo=; b=MiL1ml0fFd/kfPfHQZ98R47/GSnHhNmtwc2sy9zaXQW+HOuKulpzJZAdc+uLJFSTJq movavZ5vrcXittskJb0TJpGa4vqVXqTBGToXFXiBBksw49K5UlbwhDgKwBjzkYTDZbrT mSEJjib8jwM060jEHh4M7C5TVizqPl9bFc4G340LNNnu3P0D0+6hHRQjm3OBr1A3LF/S JGrtxM8ZTGLjTYv3L8btQIT2qt+sRXzbtHoq0JxjnY8PgAogjXpJNRj5a+f/YitrzA3M eArSQI2q28R58Su+ZvDJvUG1n5ZMdNSN1YUFJX9L63GG6L1CmC96NmBfwtC6AkcKqnbm tg9A== X-Forwarded-Encrypted: i=1; AJvYcCVAXXUS78PI4HA2xdCPWeMMY9WH+BjqVX1E66hRfjYsfEsJU9O/EZqla9upSISnejkBhCOTBo11+fBw2ooqL8Xk@lists.infradead.org X-Gm-Message-State: AOJu0YyRO3XmAgl97jstvKRYiXAR7L9tNaX+AM/3cMvW+BV0DtwpGiq6 FHUKeA8iDCP1FFvECbvQTwdSuxvj9U//2SwiITlafMDZl5KiKpFKnDCg00182w== X-Google-Smtp-Source: AGHT+IFBfEFVY3g0oM2/BGGdZ3Q6Mpfn3MSyJk6cOSoXomUIoUgVnQhq517tPvH61wPvt73sh3wORw== X-Received: by 2002:a05:6e02:1389:b0:3a0:ac0d:22b9 with SMTP id e9e14a558f8ab-3a3f4058abamr22270665ab.6.1729257227812; Fri, 18 Oct 2024 06:13:47 -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 41be03b00d2f7-7eacc256cc8sm1120222a12.56.2024.10.18.06.13.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 06:13:47 -0700 (PDT) From: Hsin-Te Yuan Subject: [PATCH v2 0/4] Using i2c-hid-of-elan driver instead of i2c-hid-of driver Date: Fri, 18 Oct 2024 13:13:40 +0000 Message-Id: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAARfEmcC/23MQQ6CMBCF4auQWVvTobYYV97DsChlhFlAyRSJh vTuVtYu/5e8b4dEwpTgVu0gtHHiOJeoTxWE0c8DKe5LQ63rC2q8qiWmVQklWpUPznXaWHRooBw WoSe/D+zRlh45rVE+h73hb/3LbKi0st73XWOt1qa5h1HixK/pHGWANuf8Bb7o+m2nAAAA 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_061349_516355_8241DC01 X-CRM114-Status: GOOD ( 12.54 ) 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. Adding other second source touchscreen used by some mt8183 devices in this series since this should be based on the workaround of pinctrl issue. Signed-off-by: Hsin-Te Yuan --- Changes in v2: - Add second source touchscreen patches since they should based on the first patch of this series. - Link to v1: https://lore.kernel.org/r/20241018-post-reset-v1-0-5aadb7550037@chromium.org --- Hsin-Te Yuan (4): arm64: dts: mediatek: mt8183: Fix race condition of pinctrl arm64: dts: mediatek: mt8183: Switch to Elan touchscreen driver arm64: dts: mediatek: mt8183: kenzo: Support second source touchscreen arm64: dts: mediatek: mt8183: willow: Support second source touchscreen 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,