]> git.baikalelectronics.ru Git - kernel.git/commit
x86/platform: Increase maximum GPIO number for X86_64
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Aug 2021 15:03:17 +0000 (18:03 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 2 Sep 2021 19:57:57 +0000 (21:57 +0200)
commit4419615c72d6134c0997f602e22f03c1fde5effd
treee4ee6dcd3eb774122dcdaa1ad714cce57d8f5032
parentd607fc791dcc6cac91efe403c36eec4be8117a29
x86/platform: Increase maximum GPIO number for X86_64

By default the 512 GPIOs is the 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>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20210826150317.29435-1-andriy.shevchenko@linux.intel.com
arch/x86/Kconfig