gpio: exar: Allow IO port access
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 Oct 2022 17:06:00 +0000 (20:06 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 26 Oct 2022 12:52:02 +0000 (14:52 +0200)
commitb4e83d369015e3045418ca86984c3cd8dcf5a365
tree8e62fc2d8376078c96da811617eecff99d49d7a3
parent1454a928b637bd169d99fc91a46b3b36cea76f9f
gpio: exar: Allow IO port access

It's possible that PCI device can provide an IO port resource for
the device. regmap MMIO currently uses MMIO by default. With an
additional flag we enable support for IO port accesses.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-exar.c