aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2026-01-15 15:09:58 +0000
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-01-15 16:39:16 +0100
commit3a6a36a3fc4e18e202eaf6c258553b5a17b91677 (patch)
tree8d00ecc11f7e0aeba3cf4f31af8127c0c8e17fef /drivers
parentb2b8d247ad8ee1abe860598cae70e2dbe8a09128 (diff)
gpio: mmio: Add compatible for opencores GPIO
On FPGA Development boards with GPIOs the OpenRISC architecture uses the opencores gpio verilog rtl. This is compatible with the gpio-mmio. Add the compatible string to allow probing this driver from the devicetree. Link: https://opencores.org/projects/gpio Signed-off-by: Stafford Horne <shorne@gmail.com> Reviewed-by: Linus Walleij <linusw@kernel.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20260115151014.3956805-3-shorne@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/gpio-mmio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-mmio.c b/drivers/gpio/gpio-mmio.c
index 5daf962b0323..edbcaad57d00 100644
--- a/drivers/gpio/gpio-mmio.c
+++ b/drivers/gpio/gpio-mmio.c
@@ -724,6 +724,7 @@ static const struct of_device_id gpio_mmio_of_match[] = {
{ .compatible = "wd,mbl-gpio" },
{ .compatible = "ni,169445-nand-gpio" },
{ .compatible = "intel,ixp4xx-expansion-bus-mmio-gpio" },
+ { .compatible = "opencores,gpio" },
{ }
};
MODULE_DEVICE_TABLE(of, gpio_mmio_of_match);