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: 66201 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp322460wrd; Wed, 8 Mar 2023 05:13:28 -0800 (PST) X-Google-Smtp-Source: AK7set8znQMoRCgocv25rr8VqzAfwgichPoPlGjzjZpfUTMfrxZxvR5PRi49KGUBwY2oXVWU/wsl X-Received: by 2002:a05:6a20:698b:b0:cd:1808:87bb with SMTP id t11-20020a056a20698b00b000cd180887bbmr16978121pzk.7.1678281208024; Wed, 08 Mar 2023 05:13:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678281208; cv=none; d=google.com; s=arc-20160816; b=PPVcWLRllOBq1a1uoRxHVyN8RC6M1RElWWl2huJeKT9OvHUa9h3x+GTUaftZhFVf8o rF6g7HJsi5GZfvzntWq8uj8hMuznsCIvdk9c69YnjZ1TwO+A14NEC8A6KbhDKdivfJc4 QQ9VzVa9UQl5ob7iSVaM3RgeyOGJzVBICtEatNhDJAwpjrH88gKVTPHx2bV3GsEboII7 hkMNJqujEe8uxRlE3zECyF1TV2GRluvJbUddQfckyXnLJQPccVbFM6u5lYB/tlyDSQO4 +xGHHeLQ0hYNuOU8vygwLwf/luh6du0ZEpWj6darYYTbNUllR/QzGr3QSNAPR8rQaRXo H0vQ== 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=hY/ZqWfKz1olhuHTnvXzVGrnmkxoP/JbNpLGvoKVJ7E=; b=M17jJIQSdNF4GrIB/wB92nS/rWFpPPL2pCTNT55kFD9kBO6GZK5gIYPpXxTlSw56yG Yx8zzdq6hXHV2irlX4sv6FCUlbHXr9whkbNElnFy8c6xii+UnNWzcoJyW3gJkS9HYP53 XAMx79FgTzh6LAJSya1+MqHEIr2nxeovlK4Qw0FQ63Gl8ruYKbXN/K5fAloyRaJYg0um TvrRlr2M95AO33q59+HJkLM79BH0Ps8cfHBp7UNdZ9YTHJbQspmbJmrdyO02o50aTBRY Gc2nQqem7aE9hub3b5Qprm5TWqeXVsbZS+8n3lLrrdlXO3cRTP+8U4K2wssFe5o2gCIy WUXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=n9Rkg9Qd; 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 f5-20020aa79d85000000b005a8b3c6b5c1si3092538pfq.245.2023.03.08.05.13.15; Wed, 08 Mar 2023 05:13:28 -0800 (PST) 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=n9Rkg9Qd; 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 S231440AbjCHNBP (ORCPT + 99 others); Wed, 8 Mar 2023 08:01:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231386AbjCHNAe (ORCPT ); Wed, 8 Mar 2023 08:00:34 -0500 Received: from smtp-8fa8.mail.infomaniak.ch (smtp-8fa8.mail.infomaniak.ch [IPv6:2001:1600:4:17::8fa8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F21582343 for ; Wed, 8 Mar 2023 04:59:57 -0800 (PST) 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-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1759805395782217000?= X-GMAIL-MSGID: =?utf-8?q?1759805395782217000?= 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 */