]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29e2f3307f8fc3319403a02d7e5b2d720cb17c8c
tree589934f3847863a15d5da75f7958ed8d744686c9
parent12a748322ed697c213dbabe79b01c1c5d4f2b543
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