]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
gpio: rcar: Add r8a7796 (R-Car M3-W) support
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 6 Sep 2016 10:35:39 +0000 (12:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Sep 2016 23:15:46 +0000 (01:15 +0200)
R-Car Gen3's GPIO blocks are identical to Gen2's in every respect.

Based on work for the r8a7795 (R-Car H3) by Ulrich Hecht.

Cc: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
drivers/gpio/gpio-rcar.c

index 8da26b35b5c3c8857a6ebb4dec71bf32e83d8b57..7c1ab3b3254f44f51b10e0d9ffeaba6fbd1af006 100644 (file)
@@ -11,6 +11,7 @@ Required Properties:
     - "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-r8a7796": for R8A7796 (R-Car M3-W) 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 b96e0b466f742ea2930ee0d2d79774f0ce903c32..2be48f5eba361af18817c8124dcc6637d1cff419 100644 (file)
@@ -347,6 +347,10 @@ static const struct of_device_id gpio_rcar_of_table[] = {
                .compatible = "renesas,gpio-r8a7795",
                /* Gen3 GPIO is identical to Gen2. */
                .data = &gpio_rcar_info_gen2,
+       }, {
+               .compatible = "renesas,gpio-r8a7796",
+               /* Gen3 GPIO is identical to Gen2. */
+               .data = &gpio_rcar_info_gen2,
        }, {
                .compatible = "renesas,gpio-rcar",
                .data = &gpio_rcar_info_gen1,