From patchwork Wed Mar 8 12:52:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 13165659 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 C1B2EC64EC4 for ; Wed, 8 Mar 2023 12:54:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CwliZQzK26f56JmUPQq2MszMXHfe/t8xvhgDP9UIfOM=; b=hWrc3wAwKZCyCA pR4KdtMQAd/gUfYk3hzHcu6CEKDdrfmpxH16Fy3AASRf5LHCG8kCHTVXOFnIO+hjvmu2pM5IM7L0O XKdrkL1R9L/9kXX2y/iubBBpm6R4/7Epe7pkB0FcyuY4FYFNIkD96G1JGFVYAcPE6kBrpsTNj0K9c WlD4egtEXGA90APHWOygeQqpCASnjnStm9kMbrpYNQ/05cWCEO6sMPWDfwC2yvnEwksodFYZ+Pm7L kwD+HRSrnnNo0yN3zM11Q7sPNJ7Qc/XKaTrhjjt0t9oZpzeRChX59SFJ/995eO2FDS69n+WcwSZVI 6H3dQezwQ4aI8Xq9Vh3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtIh-004wSI-Tj; Wed, 08 Mar 2023 12:53:48 +0000 Received: from smtp-190c.mail.infomaniak.ch ([185.125.25.12]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtIA-004wCC-Di for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2023 12:53:19 +0000 Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PWsg92MnTzMrT9x; Wed, 8 Mar 2023 13:53:09 +0100 (CET) Received: from unknown by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PWsg85xHpzMslsW; Wed, 8 Mar 2023 13:53:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678279989; bh=Z/W9Y8z78AI62F9IAb60Dw83aMzrKQzekSMZDmWIZR4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n9Rkg9QdwRNM0CgJnkXZbs66hC+nmx1UK3B+4Gz+Zce/6Ts9kOUswW1j5eF1ErHQn MUz0mjY5g95DvjZsrcq5JL4G4wcy+jyAYXzuZLvJRSsDKbyx/wV66ig5u+gYv2t+Lv AtXPtgMGlMXZ9bMPtd9VWW1OnHONC9eZ/TzLKa/w= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Krzysztof Kozlowski , Rob Herring , Pengutronix Kernel Team , Frank Rowand , linux-arm-kernel@lists.infradead.org, Fabio Estevam , Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v1 05/25] arm64: dts: colibri-imx8x: Add atmel pinctrl groups Date: Wed, 8 Mar 2023 13:52:39 +0100 Message-Id: <20230308125300.58244-6-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230308125300.58244-1-dev@pschenker.ch> References: <20230308125300.58244-1-dev@pschenker.ch> MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230308_045314_651181_DF7878B5 X-CRM114-Status: GOOD ( 10.70 ) 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 From: Philippe Schenker Add pinctrl groups for enabling atmel touchscreen support. Remove the pads out of pinctrl_hog0 as they now can be enabled more specific using pinctrl_atmel_conn label. Signed-off-by: Philippe Schenker --- .../boot/dts/freescale/imx8x-colibri.dtsi | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 7fea99206020..0b84b65c846a 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -134,6 +134,22 @@ pinctrl_adc0: adc0grp { ; /* SODIMM 2 */ }; + /* Atmel MXT touchsceen + Capacitive Touch Adapter */ + /* NOTE: This pingroup conflicts with pingroups + * pinctrl_pwm_b/pinctrl_pwm_c. Don't enable them + * simultaneously. + */ + pinctrl_atmel_adap: atmeladaptergrp { + fsl,pins = , /* SODIMM 30 */ + ; /* SODIMM 28 */ + }; + + /* Atmel MXT touchsceen + boards with built-in Capacitive Touch Connector */ + pinctrl_atmel_conn: atmelconnectorgrp { + fsl,pins = , /* SODIMM 107 */ + ; /* SODIMM 106 */ + }; + pinctrl_can_int: canintgrp { fsl,pins = ; /* SODIMM 73 */ }; @@ -214,12 +230,10 @@ pinctrl_hog0: hog0grp { , /* SODIMM 69 */ , /* SODIMM 99 */ , /* SODIMM 105 */ - , /* SODIMM 107 */ , /* SODIMM 98 */ , /* SODIMM 102 */ , /* SODIMM 95 */ , /* SODIMM 104 */ - , /* SODIMM 106 */ , /* SODIMM 97 */ , /* SODIMM 79 */ , /* SODIMM 103 */