]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gpio: renesas: Add R-Car Gen4 support
authorHai Pham <hai.pham.ud@renesas.com>
Tue, 28 Feb 2023 21:23:07 +0000 (22:23 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:33:50 +0000 (14:33 +0200)
Add support for the GPIO controller block in the R-Car Gen4 family.

It has a General Input Enable Register (INEN), whose reset state is to
have all inputs disabled.

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/gpio/gpio-rcar.c

index 138801850d3e87819e6c53d27fdf205ae64ed5c8..9ffb4a56258ebf8159aff41f9614a5f7ae068270 100644 (file)
@@ -195,6 +195,7 @@ static const struct udevice_id rcar_gpio_ids[] = {
        { .compatible = "renesas,gpio-r8a779a0", .data = RCAR_GPIO_HAS_INEN },
        { .compatible = "renesas,rcar-gen2-gpio" },
        { .compatible = "renesas,rcar-gen3-gpio" },
+       { .compatible = "renesas,rcar-gen4-gpio", .data = RCAR_GPIO_HAS_INEN },
        { /* sentinel */ }
 };