From nobody Sun Nov 24 13:33:35 2024 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0662778C9D for ; Tue, 5 Nov 2024 03:08:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730776101; cv=none; b=ZYDTecuu78vF2n9Cl+z1+eX7/cGQIRmGuosgZkhJr/3k2iKYHRmzFXF2QCf4wiq0nq2oKogCVFYUG2s/VlCSNRj7xSzUs+6d2oC3vJe4lnRdxAc21/lYBOom6JUqZ/ysjjCQZF0AP5qk7PQJ7o+LURb5wS5qoQ8PbVjXhG9u17I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730776101; c=relaxed/simple; bh=GuEunY5sk5TaYNRBAQM9yqtRv9XIjL9786C9i6GT7Tc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=j/FkqgFSafuXdkAQozOwK/M4IjmBXMn5nWkJi90sGuSP2H0MayUOVL8OIPt9LhroxI+N5/KJjGtmULSpgvIo6RJeR3sOXoQsmszheUmTim3CNGCBh8rLG0FwVgFAGK4pX4zBolwHnu7Y9RUWgpUAZQ5dWMVowL8ccpWHMBlkRYM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=DurZWuGQ; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="DurZWuGQ" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20cf3e36a76so52087785ad.0 for ; Mon, 04 Nov 2024 19:08:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730776099; x=1731380899; darn=vger.kernel.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=8XrcJsxzwLs0eqtDhBbJMSI0x+sUY9A+M1XULM1hdCU=; b=DurZWuGQaDJAS+7w11m14nv38AQYqGqEVuw8W2Jvg9iKOXZzoiUS+/GgIRJH1HmkHV a8qFjNCUWLO+i98NQl1Dp8yRhmbsUnGRaqKwS+RnMpc/v4lpB41eglMLoxnIf4YwrF0z qWynhM/w2zIae85Kowjqky3ykoynAa2hu3FpI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730776099; x=1731380899; 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=8XrcJsxzwLs0eqtDhBbJMSI0x+sUY9A+M1XULM1hdCU=; b=dzcIgk3UjlgcuWLMNKsjPnRJVwCh1bznMfPN0A50XJkOkmES2o2eeVCIuPexws2Ekw M7pVfaPAgoNKxTTc2M3XEO80qS+q8o3lWmC2Szb3dRrOgUe17+PaHk/3//j8EPFIt8Py akSlx0CpPDzrrbgnNpJ01qBoRJqe0kH8J22ADBRaqG2P80glLf9OLBMrU02yJ18Z2T5G Np2w4smCdkIDI5okw2cknm1ooUl1DcYNnzq63rttshP9wyBrV9DhtoUSUYqcPqQ7ZfHh ue7a8an7fF9lHEkOB9aOxqSKdNOGwBnbtRg323LFCKhGMkKhkmjGUira7HrHKWIol4Ra usIQ== X-Forwarded-Encrypted: i=1; AJvYcCVTXHf0s40M/zvT8zjwOyBirj21ac8kHJB9dacWd9uw3ODvDux8N9xz5U817yw+iSI6X0rZFDOOuMJMVOk=@vger.kernel.org X-Gm-Message-State: AOJu0YwjpnRFgKgB5IHX2tjBVVXnMKUgVq5Ope8k7aUPOsQDyMiPuSlY 8BgnR6FtLFU1Kzua+sTaukgIWUUqt6w5lh6jTgHUKYLcl6ZLMqUL4GDkED/n9ZL1FfAOz0Q4IL4 = X-Google-Smtp-Source: AGHT+IF7J/95pmLTum7neOrQQp+bL+1IHEgggYbOJ5OQlebdFirCfCn3Qv7bpzUFn4MmtlqEhrvs+w== X-Received: by 2002:a17:902:ea04:b0:20c:f9ec:cd9e with SMTP id d9443c01a7336-21103c59c36mr253979645ad.41.1730776099132; Mon, 04 Nov 2024 19:08:19 -0800 (PST) Received: from yuanhsinte.c.googlers.com (176.220.194.35.bc.googleusercontent.com. [35.194.220.176]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-211057d8d4dsm67497885ad.270.2024.11.04.19.08.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 19:08:18 -0800 (PST) From: Hsin-Te Yuan Date: Tue, 05 Nov 2024 03:08:11 +0000 Subject: [PATCH RESEND v2 1/4] arm64: dts: mediatek: mt8183: Fix race condition of pinctrl Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241105-post-reset-v2-1-c1dc94b65017@chromium.org> References: <20241105-post-reset-v2-0-c1dc94b65017@chromium.org> In-Reply-To: <20241105-post-reset-v2-0-c1dc94b65017@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 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..32ec6fd30fdb7449e9e606f69d1= 6556bcdecc369 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 =3D "hid-over-i2c"; reg =3D <0x2c>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&touchscreen_pins>; interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; =20 post-power-on-delay-ms =3D <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..b75ab2d33550808196f2d1d4bf0= d34ccb713a07a 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 =3D <0x2c>; hid-descr-addr =3D <0x20>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&trackpad_pins>; - interrupts-extended =3D <&pio 7 IRQ_TYPE_LEVEL_LOW>; =20 wakeup-source; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts b/a= rch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts index 0b45aee2e29953b6117b462034a00dff2596b9ff..ebe6e161354c414d91859494ec9= 295db75a3baf9 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 =3D "hid-over-i2c"; reg =3D <0x10>; interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&touchscreen_pins>; =20 post-power-on-delay-ms =3D <10>; hid-descr-addr =3D <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..2dc64cc539f815b9848b8243e5b= 487f22d605a6d 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 =3D "hid-over-i2c"; reg =3D <0x10>; interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&touchscreen_pins>; =20 post-power-on-delay-ms =3D <10>; hid-descr-addr =3D <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..53e996f9c605dc36df03d4b0051= a91e19fefb38d 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 =3D "hid-over-i2c"; reg =3D <0x10>; interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&touchscreen_pins>; =20 post-power-on-delay-ms =3D <10>; hid-descr-addr =3D <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..d7db621383c6b823af08ca07e07= 94758d062e211 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 =3D "hid-over-i2c"; reg =3D <0x10>; interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&touchscreen_pins>; =20 post-power-on-delay-ms =3D <10>; hid-descr-addr =3D <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..e5b51b27980ae90a8f1099f71a8= 91bb0562a375a 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 =3D <0x2c>; hid-descr-addr =3D <0x20>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&trackpad_pins>; - interrupts-extended =3D <&pio 7 IRQ_TYPE_LEVEL_LOW>; =20 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..a96c64a9251044b2c1ba4289467= b411e6c744abe 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 =3D <0x2c>; hid-descr-addr =3D <0x20>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&trackpad_pins>; - interrupts-extended =3D <&pio 7 IRQ_TYPE_LEVEL_LOW>; =20 wakeup-source; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts b/a= rch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico.dts index 8ce9568fee95a6faba0c238f6c43f43948c26d9b..2c740b3e5d3d91980ed89e07a6b= e70ff51906145 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 =3D <0x2c>; hid-descr-addr =3D <0x20>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&trackpad_pins>; - interrupts-extended =3D <&pio 7 IRQ_TYPE_LEVEL_LOW>; =20 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..bce368fcc884008086c091a29e3= f69e541215ee5 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 =3D <0x2c>; hid-descr-addr =3D <0x20>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&trackpad_pins>; - interrupts-extended =3D <&pio 7 IRQ_TYPE_LEVEL_LOW>; =20 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..9b1600d5c4c1247c97fd59aa760= 3eaa835420117 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 =3D <0x2c>; hid-descr-addr =3D <0x20>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&trackpad_pins>; - interrupts-extended =3D <&pio 7 IRQ_TYPE_LEVEL_LOW>; =20 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..65f70627f2dcc4af832b8a08f7c= dce354c800fae 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 { =20 &i2c0 { status =3D "okay"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&touchscreen_pins>; =20 touchscreen: touchscreen@10 { compatible =3D "elan,ekth3500"; reg =3D <0x10>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&touchscreen_pins>; - interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; =20 reset-gpios =3D <&pio 156 GPIO_ACTIVE_LOW>; @@ -116,7 +115,7 @@ touchscreen: touchscreen@10 { =20 &i2c2 { pinctrl-names =3D "default"; - pinctrl-0 =3D <&i2c2_pins>; + pinctrl-0 =3D <&i2c2_pins>, <&trackpad_pins>; status =3D "okay"; clock-frequency =3D <400000>; =20 @@ -124,9 +123,6 @@ trackpad@15 { compatible =3D "elan,ekth3000"; reg =3D <0x15>; =20 - pinctrl-names =3D "default"; - pinctrl-0 =3D <&trackpad_pins>; - interrupts-extended =3D <&pio 7 IRQ_TYPE_LEVEL_LOW>; =20 wakeup-source; --=20 2.47.0.199.ga7371fff76-goog From nobody Sun Nov 24 13:33:35 2024 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FB62126BED for ; Tue, 5 Nov 2024 03:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730776104; cv=none; b=cglvlLi4Fq27MNH1aA8h367wqux+h5tYAnjNQFU+A6Ymy65aU0d80KpSJWgNlRYL2DVLFpfD3hvis95z2MRSvCcQ4uXGAsCOfFpEth8UXIbk3n4S7w3BnlfWqgxLSlwhL8ghhGosxyLPhlegT/aAW78ZU90aDFY9YHgcg9qy7kw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730776104; c=relaxed/simple; bh=5HKQbLuFh/w4P48o0WwiGQJ4dP/1l86vgjlCj1HMcMY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pfCj0lAsmPfh6v7XEm4aKHtDB8Y/ptoFdfk4l2l9EtOSIpKvrlPIzP10qxJtApxS8lOwXZWxfavF/9TWqd6z6efjwf3hD6RoZBCqPnEiUn47otQAFFsPuUnmu8opkpA8Yesr8xIGcT8jdXqCOtLsPhUSlpdT78nXpafgMPaQ028= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=dvft7ftB; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="dvft7ftB" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-20ce5e3b116so39018655ad.1 for ; Mon, 04 Nov 2024 19:08:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730776102; x=1731380902; darn=vger.kernel.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=SSuXby54cMC2vAK6ojnOdnoa4iB7IjmAMiqN+tDw83w=; b=dvft7ftBWYeOpYg4QG6/KgqIct9bJdwTfhSHPadKH8XH4NQrk2TaKkdXrhBCNRjFIA Y8tVUEBky2SWAB11iaT1mbi1m9Vwk2MQYjLw9490j5iyQ0pMthpOuLORwvUs05jIWFmo qvYIPqAlOp0+oCNRDA529ITrpDIKoKBfDI3SE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730776102; x=1731380902; 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=SSuXby54cMC2vAK6ojnOdnoa4iB7IjmAMiqN+tDw83w=; b=Ib5uCIKhXORr5ZhxQLRyF2jzrviJe+TqnzV7PvKrm0xLtif2q9cogChrLaDLdSC8aW iRjDeCCABvWd9Z+RS5n5+aV36lIhR3Fqbt+tfPj3vY3nf+HHwv01h0iF36NJzqsaq9jn Hw7eKeNiHJhHMYIKOAMqhPJhcxt1edO4tvptMET/Q0/Pe+fA01eTAouQXHhacY+HNESI lCL1tl4KmtFyjeEqPSbsAE2O8WGI9J1drPQJj9Cdlmmcy1YWSDVZM6et+nh7eMRQjJlF zABv/xL0WCCs25PN0/oWD6iF7jjqFpFKMFbQlA+0YXTr9N4Pc2xUWpGHoOtj78nWDigT UHlQ== X-Forwarded-Encrypted: i=1; AJvYcCWRfpDI80DJmwROFA4ZJ7hxemUQOKd1uIwja2sOOFsPk85262aiNFY2Fd/hpbE6Eznxk4oIWh7NoJ9bvQY=@vger.kernel.org X-Gm-Message-State: AOJu0Yzd+n75zXR+CkWp/VAU5cfzmb3QZAl7aDqYoIhh3Qoy6K/bagqt 7tRtbLx9X27eHnqRXmgDwZBzsg0NY4563+baIU4QhEigNl9xoRMANmoX/p3b9Q== X-Google-Smtp-Source: AGHT+IHuqQmwmjHY0D5zIUpVl/v6v6kAIikbzzkfJyep2UTBf3dxCno/2IHIhZ62pUvCmVudKfz89g== X-Received: by 2002:a17:902:ce8c:b0:20c:e262:2560 with SMTP id d9443c01a7336-2111b0078bdmr185112795ad.50.1730776101869; Mon, 04 Nov 2024 19:08:21 -0800 (PST) Received: from yuanhsinte.c.googlers.com (176.220.194.35.bc.googleusercontent.com. [35.194.220.176]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-211057d8d4dsm67497885ad.270.2024.11.04.19.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 19:08:21 -0800 (PST) From: Hsin-Te Yuan Date: Tue, 05 Nov 2024 03:08:12 +0000 Subject: [PATCH RESEND v2 2/4] arm64: dts: mediatek: mt8183: Switch to Elan touchscreen driver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241105-post-reset-v2-2-c1dc94b65017@chromium.org> References: <20241105-post-reset-v2-0-c1dc94b65017@chromium.org> In-Reply-To: <20241105-post-reset-v2-0-c1dc94b65017@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 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/a= rch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts index ebe6e161354c414d91859494ec9295db75a3baf9..b98a3530511e576347a4ed291d3= 7d45dd42fec97 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 @@ / { }; =20 &touchscreen { - status =3D "okay"; + compatible =3D "elan,ekth6a12nay"; =20 - compatible =3D "hid-over-i2c"; - reg =3D <0x10>; - interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms =3D <10>; - hid-descr-addr =3D <0x0001>; + vcc33-supply =3D <&pp3300_alw>; + vccio-supply =3D <&pp1800_alw>; }; =20 &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..9fb329626a82034e44fb5fbd2d0= ad9675c0a5afa 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 { }; =20 &touchscreen { - status =3D "okay"; - - compatible =3D "hid-over-i2c"; - reg =3D <0x10>; - interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; + compatible =3D "elan,ekth6a12nay"; =20 - post-power-on-delay-ms =3D <10>; - hid-descr-addr =3D <0x0001>; + vcc33-supply =3D <&pp3300_alw>; }; =20 &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..6d547361fc4f9d2ab1f9b048af4= 43495c9bed323 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 @@ / { }; =20 &touchscreen { - status =3D "okay"; + compatible =3D "elan,ekth6a12nay"; =20 - compatible =3D "hid-over-i2c"; - reg =3D <0x10>; - interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms =3D <10>; - hid-descr-addr =3D <0x0001>; + vcc33-supply =3D <&pp3300_alw>; }; =20 =20 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..39ab09ce28aa2ed4335d5279a96= 5f23a8458688e 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 @@ / { }; =20 &touchscreen { - status =3D "okay"; + compatible =3D "elan,ekth6a12nay"; =20 - compatible =3D "hid-over-i2c"; - reg =3D <0x10>; - interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms =3D <10>; - hid-descr-addr =3D <0x0001>; + vcc33-supply =3D <&pp3300_alw>; }; =20 =20 --=20 2.47.0.199.ga7371fff76-goog From nobody Sun Nov 24 13:33:35 2024 Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E64E13A409 for ; Tue, 5 Nov 2024 03:08:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730776106; cv=none; b=NpohC55yFhxiDxnhwQBc0DEj0tVe7mbWhcUAiOZvvDefdi2W+nafuKb2a8MpNJMDwp5h/9AIlt1Piu+MjZxYGKgoBTD8mvoCRKPLD+fN+si1t56LmGyVQulkbjy9cxSrhgMcPAS69EeY+YfIjPvhNGvlb5VjJ/e/2E1ZG4RJOyk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730776106; c=relaxed/simple; bh=RF7UJXnVaHEsJfC1ISRqxrKgzyE0SA8QVcPURG3tS1k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=vAYHtI68SMvyK8tq/e6cCM8bXhm36EZBN3qVfy5Ss+0P6BL5CTxBsVHOqDNyBCrR5tpMBomYa/gX/x/pBs9epffor77luq+wVsrBAkVqml3CaetshXcBO6oSoJVgd8UlP5WSytIZUuFRJFQIEwWNVtK1yGbvGsd+77r+fgFNSk0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=cVr+BscP; arc=none smtp.client-ip=209.85.215.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="cVr+BscP" Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-7ea12e0dc7aso3301744a12.3 for ; Mon, 04 Nov 2024 19:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730776105; x=1731380905; darn=vger.kernel.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=jVNKfz2t6zEgtE6p7hSHFZ+86J0/BrsT2sCmnVgjQCw=; b=cVr+BscPgHHJNOQ1ie6nVVy3tMRidDnCL50Sfkesz9Y46bDtXPY8lbuuOn3kqRAyN7 Cb//LBIvx7DS13HAFkfuYNtvs5Mm6bl8szLk2Qgb+OHlWssnkv4ZOXcpYu6VDjq/MyLd 72u1/zHip7s+sK6auAoITqL2Zu12TE78oxtq4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730776105; x=1731380905; 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=jVNKfz2t6zEgtE6p7hSHFZ+86J0/BrsT2sCmnVgjQCw=; b=gFw5gFsNfTiDHv1Kvh2M9Lm5iRDxieVos8+mn7VDecolcsjB+qDjW1AKYlGUoj7daE lhOJQNTi17IGZeywMjYkWUm6aoYiPpbhtjwSyiDig8T+FyGyH3S5owNbDLxbTEWdX5dm FB0SPpeQcoood+aVhmvm3ZkyepgY+lfhL8AQFUnxxfW+2uhELFTipaoiW3xOdKljUB8U CRCgnyDx/VvoQRlf+qtRtbIg9a0KIeSFy1e/wH5prGPrb0cD8uDi4lPb7C1SBTh2BQM9 iGSYQn18MiimmBQ/jxc9QvTgj0VI+rRzJWiolIoN9C63Oha1KLAV2+yRT8cYvTj/Qc3T qvhA== X-Forwarded-Encrypted: i=1; AJvYcCU4bOVrF1dyoPaYWCSLpaj/lM1DZmZVp6brlwTQQk3frZu/NqARajgXRS+3XraFNyAwPZ9mff1IEPzSkyY=@vger.kernel.org X-Gm-Message-State: AOJu0Yxc+9oE+xc3/SyDk9+N3EGEmnVxnRGDsSTChIkMMzOfP6OmsHu2 dRbxJ8lQfAKunS4XbJ9KxEW2PyxvfjATGWSr+gtOnMbVh5kiuDHRUsV/MOH3lw== X-Google-Smtp-Source: AGHT+IHIrNO0VoT73VkYM3UKR4zs5Ym7OnU1LxK7zSs0kR7UH9l8Gsq3xPWPJiw3R+H/jGdnosVuAQ== X-Received: by 2002:a17:90b:3901:b0:2e2:af52:a7b7 with SMTP id 98e67ed59e1d1-2e94c52f395mr19754083a91.34.1730776104667; Mon, 04 Nov 2024 19:08:24 -0800 (PST) Received: from yuanhsinte.c.googlers.com (176.220.194.35.bc.googleusercontent.com. [35.194.220.176]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-211057d8d4dsm67497885ad.270.2024.11.04.19.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 19:08:24 -0800 (PST) From: Hsin-Te Yuan Date: Tue, 05 Nov 2024 03:08:13 +0000 Subject: [PATCH RESEND v2 3/4] arm64: dts: mediatek: mt8183: kenzo: Support second source touchscreen Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241105-post-reset-v2-3-c1dc94b65017@chromium.org> References: <20241105-post-reset-v2-0-c1dc94b65017@chromium.org> In-Reply-To: <20241105-post-reset-v2-0-c1dc94b65017@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 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..813e6bf65b62ee6742e52133f9a= df7e83a6078c5 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 =3D "laptop"; compatible =3D "google,juniper-sku17", "google,juniper", "mediatek,mt8183= "; }; + +&i2c0 { + touchscreen@40 { + compatible =3D "hid-over-i2c"; + reg =3D <0x40>; + + interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; + + post-power-on-delay-ms =3D <70>; + hid-descr-addr =3D <0x0001>; + }; +}; --=20 2.47.0.199.ga7371fff76-goog From nobody Sun Nov 24 13:33:35 2024 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A5EE1420A8 for ; Tue, 5 Nov 2024 03:08:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730776110; cv=none; b=ZUaDB1XuOcW6u+Ixj5NOsebqfmYmhuSyx7mHxM++z+95TtfZNXG/NqOCERMirApgPmXmldchXHIhh6wAny1DBBOy51ETOldxLnTiYUntj38rJyqhVun0Cebz0g7nca+fI/IubtUAiZ40e3I3K5ReWe9EsZtMwvd94ERpzlWj5XA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730776110; c=relaxed/simple; bh=LegS2qPNA21GD4AcjtZ5CBXXSgyiE2Fv9FQCHVrVb8Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fMDMcdd9G+YCmW2tepE2mWO5sXaspmOyI/IsxSjBfFy+lUPJy2/sdkNCiu6MI6I7KU+iVZoBLkPFALBJrs5Gb8E+R7Ws2JYMYdaMzhKRd7fsgrsPMXDtSlgxSw7Q/6h9OtvvoKExgCevQmf4qVaTU0ktANII7sbf+yCvkZrASKo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=ONmqnyOe; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="ONmqnyOe" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20c7ee8fe6bso46253455ad.2 for ; Mon, 04 Nov 2024 19:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730776107; x=1731380907; darn=vger.kernel.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=euPhqg7viIx2XTAkn9Q5AvVF/uGDGrDQK80Z56OHLio=; b=ONmqnyOepE9VT9V9t4RhQprAYGSYJpRj5DXKs16NQglORyzPxc87N0SAEnGjWI8eIp jNHVHEbfSpWXH2Z0i+toeOIbmzsX5zDaMbRBJJ2tJQU9d0HcGKrz6yZOymZxULySN9ZB g9YJLprudjZyNEqyh/zqtyKtKJynxbz/1h8Mo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730776107; x=1731380907; 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=euPhqg7viIx2XTAkn9Q5AvVF/uGDGrDQK80Z56OHLio=; b=LAnGSWZAG7EgBBXR6EDcOSK72PqfHXBooaAtS6LBr5HMFH9uRhIUjNw20vCDlUcTN7 v8tZL6w2M7QaA3ID/3wO4YWautkt8X3g8E8t2xAMCCppCbvlvOl+ixaHYQvGsn/t6olY RjoauArsOdMLNWQPr+XGjd/T1PMKrlTYLPv81GoQmmHkxh4DFKQLpSHYSatWSCjNnpgj MExzogNoSJanewByvzpmNws5VMyqVtLlEUN9ZrvCGKLoo8tSz9ZLvQZ9KKmeGlJW6NDG QcvEsDHwMD5uUS6FCKGHEJNpWlLC1kM2XSOqYYh5/C/vo2PlH+1s2v6QK60INWyTClIW OuDw== X-Forwarded-Encrypted: i=1; AJvYcCWQrm6aSGle4wzuCqgilPndciYUh+kZax4OF0+KBLcFAWLob6/2UqnUN3y1llLywHXGHHnLaHujI0V7cbI=@vger.kernel.org X-Gm-Message-State: AOJu0YzVFO1LcjsxmdSlwKUG1JhturyK0nBcCbayUsurPK1MhmnZSe7v xSxIHb2euEprmo70rrSozzb3znTz9nlT2ZCAnd06Y7oIKTL9XZvdROddxYkkBA== X-Google-Smtp-Source: AGHT+IGBp3c1Lhzc3e6+qTBBRkT4mBZaYjen82U0w7kAh09SHgIN3F5lnKg4nHiKKOQv7zPeWuvL8A== X-Received: by 2002:a17:902:cec4:b0:20c:c834:b107 with SMTP id d9443c01a7336-210c68cc81bmr425323355ad.22.1730776107551; Mon, 04 Nov 2024 19:08:27 -0800 (PST) Received: from yuanhsinte.c.googlers.com (176.220.194.35.bc.googleusercontent.com. [35.194.220.176]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-211057d8d4dsm67497885ad.270.2024.11.04.19.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 19:08:27 -0800 (PST) From: Hsin-Te Yuan Date: Tue, 05 Nov 2024 03:08:14 +0000 Subject: [PATCH RESEND v2 4/4] arm64: dts: mediatek: mt8183: willow: Support second source touchscreen Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241105-post-reset-v2-4-c1dc94b65017@chromium.org> References: <20241105-post-reset-v2-0-c1dc94b65017@chromium.org> In-Reply-To: <20241105-post-reset-v2-0-c1dc94b65017@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 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..e8241587949b2bc238ffa85f8fa= 6b6ca78b1d6f5 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 =3D "laptop"; compatible =3D "google,juniper-sku17", "google,juniper", "mediatek,mt8183= "; }; - -&i2c0 { - touchscreen@40 { - compatible =3D "hid-over-i2c"; - reg =3D <0x40>; - - interrupts-extended =3D <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms =3D <70>; - hid-descr-addr =3D <0x0001>; - }; -}; --=20 2.47.0.199.ga7371fff76-goog