]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pinctl: mediatek: increase max number of base addresses
authorDavid Lechner <dlechner@baylibre.com>
Mon, 9 Feb 2026 23:34:18 +0000 (17:34 -0600)
committerDavid Lechner <dlechner@baylibre.com>
Wed, 11 Mar 2026 15:42:03 +0000 (10:42 -0500)
Increase the maximum number of base addresses that can be handled by the
mediatek pinctrl driver from 10 to 15. This is needed for the MT8189
which has 15 base addresses.

Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com>
Link: https://patch.msgid.link/20260209-mtk-pinctl-mt8189-v1-2-a7a3069eda6c@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
drivers/pinctrl/mediatek/pinctrl-mtk-common.h

index 15ab3c1bf073bd6e5022f019a7a6102e8cd272c8..58f136136330b30e9fab6e0ff6dad529f71a221f 100644 (file)
@@ -9,7 +9,7 @@
 #define MTK_PINCTRL_V0 0x0
 #define MTK_PINCTRL_V1 0x1
 #define BASE_CALC_NONE 0
-#define MAX_BASE_CALC 10
+#define MAX_BASE_CALC 15
 
 #define MTK_RANGE(_a)          { .range = (_a), .nranges = ARRAY_SIZE(_a), }