]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpio: rcar: Add r8a7795 (R-Car H3) support
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Tue, 21 Jul 2015 09:08:50 +0000 (11:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 12:51:40 +0000 (14:51 +0200)
R-Car Gen3's GPIO blocks are identical to Gen2's in every respect.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
drivers/gpio/gpio-rcar.c

index 38fb86f28ba2ce1c6a364b47c0ba38e38632a39c..f60e2f477e93ca18ab3c6ef16375659f99eb8f0b 100644 (file)
@@ -9,6 +9,7 @@ Required Properties:
     - "renesas,gpio-r8a7791": for R8A7791 (R-Car M2-W) compatible GPIO controller.
     - "renesas,gpio-r8a7793": for R8A7793 (R-Car M2-N) compatible GPIO controller.
     - "renesas,gpio-r8a7794": for R8A7794 (R-Car E2) compatible GPIO controller.
+    - "renesas,gpio-r8a7795": for R8A7795 (R-Car H3) compatible GPIO controller.
     - "renesas,gpio-rcar": for generic R-Car GPIO controller.
 
   - reg: Base address and length of each memory resource used by the GPIO
index 4fc13ce9c60adc982c6d3ed3004e5dcee5c40538..2a81224446145d62dcbd5befa1ad9e4f82ce66a7 100644 (file)
@@ -341,6 +341,10 @@ static const struct of_device_id gpio_rcar_of_table[] = {
        }, {
                .compatible = "renesas,gpio-r8a7794",
                .data = &gpio_rcar_info_gen2,
+       }, {
+               .compatible = "renesas,gpio-r8a7795",
+               /* Gen3 GPIO is identical to Gen2. */
+               .data = &gpio_rcar_info_gen2,
        }, {
                .compatible = "renesas,gpio-rcar",
                .data = &gpio_rcar_info_gen1,