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: 69468 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1677970wrd; Tue, 14 Mar 2023 03:37:14 -0700 (PDT) X-Google-Smtp-Source: AK7set/7gmB3FQu9yNistNUQ6UOcMk9cgzXAyOQdE18SNu0MWsezlmpQXI1/8kpgALGBzS/FjHAi X-Received: by 2002:a05:6a20:748c:b0:cf:71ee:6326 with SMTP id p12-20020a056a20748c00b000cf71ee6326mr32589829pzd.5.1678790233992; Tue, 14 Mar 2023 03:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678790233; cv=none; d=google.com; s=arc-20160816; b=RicVTMz6dYxI700HdkVrZFYjSwJnbmnBtn14yze3sjUMyjln9sQaH9gsBdn03Je4CV rdcpRcWcfMUhxf9LQr3eTr7iV/CV5WFcphmT7rN+vpUDfXaYf3NZorvYrkXorA2LjV64 HNi0gQ/8vY/SziZZXy4Bf3DgvG5OXEVMKjWBcspwWaCxpcvswI6p05vNtqHFCR2uzYo4 OGFn5BkjScqPex3WUYdeQyyfvVZDpjySBJLeEi3Qh+dvq2fV1hdOGXn2JO8xn8JpB1Tg gli3jp3TMxfN8LIpW6nHb8pYnzmoQohMEFNw082AzPlDehDHyK7jA9BsbJuDOzXG5gDr UFQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=O5cxUS3trPv+ZlNoCTE4QA0Cw6BXkzUpvyv4hCduGs8=; b=B7de2mKsdNyO3Mfqm3ipdO7Wy8lCeEfxnw0LisndvFEwcVck0Rll2nhdLDEMeYU11U lkGcBbyQrciWkUybyaInvj4CCrsQOeToy+GaTmpxfODIu2XeDWSAW2ZGgSgOjcy67HX6 1cp7CocNt6lhZJboSUBlt5PS/ZE8VZYDJqPh+MVnTBE5rgLR36yGFzxmO5ZHnnObXKHH IQFo/C84F4EJnRn+fxJGTlCAfybsTfcjRJbUNtEyNdyZBV24YQyc8sQl/Jm4v8rON5DB 3EEgvAqgsA+95XIA85UMcqgMMNYGk8r59xSpKBTgjZgsnSgM72QQE9HF6MH5NHiKwHaI 2KNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=hcqGCqir; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b00503a029385asi1986642pgh.849.2023.03.14.03.37.00; Tue, 14 Mar 2023 03:37:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=hcqGCqir; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbjCNKZY (ORCPT + 99 others); Tue, 14 Mar 2023 06:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbjCNKY7 (ORCPT ); Tue, 14 Mar 2023 06:24:59 -0400 Received: from smtp-1908.mail.infomaniak.ch (smtp-1908.mail.infomaniak.ch [IPv6:2001:1600:4:17::1908]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F1BA1910B for ; Tue, 14 Mar 2023 03:24:28 -0700 (PDT) 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760339148285236885?= X-GMAIL-MSGID: =?utf-8?q?1760339148285236885?= 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 {