From: Frank Wunderlich <linux@fw-web.de>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: Frank Wunderlich <frank-w@public-files.de>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Linus Walleij <linusw@kernel.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: [PATCH 1/2] arm64: dts: mediatek: mt7988a-bpi-r4pro: add names for i2c-to-gpio chip
Date: Fri, 18 Sep 2026 16:38:42 +0200 [thread overview]
Message-ID: <20260918143846.30458-2-linux@fw-web.de> (raw)
In-Reply-To: <20260918143846.30458-1-linux@fw-web.de>
From: Frank Wunderlich <frank-w@public-files.de>
Add line-names for the PCA9555 i2c to gpio expander to have more
information in debugfs.
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
.../mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi
index 1eeb72108b9b..f54787fbbc71 100644
--- a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi
@@ -315,6 +315,24 @@ pca9555: i2c-gpio-expander@20 {
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
+
+ gpio-line-names =
+ "BKEY-A-PDN", /* GPIO0 */
+ "BKEY-A-Vset", /* GPIO1 */
+ "BKEY-B-PDN", /* GPIO2 */
+ "BKEY-B-Vset", /* GPIO3 */
+ "BKEY-C-PDN", /* GPIO4 */
+ "BKEY-C-Vset", /* GPIO5 */
+ "SIM_SEL", /* GPIO6 */
+ "mPCIe_AB_Vset",/* GPIO7 */
+ "mPCIe_A_PDN", /* GPIO8 */
+ "mPCIe_B_PDN", /* GPIO9 */
+ "BKEY-A-RST", /* GPIO10 */
+ "VBUS_AB_PDN", /* GPIO11 */
+ "BKEY-B-RST", /* GPIO12 */
+ "BKEY-C-RST", /* GPIO13 */
+ "SYS_LEDB", /* GPIO14 */
+ "SYS_LEDR"; /* GPIO15 */
};
rtc@51 {
--
2.53.0
next prev parent reply other threads:[~2026-09-18 14:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 14:38 [PATCH 0/2] Add gpio labels for R4Pro Frank Wunderlich
2026-09-18 14:38 ` Frank Wunderlich [this message]
2026-09-18 14:38 ` [PATCH 2/2] arm64: dts: mediatek: mt7988a-bpi-r4pro: label gpio-hogs Frank Wunderlich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260918143846.30458-2-linux@fw-web.de \
--to=linux@fw-web.de \
--cc=andriy.shevchenko@linux.intel.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=frank-w@public-files.de \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=mika.westerberg@linux.intel.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®