From patchwork Wed Jul 24 12:59:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13740948 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 DEB4EC3DA63 for ; Wed, 24 Jul 2024 13:04:45 +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=OoceoWjVztSwkDXYO7vCWx1e9yJOPZXKSyzWzXs2Xi8=; b=FvNOqTzswPKWwKs7aSBiNP1FZJ pvHmohm+i1rZOU7nxJ4RqunzJn//Rmrsv0mjaRCOj5C/97c40WhTxLoYG69O9WgZTw8jLPYo6Y1/B d8z5XVtQ1WgaVmtb8c0IPisC0hGXzuaQ7Nq+kVPIUASH2Z7mAy7ctNVhEYbwXbh8zlxPj4ncno9h+ 4gnhPsiQVKjNviQ8WWQS0W1AcmCf2ZhdyeLSkyUz+HO/US8TIBQYqEustaB4EBKuxYA+8+3XwR6zr 6J7UJRVRp/nSTzGXrhZjDBgIjZTVYUkLO+NVeXCgerNVweyFB0Re7vI4yyeDgFERD2DgvfK30Dvim CwKTCW1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWbfV-0000000FOTq-29bS; Wed, 24 Jul 2024 13:04:33 +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 1sWbag-0000000FMXG-1q0m for linux-arm-kernel@lists.infradead.org; Wed, 24 Jul 2024 12:59:36 +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=1721825974; x=1753361974; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=OoceoWjVztSwkDXYO7vCWx1e9yJOPZXKSyzWzXs2Xi8=; b=nrtvN3RzwSsMbFyyZHv+u2JNt7akTjcnOJFaXJJizXG9cWQLOVqh8dfY 2PWVfYcgkOTqi3Wr+402FpQf47UKEdrdYEssgD2xhcmwSPqAFP21BV+i5 G3Jh7nWeJD/2glCp47IUZdVskkE4sOB0qxNbKStINYg8o9OYfjgWVHO4f NSmqDRIjKPMRMjUxB4nOrrBjAxNQPORPUAILM8B4MhO5zP4FSVit8NpA+ C6jmxSAYjraD4EG+9DwbcVTQAMa6eP8BPXxQoccwCxrppxD5OM+yaLMsL Fhq8WG6zY6Ldnti3u/ESgLI4ZSe1o2Ks1VFlfs7PLfgriLkCQr30ztJ7P w==; X-CSE-ConnectionGUID: MLYIFc25Szuxt88BKeEWGw== X-CSE-MsgGUID: oT1380lAQGq03yq5B6+/1g== X-IronPort-AV: E=Sophos;i="6.09,232,1716242400"; d="scan'208";a="38058835" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 24 Jul 2024 14:59:33 +0200 X-CheckPoint: {66A0FAB5-12-6C016D47-F93F7C64} X-MAIL-CPID: 845A4A7543469DE6F4592CDDDE2E19AA_0 X-Control-Analysis: str=0001.0A782F26.66A0FAB5.0175,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 F2F04163720; Wed, 24 Jul 2024 14:59:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1721825973; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=OoceoWjVztSwkDXYO7vCWx1e9yJOPZXKSyzWzXs2Xi8=; b=HyIftHHbfG5w6VL84V1WETY7jrgXmigd2IIp4Rt2RT6Of2kaxpK/Da61vCWOIeYZag/UZo jrWmRiyrjJfyDm2dsM3I3RRNdG2tnk7UDCCneCOdn3cN6IsnJRTJnh6+V45viL6gnt8PYv ueUPDkQx5PcUj+GoYBiClaJSSoHmEEUb1yj055enUBs+d9bv51QcIjq2XgwOUTTxFlAcIU UwG0l+W71XpDTgNztPqCxb5VZBymKD1bNyr5qNjdZsuNfCL2qqVn6+3cGykSAN+Jm7C7E8 dOgBzo+vlEkhGfwAfVssVUe8pEAAxChofGiRSZpqBu3Ff3SDuLcBV13+Micu1w== From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Alexander Stein 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 Subject: [PATCH 13/14] arm64: dts: freescale: imx93-tqma9352-mba93xxca: add GPIO line names Date: Wed, 24 Jul 2024 14:59:00 +0200 Message-Id: <20240724125901.1391698-14-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240724125901.1391698-1-alexander.stein@ew.tq-group.com> References: <20240724125901.1391698-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-20240724_055934_970603_2C7D2474 X-CRM114-Status: UNSURE ( 8.32 ) 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 8a64959e92cb..9a21fbf986fe 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 {