]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
gpio: mmio: Add compatible for the ixp4xx eb MMIO
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 22 Aug 2025 15:46:28 +0000 (17:46 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 25 Aug 2025 18:49:58 +0000 (20:49 +0200)
The IXP4xx expansion bus can have simple memory-mapped GPIO
on it. Using the proper device tree bindings, support probing
this directly from the device tree.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250822-ixp4xx-eb-mmio-gpio-v2-3-bd2edd4a9c74@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-mmio.c

index 021ad62778c2f49f0819b767a60112945999f572..79e1be149c94842cb6fa6b657343b11e78701220 100644 (file)
@@ -730,6 +730,7 @@ static const struct of_device_id bgpio_of_match[] = {
        { .compatible = "brcm,bcm6345-gpio" },
        { .compatible = "wd,mbl-gpio" },
        { .compatible = "ni,169445-nand-gpio" },
+       { .compatible = "intel,ixp4xx-expansion-bus-mmio-gpio" },
        { }
 };
 MODULE_DEVICE_TABLE(of, bgpio_of_match);