pinctrl: jasperlake: Unhide SPI group of pins
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Nov 2020 19:59:23 +0000 (21:59 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Nov 2020 13:54:45 +0000 (15:54 +0200)
commitbf8b7e689de22f862c4b066ff73d8267e04905e2
tree08406e2a30b071a823fc9478d0747ff91afdb6c0
parent1d112baae84844f3737193c39ac5069f5980ecd1
pinctrl: jasperlake: Unhide SPI group of pins

If the group of pins is hidden in the pin list it affects
the register offset calculation despite fixed GPIO base.
Hence, the offsets of all pins after the hidden group
are broken. Instead we have to unhide the group and use a flag
to exclude it from GPIO number space.

Fixes: e278dcb7048b ("pinctrl: intel: Add Intel Jasper Lake pin controller support")
Reported-by: Divagar Mohandass <divagar.mohandass@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-jasperlake.c