From patchwork Fri Jun 10 17:54:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 580756 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67EF9C43334 for ; Fri, 10 Jun 2022 17:54:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347225AbiFJRyV (ORCPT ); Fri, 10 Jun 2022 13:54:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347189AbiFJRyT (ORCPT ); Fri, 10 Jun 2022 13:54:19 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40EC218315A; Fri, 10 Jun 2022 10:54:18 -0700 (PDT) Date: Fri, 10 Jun 2022 17:54:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654883653; x=1655142853; bh=nxoTndTUQ2vonEkTmNIcxLEtrwo1HFnunt341zyx2GM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=lQWp4mBy1fGSJ5VPzSTpIoso/bPCVN6uxsPe4rNR2LJ+Xzu3hcbvtxVYRW0ITiPp8 ypH0aXO9FAfL5nCp+sxQEDVPNLdozXGK/Sg6sFNiX3m3PIPB6pEewUwfl/MMpLgWGZ 92Ya4mSlHIKn6q1IQbf3t5rZwwvtUWECd8/iUepWegOMLblDiIn5KFqPwK6haH5N+X RjPIzv0qkKH7o1H8a9JJF6zZv931kIAETj6ZLh6yi4U3Rt0uIbFYIV0rjjAsNxUA1F tfUDQQEBA+KphbSQ2zkL0LvvSe+yDcnNBb1yUFN2di2fSr6yeGk2WjNgrfTcjANKLT WTMkf2oyTcp3g== To: devicetree@vger.kernel.org From: "Lin, Meng-Bo" Cc: ~postmarketos/upstreaming@lists.sr.ht, Stephan Gerhold , Nikita Travkin , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: "Lin, Meng-Bo" Subject: [RESEND PATCH] arm64: dts: qcom: msm8916-samsung-a2015: Add touchscreen pinctrl Message-ID: <20220610175332.104154-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org A3, A5 and most of the Samsung phones with MSM8916 SoC use GPIO pin 13 for touchscreen interrupts. Add touchscreen pinctrl to a2015 common dtsi. Signed-off-by: Lin, Meng-Bo --- .../arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi | 8 ++++++++ arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts | 8 -------- arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts | 8 -------- 3 files changed, 8 insertions(+), 16 deletions(-) -- 2.30.2 diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi b/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi index 9b4b7de7cec2..9c19f257cc81 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi @@ -460,6 +460,14 @@ tsp_en_default: tsp-en-default { drive-strength = <2>; bias-disable; }; + + ts_int_default: ts-int-default { + pins = "gpio13"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; }; &pm8916_gpios { diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts index 4ba11b020f9b..bc198a2eea25 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts @@ -128,12 +128,4 @@ tkey_led_en_default: tkey-led-en-default { drive-strength = <2>; bias-disable; }; - - ts_int_default: ts-int-default { - pins = "gpio13"; - function = "gpio"; - - drive-strength = <2>; - bias-disable; - }; }; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts index d978c9ac179d..7f2ab1891d91 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts @@ -69,12 +69,4 @@ tkey_en_default: tkey-en-default { drive-strength = <2>; bias-disable; }; - - ts_int_default: ts-int-default { - pins = "gpio13"; - function = "gpio"; - - drive-strength = <2>; - bias-disable; - }; };