git: 0b6b389cf60f - main - allwinner: a31s: Fix the pin number of PH28

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Fri, 13 Nov 2026 07:29:53 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=0b6b389cf60f913c91825d42f1880e9a784896a9

commit 0b6b389cf60f913c91825d42f1880e9a784896a9
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2026-11-13 06:50:13 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2026-11-13 07:29:30 +0000

    allwinner: a31s: Fix the pin number of PH28
    
    The PH28 entry of the pad table of the A31s had the pin number 27, the
    one of PH27, so the pinctrl of PH28 configured PH27 and a <&pio 7 28>
    specifier could not be mapped.  This was fixed for the A31 in
    222947a74223 but not in the copy for the A31s.
    
    Reported by:    llm-postcr
    Fixes:          ccf8caad1413 ("Add the Allwinner A31 and A31s padconf support. It's currently unused, but")
---
 sys/arm/allwinner/a31/a31s_padconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/allwinner/a31/a31s_padconf.c b/sys/arm/allwinner/a31/a31s_padconf.c
index 8c14b34dfef4..76c0f6495bc2 100644
--- a/sys/arm/allwinner/a31/a31s_padconf.c
+++ b/sys/arm/allwinner/a31/a31s_padconf.c
@@ -185,7 +185,7 @@ const static struct allwinner_pins a31s_pins[] = {
 	{"PH25", 7, 25, {"gpio_in", "gpio_out", NULL, NULL, NULL, NULL, NULL, NULL}},
 	{"PH26", 7, 26, {"gpio_in", "gpio_out", NULL, NULL, NULL, NULL, NULL, NULL}},
 	{"PH27", 7, 27, {"gpio_in", "gpio_out", NULL, NULL, NULL, NULL, NULL, NULL}},
-	{"PH28", 7, 27, {"gpio_in", "gpio_out", NULL, NULL, NULL, NULL, NULL, NULL}},
+	{"PH28", 7, 28, {"gpio_in", "gpio_out", NULL, NULL, NULL, NULL, NULL, NULL}},
 };
 
 const struct allwinner_padconf a31s_padconf = {