pinctrl: intel: Add GPIO <-> pin mapping ranges via callback
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 9 Jan 2020 07:53:28 +0000 (08:53 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 9 Jan 2020 11:12:20 +0000 (13:12 +0200)
commit6d416b9bb577cc3013301cfccb0d938567af489d
tree589934f3847863a15d5da75f7958ed8d744686c9
parente2b74419e5cc7cfc58f3e785849f73f8fa0af5b3
pinctrl: intel: Add GPIO <-> pin mapping ranges via callback

When IRQ chip is instantiated via GPIO library flow, the few functions,
in particular the ACPI event registration mechanism, on some of ACPI based
platforms expect that the pin ranges are initialized to that point.

Add GPIO <-> pin mapping ranges via callback in the GPIO library flow.

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c