diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-17 19:06:00 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2022-10-26 14:52:02 +0200 |
commit | b4e83d369015e3045418ca86984c3cd8dcf5a365 (patch) | |
tree | 8e62fc2d8376078c96da811617eecff99d49d7a3 /drivers/gpio/gpio-exar.c | |
parent | gpio: Add gpio latch driver (diff) | |
download | linux-b4e83d369015e3045418ca86984c3cd8dcf5a365.tar.xz linux-b4e83d369015e3045418ca86984c3cd8dcf5a365.zip |
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>
Diffstat (limited to 'drivers/gpio/gpio-exar.c')
-rw-r--r-- | drivers/gpio/gpio-exar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-exar.c b/drivers/gpio/gpio-exar.c index 482f678c893e..df1bdaae441c 100644 --- a/drivers/gpio/gpio-exar.c +++ b/drivers/gpio/gpio-exar.c @@ -141,6 +141,7 @@ static const struct regmap_config exar_regmap_config = { .name = "exar-gpio", .reg_bits = 16, .val_bits = 8, + .io_port = true, }; static int gpio_exar_probe(struct platform_device *pdev) |