From patchwork Fri Oct 18 13:13:41 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: 13841757 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 7CC20D30007 for ; Fri, 18 Oct 2024 13:17:44 +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:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EYlu7kUyVVFvizFrzeSTtKVIpspDxNh9CaA9Lpt1VR8=; b=S/xSgM9ssLB28OeF2vlTZqEiou jnmr9U1tAtZnPmpomVLnN7NfnAXE1TPbRmf5o051Y6txdaKqtCN2/Ky+ZRAWkgp0C2FpMGRtNjdjc dW6q0LZgo4k+Jl6YVDw3t/PUGckQ7bLxe7MLqGFlAR79zLzTwVgQR5o58v5DE3het7saUf0F82n8c ylxXtc1+t5kjQan6eBjkxX6rNyofXGBnVhraRkHEMTKxW6y3nP7X/Mb7t5+HCoo79Fs3HaJR29SfM mwcDCmK0Ej2qm/pokudRHKENVEEZUmOnTECuwgelnzJ/y/aCn82kjpP5tF6uyRN6z5dFpOeD8nDz8 jSVkVrIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1mrF-00000000r1T-3Ay3; Fri, 18 Oct 2024 13:17:33 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1mnf-00000000qJA-41Yy for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 13:13:53 +0000 Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-7e6d04f74faso1425323a12.1 for ; Fri, 18 Oct 2024 06:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729257231; x=1729862031; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=EYlu7kUyVVFvizFrzeSTtKVIpspDxNh9CaA9Lpt1VR8=; b=drqB7/9OpB/Q+2iMfvwMgtewLuqIEaXib2gSftfMj+CbFPBSvVTQ3KoDwDQp/Gz68F LJ35C2CjyZh/RyJc/ZUiF9rFzBoC7LVUEQDElgEVVBkGh3R7aDDLUVX51if6Cw8n/MT7 NXLyIQOdOF3/BFDmwnmC9j7nLA+auNYc0LWwI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729257231; x=1729862031; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EYlu7kUyVVFvizFrzeSTtKVIpspDxNh9CaA9Lpt1VR8=; b=YLdarkPtHv0Q5+pbxG7nITn8o/G3+6NnchvQMSTFG/IzaNuZ6ut+8P4BcENQT4OVLg WPI/RXFQAhT/IFG6ZiiryBTIVQVDE9QthdkuRbmMYtCvRkKNA+eiY5dBogOAZD8Hxw1I 0lqqMZVLsFqSLtqQQ0SUKO2RXwuoQU8nMfZfWvwKcrKEb9OotpiFUH8b4g10VbbTaDLl JSCTw71pHWEc8ZSEWdtNk4FITrnUhRjGFRgF23O0qyaDMGBHEAdIvrtuw3Ob39DAvUO7 ME9tPWD5KRMjuPPzm4dEKNmvK9zr5BNV1crIqyg4+zjVVLLCTNdR7rlg0qVSrfqtZBTG wGSQ== X-Forwarded-Encrypted: i=1; AJvYcCU4idnLIMIXgMTz1EIKHjPS6i/JHqwA9JVcEa+//gmiGVgtTGw6CTABUNMjPzmjevvaBMAOpB3PacE03xPj72tv@lists.infradead.org X-Gm-Message-State: AOJu0YyaD5xP02rXvyEqwJ/FpuVwZK4pSGJw/k/O34/N9XcQbxeMZJ+f giqKA6pDB3CV2LEWpnfDvFDCrZSESJZAmRe46QHZ4/hm2uze43wOXD03jRhEaA== X-Google-Smtp-Source: AGHT+IEDUPRn/bzbMJ8DyKrz1ReJDDUNeGqaDjl8NzOmbWtG9DdHYJFJg8JoLxVGWwxzk1sjUr6ruQ== X-Received: by 2002:a05:6a21:458a:b0:1d9:19bc:9085 with SMTP id adf61e73a8af0-1d92ca5a160mr3934470637.14.1729257230773; Fri, 18 Oct 2024 06:13:50 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 06:13:50 -0700 (PDT) From: Hsin-Te Yuan Date: Fri, 18 Oct 2024 13:13:41 +0000 Subject: [PATCH v2 1/4] arm64: dts: mediatek: mt8183: Fix race condition of pinctrl MIME-Version: 1.0 Message-Id: <20241018-post-reset-v2-1-28d539d79e18@chromium.org> References: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> In-Reply-To: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> 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_061352_033982_76EE43AC X-CRM114-Status: GOOD ( 12.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 Some mt8183 devices use second source touchscreen/trackpad and share the same pinctrl property with the original touchscreen/trackpad. Currently, multiple touchscreen/trackpad drivers might probe simultaneously, causing a race condition of getting the same pin. Move the pinctrl property to the i2c node to workaround this issue. Fixes: dd6e3b06214f ("arm64: dts: mt8183: Add kukui-jacuzzi-burnet board") Fixes: 52e84f233459 ("arm64: dts: mt8183: Add kukui-jacuzzi-cozmo board") Fixes: 6cd7fdc8c530 ("arm64: dts: mt8183: Add kukui-jacuzzi-fennel board") Fixes: 124d64392de2 ("arm64: dts: mt8183: Add kukui-jacuzzi-juniper board") Fixes: f006bcf1c972 ("arm64: dts: mt8183: Add kukui-jacuzzi-willow board") Fixes: 055ef10ccdd4 ("arm64: dts: mt8183: Add jacuzzi pico/pico6 board") Signed-off-by: Hsin-Te Yuan --- 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 | 2 -- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts | 2 -- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts | 2 -- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts | 2 -- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi | 3 --- arch/arm64/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 --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi | 3 --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 10 +++------- 12 files changed, 3 insertions(+), 35 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts index 19c1e2bee494c98c0db87308494713a26e304cd2..32ec6fd30fdb7449e9e606f69d16556bcdecc369 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts @@ -21,8 +21,6 @@ &i2c0 { touchscreen@2c { compatible = "hid-over-i2c"; reg = <0x2c>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; post-power-on-delay-ms = <200>; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts index f34964afe39b5353de7b17e82d14d1fba88551ab..b75ab2d33550808196f2d1d4bf0d34ccb713a07a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts @@ -23,9 +23,6 @@ trackpad@2c { reg = <0x2c>; hid-descr-addr = <0x20>; - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; wakeup-source; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts index 0b45aee2e29953b6117b462034a00dff2596b9ff..ebe6e161354c414d91859494ec9295db75a3baf9 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts @@ -19,8 +19,6 @@ &touchscreen { compatible = "hid-over-i2c"; reg = <0x10>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; post-power-on-delay-ms = <10>; hid-descr-addr = <0x0001>; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts index 72852b7600383972d98d9b0edd40b6e99e34a85b..2dc64cc539f815b9848b8243e5b487f22d605a6d 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts @@ -32,8 +32,6 @@ &touchscreen { compatible = "hid-over-i2c"; reg = <0x10>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; post-power-on-delay-ms = <10>; hid-descr-addr = <0x0001>; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts index 757d0afd14fb064fc1de4608e65eb1a561c4dfa6..53e996f9c605dc36df03d4b0051a91e19fefb38d 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts @@ -19,8 +19,6 @@ &touchscreen { compatible = "hid-over-i2c"; reg = <0x10>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; post-power-on-delay-ms = <10>; hid-descr-addr = <0x0001>; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts index 6641b087e7c5f3a957e43ac985137dfd84ac7878..d7db621383c6b823af08ca07e0794758d062e211 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts @@ -19,8 +19,6 @@ &touchscreen { compatible = "hid-over-i2c"; reg = <0x10>; interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; post-power-on-delay-ms = <10>; hid-descr-addr = <0x0001>; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi index bbe6c338f465ee7c11bfbfc30767bdb142706480..e5b51b27980ae90a8f1099f71a891bb0562a375a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi @@ -16,9 +16,6 @@ trackpad@2c { reg = <0x2c>; hid-descr-addr = <0x20>; - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; wakeup-source; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi index 078bc765646f57fd8c55e97325893ab50e4dac51..a96c64a9251044b2c1ba4289467b411e6c744abe 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi @@ -12,9 +12,6 @@ trackpad@2c { reg = <0x2c>; hid-descr-addr = <0x20>; - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; wakeup-source; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts index 8ce9568fee95a6faba0c238f6c43f43948c26d9b..2c740b3e5d3d91980ed89e07a6be70ff51906145 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts @@ -25,9 +25,6 @@ trackpad@2c { reg = <0x2c>; hid-descr-addr = <0x20>; - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; wakeup-source; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts index cce326aec1aa594deb6f5b14340d3552d110b160..bce368fcc884008086c091a29e3f69e541215ee5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts @@ -38,9 +38,6 @@ trackpad@2c { reg = <0x2c>; hid-descr-addr = <0x20>; - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; wakeup-source; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi index 76d33540166f900c99c419c4f97ca0a56cf658f5..9b1600d5c4c1247c97fd59aa7603eaa835420117 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi @@ -12,9 +12,6 @@ trackpad@2c { reg = <0x2c>; hid-descr-addr = <0x20>; - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; wakeup-source; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index 783c333107bcbf7368398feae0a29e5f0ee50c19..65f70627f2dcc4af832b8a08f7cdce354c800fae 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -100,14 +100,13 @@ &dsi_out { &i2c0 { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; touchscreen: touchscreen@10 { compatible = "elan,ekth3500"; reg = <0x10>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; @@ -116,7 +115,7 @@ touchscreen: touchscreen@10 { &i2c2 { pinctrl-names = "default"; - pinctrl-0 = <&i2c2_pins>; + pinctrl-0 = <&i2c2_pins>, <&trackpad_pins>; status = "okay"; clock-frequency = <400000>; @@ -124,9 +123,6 @@ trackpad@15 { compatible = "elan,ekth3000"; reg = <0x15>; - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; wakeup-source; From patchwork Fri Oct 18 13:13:42 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: 13841758 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 3020CD30008 for ; Fri, 18 Oct 2024 13:19:13 +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:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pKGlVab4i7DHl/ffkFGpIlho3hvAo5V5WFM3UhTHe/o=; b=Yy6y3iLSDsv1fZFNlVMuNMbKmj 1Kq0HzFMmF5VxSRT2MVne4NxOb6+5l5G6xDR1Fya5mUC625is9/OM+XKJ22tt/pTBMULLjc3EgC04 2YYQMPK/KRMJ+y4TiluvfDz+5M8MG+t+molAmO0+AglPPqQzby/9ACkALIfpCK1RNKXpqp5UmGYnZ EuheCKD6P6rc/L05Lkp6P93o5/eqepSg3W9LFHZXBUXig4grr+7ac5NMSAm6tzFKXqD4r1zKDfgeD jlfFb3O4ktKFASduv2QHAAElPF4yqnRFxO/ndwmD8fEn/no5WJ4lbgZrEOZs8dUkR+ZqZ0HA1aISj jMQBfkdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1msf-00000000rDi-3JeS; Fri, 18 Oct 2024 13:19:01 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1mni-00000000qKY-3q32 for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 13:13:56 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-718e9c8bd83so2313091b3a.1 for ; Fri, 18 Oct 2024 06:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729257234; x=1729862034; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=pKGlVab4i7DHl/ffkFGpIlho3hvAo5V5WFM3UhTHe/o=; b=iV/pDpPh1KE/kslSSzMUA9vGLbOt8DObpGfhk3mFfwnQVEMhOfQAXSohucdDJ8A73J 9Lf9mO0/JyiFcycGELZPJjEMAzwAbaUsTWdkBVfl78dnlS4Cn2vgfIbZes9LrL/C0ssR 7mfT/eTRsoIYXd7JkP1Na6XJFln6JBu38N0a8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729257234; x=1729862034; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pKGlVab4i7DHl/ffkFGpIlho3hvAo5V5WFM3UhTHe/o=; b=PuS6WV+IB2UDbtyPAZF7a5UCcrRei90wmeEe+cOtnBJ4Q8oy8i9XHRG6jk2/y+sANb T4jRGG2Ze6OcXwpd1KsJx48uxezcUljZ9cdjIoanzS98CSFbWN3UYdRFDTtKtSJbQis5 J/aF+rM9eOkdT1vw3C1CiWIApbZfWR2YiSoxsjwmYg7BKg7mp6Sp1uxmrXcU4CBdukVX fB9bAJ0bRuLJj+5nHRc7Uf2iBeQ7lXRAgCaL6B7QRTKhUeR+MJu2IPrxTGvtjrjd4gRa UbJSYp7QCeE894F4kI2Fq3cdGWtn1k2obsk1HRoOOm6sXImgOndX7sFT0qCRp3AnsvSw DOJg== X-Forwarded-Encrypted: i=1; AJvYcCVHVGEiwqef9zT1S+Xk7zL/MlsNBQtAtGWzi5G/HxKb+ZeOLnAAgOzXiUoTki4JmIgazrJ9NFrxqZyJqabLH9JL@lists.infradead.org X-Gm-Message-State: AOJu0Yz/yZlLxaIK1OCD4RZfUmfUaVgjXAnBIUiEOvStaVqIt9PpISxX FH/2mqtjyowHDSOBW5ci6mK6j5ayI2VZFhYN4bTkhnmsTzEOKcOhFHayNoC78g== X-Google-Smtp-Source: AGHT+IERpLhih0BRRVXV4tS4aKvV7xvMczqjv51K9VBdHc8nUJD47v5CIh7delZjIDSg9jy5PpQR0Q== X-Received: by 2002:a05:6a00:2d18:b0:71e:71ba:9056 with SMTP id d2e1a72fcca58-71ea425995dmr3282768b3a.10.1729257233739; Fri, 18 Oct 2024 06:13:53 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 06:13:53 -0700 (PDT) From: Hsin-Te Yuan Date: Fri, 18 Oct 2024 13:13:42 +0000 Subject: [PATCH v2 2/4] arm64: dts: mediatek: mt8183: Switch to Elan touchscreen driver MIME-Version: 1.0 Message-Id: <20241018-post-reset-v2-2-28d539d79e18@chromium.org> References: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> In-Reply-To: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> 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_061354_965271_2F4B1C87 X-CRM114-Status: GOOD ( 12.18 ) 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"), the i2c-hid-of driver used by some mt8183 devices resets the touchscreen without having enough post-reset delay. This makes those touchscreen fail to get probed. Switch to Elan touchscreen driver, which has enough post-reset delay. Fixes: 2be404486c05 ("HID: i2c-hid-of: Add reset GPIO support to i2c-hid-of") Signed-off-by: Hsin-Te Yuan --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts | 10 +++------- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts | 9 ++------- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts | 9 ++------- .../boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts | 9 ++------- 4 files changed, 9 insertions(+), 28 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts index ebe6e161354c414d91859494ec9295db75a3baf9..b98a3530511e576347a4ed291d37d45dd42fec97 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts @@ -14,14 +14,10 @@ / { }; &touchscreen { - status = "okay"; + compatible = "elan,ekth6a12nay"; - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; + vcc33-supply = <&pp3300_alw>; + vccio-supply = <&pp1800_alw>; }; &qca_wifi { diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts index 2dc64cc539f815b9848b8243e5b487f22d605a6d..9fb329626a82034e44fb5fbd2d0ad9675c0a5afa 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts @@ -27,14 +27,9 @@ &cros_ec_pwm { }; &touchscreen { - status = "okay"; - - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + compatible = "elan,ekth6a12nay"; - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; + vcc33-supply = <&pp3300_alw>; }; &qca_wifi { diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts index 53e996f9c605dc36df03d4b0051a91e19fefb38d..6d547361fc4f9d2ab1f9b048af443495c9bed323 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts @@ -14,14 +14,9 @@ / { }; &touchscreen { - status = "okay"; + compatible = "elan,ekth6a12nay"; - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; + vcc33-supply = <&pp3300_alw>; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts index d7db621383c6b823af08ca07e0794758d062e211..39ab09ce28aa2ed4335d5279a965f23a8458688e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts @@ -14,14 +14,9 @@ / { }; &touchscreen { - status = "okay"; + compatible = "elan,ekth6a12nay"; - compatible = "hid-over-i2c"; - reg = <0x10>; - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms = <10>; - hid-descr-addr = <0x0001>; + vcc33-supply = <&pp3300_alw>; }; From patchwork Fri Oct 18 13:13:43 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: 13841759 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 B9225D30007 for ; Fri, 18 Oct 2024 13:20:40 +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:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+dRN7sp9adnaf0gmX/kygO9824Q5cpdY3njPLrCdXXs=; b=G9yVHFlpOzW1U8pdhR4jPvRADW U8zzI4BSsV/7XI1s95n7AJr/eEaCyLmENkj8+BzjjgonyHABgMI25Rkm5AT1MrWmj2PSx7z9m074x QAfzyeWPqIc3u7AFf313dxxeYbxtnhrAt6jRe8rtHLLuptkgqjDeWUoY1kc86yljITr5zYDTldTHM pScfH47MPdKKnVa9yE3yyEB1JxYw7kexyTG2XfagnK39lnbBvg/2mMge/keB7wHvaYPuYH6qbr3Hc JWVJaw+VYS2r920p6ZcTe64K+zZiOpH6Ueuc5unK8inyuvYlJB+9v8zpNTmYcWiyT62Km08o1ehhi Il/CM+PA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1mu7-00000000rRG-1lBw; Fri, 18 Oct 2024 13:20:31 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1mnl-00000000qLv-34oy for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 13:13:59 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7163489149eso1638121a12.1 for ; Fri, 18 Oct 2024 06:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729257237; x=1729862037; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=+dRN7sp9adnaf0gmX/kygO9824Q5cpdY3njPLrCdXXs=; b=HFWzybYy5CrOTVNhgoNlQd+pk58YdUbXD6q8ZRDYmdqcL71UEUpqEouHQygVLQKUH/ yWydS/Kf30h8qLzC+VfE17y2sAlX3tCIZn4WXk33jJijufDfMLBjfXjsCJ2BMT7Z4ws+ T+85owdS6YwrH4ir6Oak2Gj1bdYmo1ETDbt2E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729257237; x=1729862037; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+dRN7sp9adnaf0gmX/kygO9824Q5cpdY3njPLrCdXXs=; b=kEI0SCk7FMaNBWly+dnpIqLeqY4Lv8aHOInR28qiwLHGZP84do0HQXuVb9Aara7NR3 APNeahUkFg2sWjqkQhfWF0ZjNMcV7Inu9T7qXiAZd325P+XEYtJPqRcvuhuHC9+SSoXk yugR3/rODnFiCJZYKekO9LdXVZ4j9DsWKbr0+uHyLU/PTAC/aj0OS97lgPdHQhAExw6H nSgtqrMgAFWFNCgg1ZQQ8yoEjiN69KTVtkQ8VHc4BJB9p63yDDXqhRmTj9kC+CL1wBr5 Y/r0hY3UXlBed4MfsKPBxkq2CEP45YMDKydJlaCWuzu2/F1rUieOlh/9KWxoQveYhCsF Q9WA== X-Forwarded-Encrypted: i=1; AJvYcCUwqwvc1E4xFB+jpRgM1szH+2pjk5gN3Vl5g6r5BmH02MZOE9l3Az9QkXhUVxtUXlLiVcqId81M8lU7+Q/ZOpnn@lists.infradead.org X-Gm-Message-State: AOJu0Yzyur0Cwm/6YRtWgeyvydLm/FBMicvX97HdhyLuT3RbpLLuCq9i jijXJK2vAU5mmvpqUN4qk6sCwpPmfcKZPfq7CxPea7ss/8lyRx2bY57RZbtXVhMnd+E7RYDE2pI = X-Google-Smtp-Source: AGHT+IG28NlyG5rPtxLjr3QMID39Dq27Ev7Stc0ZZoqqQfbQBGFdiwKlYI1AT/T18xmyW3UlwwjAkA== X-Received: by 2002:a05:6a21:4a4c:b0:1d8:fd01:52b7 with SMTP id adf61e73a8af0-1d92c4bac01mr3296386637.2.1729257236906; Fri, 18 Oct 2024 06:13:56 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 06:13:56 -0700 (PDT) From: Hsin-Te Yuan Date: Fri, 18 Oct 2024 13:13:43 +0000 Subject: [PATCH v2 3/4] arm64: dts: mediatek: mt8183: kenzo: Support second source touchscreen MIME-Version: 1.0 Message-Id: <20241018-post-reset-v2-3-28d539d79e18@chromium.org> References: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> In-Reply-To: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> 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_061357_812180_8AF94661 X-CRM114-Status: GOOD ( 10.21 ) 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 Some kenzo devices use second source touchscreen. Fixes: 0a9cefe21aec ("arm64: dts: mt8183: Add kukui-jacuzzi-kenzo board") Signed-off-by: Hsin-Te Yuan --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts index e8241587949b2bc238ffa85f8fa6b6ca78b1d6f5..813e6bf65b62ee6742e52133f9adf7e83a6078c5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts @@ -12,3 +12,15 @@ / { chassis-type = "laptop"; compatible = "google,juniper-sku17", "google,juniper", "mediatek,mt8183"; }; + +&i2c0 { + touchscreen@40 { + compatible = "hid-over-i2c"; + reg = <0x40>; + + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + + post-power-on-delay-ms = <70>; + hid-descr-addr = <0x0001>; + }; +}; From patchwork Fri Oct 18 13:13:44 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: 13841760 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 4F9A2D30008 for ; Fri, 18 Oct 2024 13:22:10 +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:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MP8TMQ/gJDNNcW5cvIQHPqEbDAINygwMqDzh7j0WvTc=; b=T/1YZcJX6OTPaYcvTsavthuET5 QQM+/T5I0qjdynjS9D66Viwb0nsCQs+aaYhgfV3MIQjgWjhKcoJJ+ENb9o3zc+ed3jBBexOB/q7nb yXAe+ZOtq1xqXbAjXMyBR6mbTWF7KN4k5UfBXcSxIIwuVwDniicOxqmS1458knHEoGaX+pOg5YU+A UyUHTojEQ94PW9ZoHkzsePljLGpXpoqrwvFLzYFNSqp7NyKeE9IpJcoHi9TIx048T6Kf/QEmsX2zP KcZSihuCa9AShr/b4K5r4GGN9GlXq+1hYevdCB2mXZ0LTKzVQuRHk0Qb9O8WNbXNMFj5d7yqJkRES gzshuSdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1mvW-00000000rdi-28XY; Fri, 18 Oct 2024 13:21:58 +0000 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1mno-00000000qMm-2ueh for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 13:14:02 +0000 Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-7ea8c4ce232so1915215a12.0 for ; Fri, 18 Oct 2024 06:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729257240; x=1729862040; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MP8TMQ/gJDNNcW5cvIQHPqEbDAINygwMqDzh7j0WvTc=; b=CwF7KfGCIglyar2RSysYV6le0y4PdcMYW/FhwcBjLvqC3udqsPZ+fZLx/xjHF3avQs Xao+b4g2kuQSScmnxyflc5NEglZmeHVHrnmcDOeSE7diZU/I/65wI3eg+vFUZCVKIBzF d1Esgs41WnXJWLKxmyZwURmbPandwE2xoRlzM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729257240; x=1729862040; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MP8TMQ/gJDNNcW5cvIQHPqEbDAINygwMqDzh7j0WvTc=; b=Wcs8U85MMkMJixkrew5/TcykAGVG9656Dz/eG2ldmDpdACrU5GSlxGuLz4XV1pDVLr mGOUubrnr4W2CeHYleLldxo4OoTPhFdtG03fd7na/zqU2zeprwx7sg+/ZZSvZZpnCjer 56uXlf/DbLjojrheHqr6iAi8c2QcZhuBmvtlaErbmkFiYEnxpG+Fj4PRMvTzrYptxXf6 HR97rjQ3ksS0JlS1kIVojyObwHarDemSKVOkgkcnD565z02cUK+mNmNHeRuzquu7Fymk IxpIVn9ap/XJAT132d2bFKYGwm583TgzyQnNfQtHznQ7fSJw1shECvhKwHPSOC0rGtE/ I2dw== X-Forwarded-Encrypted: i=1; AJvYcCWOc0AOClqiy8PgcPQi8OLoz+hPaoSYuVrHQsLKUTNe5BvxZWLI0yi6gZEgII7AGAqokWBQuLCOOxfae++bNVWp@lists.infradead.org X-Gm-Message-State: AOJu0YwsSPO0u0G2DDezy60GteSYqPIy9XV/T5C24t0ydY920dn+1D3J VrwfD+SRZVLgoU1BgjjWamCKkaqPePP0r6Tut3v6nVRLnBcYBp9g6nNZOzIUaw== X-Google-Smtp-Source: AGHT+IGet2bY2MWfssxOfbEhS0VJ9OTuNI5+X2G2o3nzQ6wMgbpufEiy5menDVmJwJJAbGvW4570bg== X-Received: by 2002:a05:6a21:6e41:b0:1d8:a208:f309 with SMTP id adf61e73a8af0-1d92c51fab0mr3397932637.27.1729257239635; Fri, 18 Oct 2024 06:13:59 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 06:13:59 -0700 (PDT) From: Hsin-Te Yuan Date: Fri, 18 Oct 2024 13:13:44 +0000 Subject: [PATCH v2 4/4] arm64: dts: mediatek: mt8183: willow: Support second source touchscreen MIME-Version: 1.0 Message-Id: <20241018-post-reset-v2-4-28d539d79e18@chromium.org> References: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> In-Reply-To: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> 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_061400_778608_1A64DFDF X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. 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 Some willow devices use second source touchscreen. Fixes: f006bcf1c972 ("arm64: dts: mt8183: Add kukui-jacuzzi-willow board") Signed-off-by: Hsin-Te Yuan --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts index 813e6bf65b62ee6742e52133f9adf7e83a6078c5..e8241587949b2bc238ffa85f8fa6b6ca78b1d6f5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts @@ -12,15 +12,3 @@ / { chassis-type = "laptop"; compatible = "google,juniper-sku17", "google,juniper", "mediatek,mt8183"; }; - -&i2c0 { - touchscreen@40 { - compatible = "hid-over-i2c"; - reg = <0x40>; - - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms = <70>; - hid-descr-addr = <0x0001>; - }; -};