summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-rcar.c
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2017-06-21 16:27:09 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-06-29 14:22:38 +0200
commit85bb4646f8908eb786dfa19a6bb2ff1423dc8aa4 (patch)
tree56098689fe7fa199baeaa30215158731749c568b /drivers/gpio/gpio-rcar.c
parentgpio: gpio-wcove: Fix GPIO control register offset calculation (diff)
downloadlinux-85bb4646f8908eb786dfa19a6bb2ff1423dc8aa4.tar.xz
linux-85bb4646f8908eb786dfa19a6bb2ff1423dc8aa4.zip
gpio: rcar: Add R8A7743 (RZ/G1M) support
Renesas RZ/G1M (R8A7743) SoC GPIO blocks are identical to the R-Car Gen2 family. Add support for its GPIO controllers. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Chris Paterson <chris.paterson2@renesas.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-rcar.c')
-rw-r--r--drivers/gpio/gpio-rcar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index 31ad288846af..4a1536a050bc 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -344,6 +344,10 @@ static const struct gpio_rcar_info gpio_rcar_info_gen2 = {
static const struct of_device_id gpio_rcar_of_table[] = {
{
+ .compatible = "renesas,gpio-r8a7743",
+ /* RZ/G1 GPIO is identical to R-Car Gen2. */
+ .data = &gpio_rcar_info_gen2,
+ }, {
.compatible = "renesas,gpio-r8a7790",
.data = &gpio_rcar_info_gen2,
}, {