Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Stafford Horne and committed by
Bartosz Golaszewski
3a6a36a3 b2b8d247

+1
+1
drivers/gpio/gpio-mmio.c
··· 724 724 { .compatible = "wd,mbl-gpio" }, 725 725 { .compatible = "ni,169445-nand-gpio" }, 726 726 { .compatible = "intel,ixp4xx-expansion-bus-mmio-gpio" }, 727 + { .compatible = "opencores,gpio" }, 727 728 { } 728 729 }; 729 730 MODULE_DEVICE_TABLE(of, gpio_mmio_of_match);