summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinconf.h
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2018-03-29 17:37:25 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-05-02 14:36:00 +0200
commitc41eb2c7f93531b8ea689b1e2bfe7e6b884a7213 (patch)
tree00ecd9bf5f9f4626ef2b26e17dd0d295204b6adc /drivers/pinctrl/pinconf.h
parent83b9dc11312f48a561594a895672abb6cb2a2250 (diff)
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>
Diffstat (limited to 'drivers/pinctrl/pinconf.h')
0 files changed, 0 insertions, 0 deletions