]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gpio: mpc8xxx: Add MPC8314 support
authorJ. Neuschäfer <j.ne@posteo.net>
Thu, 2 Jan 2025 18:31:54 +0000 (19:31 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 13 Jan 2025 08:20:25 +0000 (09:20 +0100)
GPIO input, output, and interrupts have been tested on a MPC8314E board.

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250102-mpc83xx-v1-13-86f78ba2a7af@posteo.net
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-mpc8xxx.c

index 24417c3247b0a832ad15fe93e9ba0339eac3b883..0cd4c36ae8aaf075a54795810d5eea755325d771 100644 (file)
@@ -285,6 +285,7 @@ static const struct mpc8xxx_gpio_devtype mpc8xxx_gpio_devtype_default = {
 };
 
 static const struct of_device_id mpc8xxx_gpio_ids[] = {
+       { .compatible = "fsl,mpc8314-gpio", },
        { .compatible = "fsl,mpc8349-gpio", },
        { .compatible = "fsl,mpc8572-gpio", .data = &mpc8572_gpio_devtype, },
        { .compatible = "fsl,mpc8610-gpio", },