From patchwork Tue Nov 1 10:29:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 1697706 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=kxfAziLx; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4N1mVh007Vz23lC for ; Tue, 1 Nov 2022 21:30:03 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4N1mVg3BrDz3cL7 for ; Tue, 1 Nov 2022 21:30:03 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=kxfAziLx; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmx.net (client-ip=212.227.15.19; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=kxfAziLx; dkim-atps=neutral Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4N1mVJ0BVnz3bhn for ; Tue, 1 Nov 2022 21:29:42 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1667298568; bh=llVHE5GLaohYprJdz/Wwa2hAREpdRRrX0D42e625sXg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=kxfAziLxH9jY+uvFYguQT8bTyevy1B7N/nvWp1213fySxSnfWXaAScGRAVmhQiRUs 4UFflRdhWz1veWantwUenFxZIe0QiysD9M2It6HzTCTENR/d+EayeuGJcdu1qnDkNQ fwAnlF2DqtSjVUP18hiko72NIOtSwneCq9ZXDqYULOLYpwl1l9EgtDXpA1QsYfu2tC WfXGpRtW2QLIHFyPrheBi9Q/a+l8sC1wpKTQbmMXZpn9X8QSSKBFTy+Gf3v09+9PXP ldnYl+34DL2ryW2DchPgzve42nb8l8PxoVXbut3U+BHdPDEa7FE9ZZggHzOprIJYL+ VeOFfhWGJZQHw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([95.223.44.31]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M89Kr-1ov1SN2twx-005MKc; Tue, 01 Nov 2022 11:29:28 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org Subject: [PATCH] ARM: dts: nuvoton,wpcm450-supermicro-x9sci-ln4f: Add GPIO line names Date: Tue, 1 Nov 2022 11:29:16 +0100 Message-Id: <20221101102916.440526-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.35.1 MI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kGs8D9XrV6G+QYsdfIrwV/+Qoiq3z68FhDpB2OBjTUr+YCsTm40S/ vkjH4Eqpl5jb19hzEEuh3RgrXJ56oGjlHg93j7u7V1GTD5w1Am7dszRy09qfZ+vCfuysraWWL mwThlmjBUyEjP4qrCbg7VzfsX+vsPlKAd9gfLfuBkqxexRk4jyXaz1U6fSzMy6JkMHWiZHI2T G+AthDT6mAmKXF/9GMCFxDdUh6I= X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rob Herring , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" To make gpioinfo output more useful and enable gpiofind usage, add line names for GPIOs where the function is known. This patch follows the naming convention defined for OpenBMC, as much as possible: https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md Signed-off-by: Jonathan Neuschäfer Reviewed-by: Joel Stanley --- .../nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.35.1 diff --git a/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts b/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts index 26fed97f8ff4a..d4472ffdac928 100644 --- a/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts +++ b/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts @@ -58,6 +58,24 @@ heartbeat { }; }; +&gpio0 { + gpio-line-names = + /* 0 */ "", "host-reset-control-n", "", "", "", "", "", "", + /* 8 */ "", "", "", "", "power-chassis-control-n", "", "uid-button", ""; +}; + +&gpio1 { + gpio-line-names = + /* 0 */ "", "", "", "", "led-heartbeat", "", "", "led-uid", + /* 8 */ "", "", "", "", "", "", "", ""; +}; + +&gpio4 { + gpio-line-names = + /* 0 */ "", "", "", "", "", "", "", "", + /* 8 */ "", "", "", "", "", "", "", "power-chassis-good"; +}; + &pinctrl { key_pins: mux-keys { groups = "gspi", "sspi";