Re: [PATCH v1 1/1] x86/platform: Increase maximum GPIO number for X86_64

Andy Shevchenko
2021-08-11T13:41:46Z

On Wed, Aug 11, 2021 at 03:14:59PM +0200, Linus Walleij wrote:
> On Fri, Aug 6, 2021 at 4:44 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
>
> > By default the 512 GPIOs is a maximum on any x86 platform.
> > With, for example, Intel Tiger Lake-H the SoC based controller
> > occupies up to 480 pins. This leaves only 32 available for
> > GPIO expanders or other drivers, like PMIC. Hence, bump the
> > maximum GPIO number to 1024 for X86_64 and leave 512 for X86_32.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> Looks reasonable to me.
> The goal with the whole descriptor refactoring is to get this
> completely dynamic but it turns out to take forever. It is as it
> is.
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Thanks!

Rafael, can you please review this?

--
With Best Regards,
Andy Shevchenko