gpio: rcar: Add R8A7743 (RZ/G1M) support
authorBiju Das <biju.das@bp.renesas.com>
Wed, 21 Jun 2017 14:27:09 +0000 (15:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Jun 2017 12:22:38 +0000 (14:22 +0200)
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>
Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
drivers/gpio/gpio-rcar.c

index 7c1ab3b3254f44f51b10e0d9ffeaba6fbd1af006..6826a371fb696a13742aad215d0986702b69b330 100644 (file)
@@ -3,6 +3,7 @@
 Required Properties:
 
   - compatible: should contain one of the following.
+    - "renesas,gpio-r8a7743": for R8A7743 (RZ/G1M) compatible GPIO controller.
     - "renesas,gpio-r8a7778": for R8A7778 (R-Mobile M1) compatible GPIO controller.
     - "renesas,gpio-r8a7779": for R8A7779 (R-Car H1) compatible GPIO controller.
     - "renesas,gpio-r8a7790": for R8A7790 (R-Car H2) compatible GPIO controller.
index 31ad288846af6a91afbdc59e49c8365fe1721bf0..4a1536a050bcd586d4136a5f0a4e6d9cdfc7e1e0 100644 (file)
@@ -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,
        }, {