From patchwork Tue Mar 14 10:23:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 13174156 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 5DCBAC6FD1D for ; Tue, 14 Mar 2023 11:49:14 +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=10T84G/n23a79j00vOo7PME3XFKX5GRp/ZG/V2hsgMY=; b=zfvRJxzjJ0SGAZ VIyR/ZrIvhleE2XQXtC94LW5ZdyUKGrctA9fSaozTEMyiBe0YjtjEhfdyRRYJmKUoov++oTLZWsme +2lwHWSDUmpNvTwFsXjSNPIsPRX/r+ranSb4LQOMgNI/yDhbBJIt9BEBlOhZcDMqGwrs9OVsLNsSn 01CG6MgwKYcNIXeqa+svYpg6kWKrV5IW0duMYC18nLNMosZcxI7QpagKLepDd/2eKjKDzjUDAVWbD EnpPRIm2KE5p039aXyhB8f0yBms24ua4tVaAIxfPQunzS5YwjWfYuHAIyd3+Vvjwc7i9Q+ciXCi+W LApGh7wn8mFwaBYUasOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pc38i-009z6z-1I; Tue, 14 Mar 2023 11:48:24 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pc37x-009yWH-0H for linux-arm-kernel@bombadil.infradead.org; Tue, 14 Mar 2023 11:47:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=O5cxUS3trPv+ZlNoCTE4QA0Cw6BXkzUpvyv4hCduGs8=; b=XHC9lw8xzkGqFNzbgmH+Nq2oN9 /GUBRotPXLUxqWe2PF3nnCCkOGaa8AMdDCVkfB1thpKHeZve0HX3tfK9La82aoOaoXKVfteQp8hAV 71X/CQU9Q51eDZdnEFqioQUrXD19TooClTwWfuGcUUM0qIbyuQmpCS2vMX8dMe38chSHiXxzvSh/2 uYUGhmohlQqhZ1SZHI+KzhcGioXOO4htfV0PecUwkDyNwES3oaV1MkqZkxptk3/a+d4CCHEL2Dpjs i555Uk2LJbn5IDhx9oH+0hTQc9bPpWewb5vV/VmBCj0uCbUtxR9bkirdZrj2xqwNkgdtN70yp7XKm uFo7NmSg==; Received: from smtp-bc0c.mail.infomaniak.ch ([2001:1600:4:17::bc0c]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pc1pS-001kAR-1V for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2023 10:24:30 +0000 Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4PbV4l3jbmzMqQFy; Tue, 14 Mar 2023 11:24:23 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4PbV4k75l7z2MRS; Tue, 14 Mar 2023 11:24:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1678789463; bh=y97wbsSaRyy+Xz4CVOlEJ3O6/XMepnOV1BZM10kNFE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hcqGCqirFY5cm9vhY2Ck4gPkYKEqPHJA4qc7/RSehas1upzFejTmyHVfzYQu+g2HS O3znZ18cNONB7wGmUqy0qzhisjVMQtLZ14S9ieDet8e3PV/OaC/IgRZW5cX5oHh7hR XMqfFXMklDC8DN4r7wH4YU9b6CGAY4urjG9kf9Jk= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: NXP Linux Team , Frank Rowand , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, Philippe Schenker , linux-kernel@vger.kernel.org Subject: [PATCH v2 04/23] arm64: dts: colibri-imx8x: Add atmel pinctrl groups Date: Tue, 14 Mar 2023 11:23:50 +0100 Message-Id: <20230314102410.424773-5-dev@pschenker.ch> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314102410.424773-1-dev@pschenker.ch> References: <20230314102410.424773-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-20230314_102426_642436_FB586BDD X-CRM114-Status: GOOD ( 10.05 ) 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 --- (no changes since v1) .../boot/dts/freescale/imx8x-colibri.dtsi | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 4e0d5762b76c..5019439a3a75 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 */ }; @@ -218,7 +234,6 @@ pinctrl_hog0: hog0grp { , /* SODIMM 103 */ , /* SODIMM 103 */ , /* SODIMM 105 */ - , /* SODIMM 107 */ , /* SODIMM 127 */ , /* SODIMM 131 */ , /* SODIMM 133 */ @@ -226,8 +241,7 @@ pinctrl_hog0: hog0grp { , /* SODIMM 98 */ , /* SODIMM 100 */ , /* SODIMM 102 */ - , /* SODIMM 104 */ - ; /* SODIMM 106 */ + ; /* SODIMM 104 */ }; pinctrl_hog1: hog1grp {