pinctrl: baytrail: Add GPIO <-> pin mapping ranges via callback
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Nov 2019 17:07:30 +0000 (19:07 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Dec 2019 10:55:52 +0000 (12:55 +0200)
commited3c156462516f3a10c8842cdf6358d20ffa34f5
tree8f6a68be580fd34eb50c812bad9cf03acb412ac4
parentb30b736a2b3d5a032fd91ab34c558148cda6590f
pinctrl: baytrail: 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.

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