aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHai Pham <hai.pham.ud@renesas.com>2023-02-28 22:23:07 +0100
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-04-07 14:33:50 +0200
commita5c7613e6135357f98ddc6d947f5e44c75790f2a (patch)
tree560c824b8c12d06c5a9022b0a594aff0aeeaf768
parent5a3b074255df037c10e02ce1134a1b605cf7611f (diff)
downloadu-boot-a5c7613e6135357f98ddc6d947f5e44c75790f2a.zip
u-boot-a5c7613e6135357f98ddc6d947f5e44c75790f2a.tar.gz
u-boot-a5c7613e6135357f98ddc6d947f5e44c75790f2a.tar.bz2
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 <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>
-rw-r--r--drivers/gpio/gpio-rcar.c1
1 files changed, 1 insertions, 0 deletions
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 */ }
};