Re: [PATCH v1 1/1] x86/platform: Increase maximum GPIO number for X86_64
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2021-08-11 13:41:48
Also in:
linux-acpi, lkml
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2021-08-11 13:41:48
Also in:
linux-acpi, lkml
On Wed, Aug 11, 2021 at 03:14:59PM +0200, Linus Walleij wrote:
On Fri, Aug 6, 2021 at 4:44 PM Andy Shevchenko [off-list ref] wrote:quoted
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 <redacted>
Thanks! Rafael, can you please review this? -- With Best Regards, Andy Shevchenko