Skip to content

Commit 3a6a36a

Browse files
stffrdhrnBartosz Golaszewski
authored andcommitted
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>
1 parent b2b8d24 commit 3a6a36a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpio/gpio-mmio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ static const struct of_device_id gpio_mmio_of_match[] = {
724724
{ .compatible = "wd,mbl-gpio" },
725725
{ .compatible = "ni,169445-nand-gpio" },
726726
{ .compatible = "intel,ixp4xx-expansion-bus-mmio-gpio" },
727+
{ .compatible = "opencores,gpio" },
727728
{ }
728729
};
729730
MODULE_DEVICE_TABLE(of, gpio_mmio_of_match);

0 commit comments

Comments
 (0)