mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: William Breathitt Gray <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
This commit is contained in:
committed by
Bartosz Golaszewski
parent
1454a928b6
commit
b4e83d3690
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user