[PATCH 2/3] pinctl: mediatek: increase max number of base addresses
Macpaul Lin (林智斌)
Macpaul.Lin at mediatek.com
Thu Feb 12 11:26:38 CET 2026
On Mon, 2026-02-09 at 17:34 -0600, David Lechner wrote:
> 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.
>
> Signed-off-by: David Lechner <dlechner at baylibre.com>
> ---
> drivers/pinctrl/mediatek/pinctrl-mtk-common.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.h
> b/drivers/pinctrl/mediatek/pinctrl-mtk-common.h
> index 15ab3c1bf07..58f13613633 100644
> --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.h
> +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.h
> @@ -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), }
>
>
Reviewed-by: Macpaul Lin <macpaul.lin at mediatek.com>
However, shouldn't this patch be re-ordered before
[PATCH 1/3] of this patch set for avoiding build error?
(However, it seems not much issues between these 2 patches).
Thanks!
Macpaul Lin
More information about the U-Boot
mailing list