pinctrl: cherryview: Add GPIO <-> pin mapping ranges via callback
authorHans de Goede <hdegoede@redhat.com>
Thu, 14 Nov 2019 10:08:03 +0000 (11:08 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Dec 2019 10:55:53 +0000 (12:55 +0200)
commitbd90633a5c5433bcb53d55843a7118e6c032b1a2
tree77ffa021275b7bd79e89ab857c9ec38aa6848a6c
parent82d9beb4b7f701cb2bb4c892e777c5ada14ce99e
pinctrl: cherryview: 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.

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-cherryview.c