Thread (16 messages) 16 messages, 5 authors, 2026-01-19

Re: [PATCH 2/4] dt-bindings: pinctrl: sunxi: Allow pinmux sub-pattern with leading numbers

From: Linus Walleij <linusw@kernel.org>
Date: 2026-01-07 14:13:31
Also in: linux-devicetree, linux-gpio, linux-media, linux-sunxi, lkml

On Thu, Dec 25, 2025 at 11:36 AM Chen-Yu Tsai [off-list ref] wrote:
The pattern for pinmux node names is typically the peripheral name and
instance number, followed by pingroup name if there are multiple options.

Normally the instance number is directly appended to the peripheral
name, like "mmc0" or "i2c2". But if the peripheral name ends with a
number, then it becomes confusing.

On the A20, the PS2 interface controller has two instances. This
produces pinmux node names like "ps2-0-pins". Make the sub-pattern
"[0-9]-" valid to fit this pattern. Avoid having to confusing "ps20-pins"
name.

Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
This patch 2/4 applied to the pin control tree.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help