linux-uconsole/drivers/pinctrl/intel
Andy Shevchenko 5b15b1bf54 pinctrl: cherryview: Allocate IRQ chip dynamic
[ Upstream commit 67d33aecd0 ]

Keeping the IRQ chip definition static shares it with multiple instances
of the GPIO chip in the system. This is bad and now we get this warning
from GPIO library:

"detected irqchip that is shared with multiple gpiochips: please fix the driver."

Hence, move the IRQ chip definition from being driver static into the struct
intel_pinctrl. So a unique IRQ chip is used for each GPIO chip instance.

This patch is heavily based on the attachment to the bug by Christoph Marz.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=202543
Fixes: 6e08d6bbeb ("pinctrl: Add Intel Cherryview/Braswell pin controller support")
Depends-on: 83b9dc1131 ("pinctrl: cherryview: Associate IRQ descriptors to irqdomain")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:19:37 +01:00
..
Kconfig pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00
Makefile pinctrl: intel: Add Ice Lake PCH pin controller support 2018-06-29 14:51:26 +02:00
pinctrl-baytrail.c pinctrl: baytrail: actually print the apparently misconfigured pin 2018-08-03 19:14:50 +02:00
pinctrl-broxton.c pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00
pinctrl-cannonlake.c pinctrl: cannonlake: Fix HOSTSW_OWN register offset of H variant 2018-09-25 12:48:15 +02:00
pinctrl-cedarfork.c pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00
pinctrl-cherryview.c pinctrl: cherryview: Allocate IRQ chip dynamic 2019-12-05 09:19:37 +01:00
pinctrl-denverton.c pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00
pinctrl-geminilake.c pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00
pinctrl-icelake.c pinctrl: intel: Add Ice Lake PCH pin controller support 2018-06-29 14:51:26 +02:00
pinctrl-intel.c pinctrl: intel: Avoid potential glitches if pin is in GPIO mode 2019-11-12 19:21:18 +01:00
pinctrl-intel.h pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00
pinctrl-lewisburg.c pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00
pinctrl-merrifield.c Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
pinctrl-sunrisepoint.c pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00