[PATCH 2/3] pinctl: mediatek: increase max number of base addresses
Macpaul Lin (林智斌)
Macpaul.Lin at mediatek.com
Wed Feb 25 07:58:11 CET 2026
On Thu, 2026-02-12 at 10:43 -0600, David Lechner wrote:
> On 2/12/26 4:26 AM, Macpaul Lin (林智斌) wrote:
> > 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).
>
> Since the macro already exists, there should not be any build error.
>
> I checked this with buildman to build each commit.
>
> >
> > Thanks!
> > Macpaul Lin
>
Thanks!
A "Reviewed-by" tag has been replied to this patch.
Best regards,
Macpaul Lin
More information about the U-Boot
mailing list