From: Hai Pham Date: Tue, 28 Feb 2023 21:23:07 +0000 (+0100) Subject: gpio: renesas: Add R-Car Gen4 support X-Git-Tag: v2023.07~99^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5c7613e6135357f98ddc6d947f5e44c75790f2a;p=platform%2Fkernel%2Fu-boot.git gpio: renesas: Add R-Car Gen4 support 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 Signed-off-by: Hai Pham Signed-off-by: Marek Vasut --- diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index 1388018..9ffb4a5 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -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 */ } };