]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit37905e904c3fc3511f0fc8c6b7f44066a5184190
tree8f6a68be580fd34eb50c812bad9cf03acb412ac4
parentd076a48e4c2cc0d7c86ec50719ab90e282bfd43f
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