OpenCloudOS-Kernel/drivers/pinctrl/intel
Mika Westerberg c41eb2c7f9 pinctrl: sunrisepoint: Align GPIO number space with Windows
It turns out that the Windows GPIO driver for Sunrisepoint PCH-H uses
similar bank structure than it does for Cannon Lake with the exception
that here the bank size is always 24 pins. Starting from pad group E the
BIOS/Windows GPIO numbering does not match the hardware anymore but
instead there are gaps to make each pad group ("bank") consume exactly
24 pins. Because of this Linux does not use correct pins for
GpioIo/GpioIo resources exposed by the BIOS.

This patch aligns the GPIO number space with BIOS/Windows to make sure
the same numbering scheme is used in Linux as well following what we did
already for Intel Cannon Lake.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1543769
Reported-by: Vivien FRASCA <vivien.frasca@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-05-02 14:36:00 +02:00
..
Kconfig pinctrl: intel: Add Intel Cedar Fork PCH pin controller support 2017-10-31 10:11:21 +01:00
Makefile This is the bulk of pin control changes for the v4.15 2017-11-16 10:57:11 -08:00
pinctrl-baytrail.c pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts 2018-01-08 08:15:46 +01:00
pinctrl-broxton.c pinctrl: broxton: No need to take pointer of a pointer 2017-01-30 14:45:12 +01:00
pinctrl-cannonlake.c pinctrl: cannonlake: Align GPIO number space with Windows 2017-11-29 13:46:28 +01:00
pinctrl-cedarfork.c pinctrl: intel: Add Intel Cedar Fork PCH pin controller support 2017-10-31 10:11:21 +01:00
pinctrl-cherryview.c pinctrl: cherryview: Associate IRQ descriptors to irqdomain 2018-05-02 14:35:59 +02:00
pinctrl-denverton.c pinctrl: denverton: Fix UART2 RTS pin mode 2017-11-29 10:29:40 +01:00
pinctrl-geminilake.c pinctrl: intel: Add Intel Gemini Lake pin controller support 2017-01-30 15:06:01 +01:00
pinctrl-intel.c pinctrl: intel: Implement intel_gpio_get_direction callback 2018-03-23 04:07:22 +01:00
pinctrl-intel.h pinctrl: intel: Allow custom GPIO base for pad groups 2017-11-29 13:44:52 +01:00
pinctrl-lewisburg.c pinctrl: intel: Add Intel Lewisburg GPIO support 2017-08-22 15:42:19 +02:00
pinctrl-merrifield.c pinctrl: intel: merrifield: Introduce ACPI device table 2017-11-29 10:29:45 +01:00
pinctrl-sunrisepoint.c pinctrl: sunrisepoint: Align GPIO number space with Windows 2018-05-02 14:36:00 +02:00