From patchwork Mon Aug 19 12:03:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13768299 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 53F44C3DA4A for ; Mon, 19 Aug 2024 12:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NH68B4ounFCN4GOrQp/scCfLXKmQGexl525mYrvvjos=; b=3l9Zy13gYPCIuY5AE19EcGCmlP iYkL194nzCMZvZaobBg8NXwrV1fvbCCvSafKJUj8xMi8sGrfVc8tre+up8zUb03oH+j2wCa3/eoDg XA1BDvMjf91QfiPKmQ1gL83mfk5sKcqARhu/hBm3zoP+XD9h4US2+Mw+h0LGh4yMGEM3hFZJmBebo ui1Tok/4kwzbKtAFm4QmqS85f+y9R7kZK8kHevNzywkVk68r3L3WTsYMD2GAmutF/yR7OJ9h/3xeh yKp46oeRCKLJMSCLYc9xFzl9Tpw1LOBzKOjvDprDrNskEtFGcwhCeSzHqtt9tKVxEx42jZFh8wySP wEvKqjrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg1HZ-00000001OTj-1v2d; Mon, 19 Aug 2024 12:14:45 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg17x-00000001LEu-2itq for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 12:04:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1724069089; x=1755605089; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NH68B4ounFCN4GOrQp/scCfLXKmQGexl525mYrvvjos=; b=ipTiGm5rOJdtq/mbAF7aT1i+gcS5ra6EuHaeI0pBiFWi2SAJseaQEGt0 +kyc7Kkgn2Wf4YJ1yn7aKyExFsB8ARYanopWUbXjYfnr5SKjNL+OoGW26 jaBiT6Vu5YF+52QsezzqH7tJudL8Z4HrELZCScEnXNbMV/PrVgEzt7A0H Y1Rv53y3ADtW30Z452VmdSfBGzjELXVT0i//eYopxW+WwVZLaeNtj09Q2 3OqejT7hiyJUp6C5dKXrP9z/+V57g5WZfP1R88fiSCJQlV7wzL3V+W6rB xGbpWuQd0XRyGVc/lx02HZzLLd85L8OwYsHx7cv60PE7TdQsE/hMrJW3F A==; X-CSE-ConnectionGUID: Y5ngiW8LTnersZCIJq6OBg== X-CSE-MsgGUID: GJ0HdLmGSACHgDAQOtqeNA== X-IronPort-AV: E=Sophos;i="6.10,159,1719871200"; d="scan'208";a="38467153" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 19 Aug 2024 14:04:49 +0200 X-CheckPoint: {66C334E1-0-751552D8-F91D2344} X-MAIL-CPID: 5F20051A3F2FEB06FF0870AB16C464CF_4 X-Control-Analysis: str=0001.0A782F19.66C334E1.0025,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D726D168925; Mon, 19 Aug 2024 14:04:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1724069084; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=NH68B4ounFCN4GOrQp/scCfLXKmQGexl525mYrvvjos=; b=tTr4+WSvZu45Soym4JcRsunP6IeUx7sGkesqzBtJgeqbo//ZNQBlTKkbNlM+zYnusAIy6M YJ6g6DEN977CLPIPEHt2AJJ4OrY4y8Nf7qgHDjN7uXMAPJYCHR9YzmcbGjsvIQlBKbZ2bZ 1RSN33Kn0JL5CIODj57NfZegRwwv27x2NqDREJzS/6n8C9ZNIjSYq65VZEWu/R+cb6PBB9 XpjmIfoqE1tSImY3pJRUZE+V6f5dh4wqpiI5grBTwZoo5C3xk+iVKHnYEDj67Juoy2HSf3 DFzX0Dm50ApGbflVW80RFsK2II+6GmnfeupWm1ibVaVudjJEiv4M41YWcaZFTg== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Markus Niebel , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH v2 13/14] arm64: dts: freescale: imx93-tqma9352-mba93xxca: add GPIO line names Date: Mon, 19 Aug 2024 14:03:27 +0200 Message-Id: <20240819120328.229622-14-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819120328.229622-1-alexander.stein@ew.tq-group.com> References: <20240819120328.229622-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_050450_217119_F117A5D2 X-CRM114-Status: UNSURE ( 8.01 ) X-CRM114-Notice: Please train this message. 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: Markus Niebel Provide GPIO line names for userspace usage, e.g. libgpiod. Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein --- .../freescale/imx93-tqma9352-mba93xxca.dts | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts index b4795e2e2ebf7..79b9f13de4af5 100644 --- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts +++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts @@ -276,6 +276,16 @@ &flexcan2 { }; &gpio1 { + gpio-line-names = + /* 00 */ "", "", "USB_C_ALERT#", "PMIC_IRQ#", + /* 04 */ "", "", "", "", + /* 08 */ "", "", "", "BM2_TEMP_EVENT_MOD#", + /* 12 */ "PEX_INT#", "", "RTC_EVENT#", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "", "", + /* 28 */ "", "", "", ""; + expander-irq-hog { gpio-hog; gpios = <12 GPIO_ACTIVE_LOW>; @@ -294,6 +304,40 @@ tcpc-irq-hog { &gpio2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio2>; + + gpio-line-names = + /* 00 */ "SPI6_PCS0#", "", "", "", + /* 04 */ "", "", "", "", + /* 08 */ "", "FAN_RPM", "MIPI_CSI_TRIGGER", "MIPI_CSI_SYNC", + /* 12 */ "", "", "", "", + /* 16 */ "X1_11", "X1_21", "X1_17", "X1_13", + /* 20 */ "X1_15", "X1_9", "", "", + /* 24 */ "", "", "X1_7", "", + /* 28 */ "", "", "", ""; +}; + +&gpio3 { + gpio-line-names = + /* 00 */ "SD2_CD#", "", "", "", + /* 04 */ "", "", "", "SD2_RST#", + /* 08 */ "", "", "", "", + /* 12 */ "", "", "", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "ENET1_INT#", "ENET2_INT#", + /* 28 */ "", "", "", ""; +}; + +&gpio4 { + gpio-line-names = + /* 00 */ "", "", "", "", + /* 04 */ "", "", "", "", + /* 08 */ "", "", "", "", + /* 12 */ "", "", "", "", + /* 16 */ "", "", "", "", + /* 20 */ "", "", "", "", + /* 24 */ "", "", "", "", + /* 28 */ "", "DP_INT", "", ""; }; &lpi2c3 {