pinctl: mediatek: increase max number of base addresses

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>
This commit is contained in:
David Lechner 2026-02-09 17:34:18 -06:00
parent 64d48d21b5
commit 920b0bc608

View 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), }