From: Zhengping Zhang <zhengping.zhang@airoha.com>
To: <linusw@kernel.org>, <lorenzo@kernel.org>
Cc: <robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<brgl@kernel.org>, <mikhail.kshevetskiy@iopsys.eu>,
<naseefkm@gmail.com>, <benjamin.larsson@genexis.eu>,
<linux-gpio@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>, <lei.dong@airoha.com>,
<ansuelsmth@gmail.com>,
Zhengping Zhang <zhengping.zhang@airoha.com>
Subject: [PATCH 03/12] dt-bindings: pinctrl: airoha: describe all EN7581 GPIO mux groups
Date: Tue, 10 Nov 2026 17:43:30 +0800 [thread overview]
Message-ID: <20261110094339.749110-4-zhengping.zhang@airoha.com> (raw)
In-Reply-To: <20261110094339.749110-1-zhengping.zhang@airoha.com>
Expand the GPIO mux groups from GPIO47-49 to GPIO0-49 to describe
explicit GPIO mode selection across the controller's GPIO range.
Allow multiple GPIO groups in a single mux state.
Correct the PHY LED pin groups to match the EN7581 pad assignments:
LED0 uses GPIO43-46, while LED1 uses GPIO33-35 and GPIO42.
The corresponding driver support is added in subsequent patches.
Signed-off-by: Zhengping Zhang <zhengping.zhang@airoha.com>
---
.../pinctrl/airoha,en7581-pinctrl.yaml | 28 +++++++++++++------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml
index 0cf1826c691fc..fa7b3dc58a3ea 100644
--- a/Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml
@@ -194,7 +194,17 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio47, gpio48, gpio49]
+ items:
+ enum: [gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6,
+ gpio7, gpio8, gpio9, gpio10, gpio11, gpio12, gpio13,
+ gpio14, gpio15, gpio16, gpio17, gpio18, gpio19, gpio20,
+ gpio21, gpio22, gpio23, gpio24, gpio25, gpio26, gpio27,
+ gpio28, gpio29, gpio30, gpio31, gpio32, gpio33, gpio34,
+ gpio35, gpio36, gpio37, gpio38, gpio39, gpio40, gpio41,
+ gpio42, gpio43, gpio44, gpio45, gpio46, gpio47, gpio48,
+ gpio49]
+ minItems: 1
+ maxItems: 50
- if:
properties:
function:
@@ -225,7 +235,7 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio33, gpio34, gpio35, gpio42]
+ enum: [gpio43, gpio44, gpio45, gpio46]
- if:
properties:
function:
@@ -233,7 +243,7 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio33, gpio34, gpio35, gpio42]
+ enum: [gpio43, gpio44, gpio45, gpio46]
- if:
properties:
function:
@@ -241,7 +251,7 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio33, gpio34, gpio35, gpio42]
+ enum: [gpio43, gpio44, gpio45, gpio46]
- if:
properties:
function:
@@ -249,7 +259,7 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio33, gpio34, gpio35, gpio42]
+ enum: [gpio43, gpio44, gpio45, gpio46]
- if:
properties:
function:
@@ -257,7 +267,7 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio43, gpio44, gpio45, gpio46]
+ enum: [gpio33, gpio34, gpio35, gpio42]
- if:
properties:
function:
@@ -265,7 +275,7 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio43, gpio44, gpio45, gpio46]
+ enum: [gpio33, gpio34, gpio35, gpio42]
- if:
properties:
function:
@@ -273,7 +283,7 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio43, gpio44, gpio45, gpio46]
+ enum: [gpio33, gpio34, gpio35, gpio42]
- if:
properties:
function:
@@ -281,7 +291,7 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio43, gpio44, gpio45, gpio46]
+ enum: [gpio33, gpio34, gpio35, gpio42]
additionalProperties: false
--
2.43.0
next prev parent reply other threads:[~2026-11-10 9:43 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 9:43 [PATCH 00/12] pinctrl: airoha: configure GPIO muxes explicitly and fix pad mappings Zhengping Zhang
2026-11-10 9:43 ` [PATCH 01/12] pinctrl: airoha: fix setting of GPIO direction Zhengping Zhang
2026-11-10 9:43 ` [PATCH 02/12] pinctrl: airoha: configure pin muxes on GPIO requests Zhengping Zhang
2026-11-10 9:43 ` Zhengping Zhang [this message]
2026-11-15 14:00 ` [PATCH 03/12] dt-bindings: pinctrl: airoha: describe all EN7581 GPIO mux groups Mikhail Kshevetskiy
2026-11-10 9:43 ` [PATCH 04/12] pinctrl: airoha: an7581: fix PHY LED GPIO group assignments Zhengping Zhang
2026-11-15 14:02 ` Mikhail Kshevetskiy
2026-11-20 7:03 ` Zhengping Zhang
2026-11-10 9:43 ` [PATCH 05/12] pinctrl: airoha: an7581: select force GPIO mode on GPIO requests Zhengping Zhang
2026-11-15 14:21 ` Mikhail Kshevetskiy
2026-11-20 7:19 ` Zhengping Zhang
2026-11-10 9:43 ` [PATCH 06/12] dt-bindings: pinctrl: airoha: describe all AN7583 GPIO mux groups Zhengping Zhang
2026-11-10 9:43 ` [PATCH 07/12] pinctrl: airoha: an7583: fix SPI pin mux config Zhengping Zhang
2026-11-10 9:43 ` [PATCH 08/12] pinctrl: airoha: an7583: fix eMMC " Zhengping Zhang
2026-11-10 9:43 ` [PATCH 09/12] pinctrl: airoha: an7583: use force GPIO mode for GPIO requests Zhengping Zhang
2026-11-15 14:23 ` Mikhail Kshevetskiy
2026-11-10 9:43 ` [PATCH 10/12] dt-bindings: pinctrl: airoha: describe all EN7523 GPIO mux groups Zhengping Zhang
2026-11-10 9:43 ` [PATCH 11/12] pinctrl: airoha: en7523: use force GPIO mode for GPIO requests Zhengping Zhang
2026-11-15 14:24 ` Mikhail Kshevetskiy
2026-11-10 9:43 ` [PATCH 12/12] MAINTAINERS: add myself as Airoha pinctrl co-maintainer Zhengping Zhang
2026-11-15 14:09 ` [PATCH 00/12] pinctrl: airoha: configure GPIO muxes explicitly and fix pad mappings Mikhail Kshevetskiy
2026-11-18 21:15 ` Linus Walleij
2026-11-20 6:39 ` Zhengping Zhang
2026-11-30 21:18 ` Linus Walleij
2026-12-01 9:36 ` Zhengping Zhang
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=20261110094339.749110-4-zhengping.zhang@airoha.com \
--to=zhengping.zhang@airoha.com \
--cc=ansuelsmth@gmail.com \
--cc=benjamin.larsson@genexis.eu \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lei.dong@airoha.com \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=lorenzo@kernel.org \
--cc=mikhail.kshevetskiy@iopsys.eu \
--cc=naseefkm@gmail.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®