aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2017-06-21 10:27:09 -0400
committerLinus Walleij <linus.walleij@linaro.org>2017-06-29 08:22:38 -0400
commit85bb4646f8908eb786dfa19a6bb2ff1423dc8aa4 (patch)
tree56098689fe7fa199baeaa30215158731749c568b
parent3a02dc974720cdfcea7fde462bcfc12a180e410f (diff)
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>
-rw-r--r--Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt1
-rw-r--r--drivers/gpio/gpio-rcar.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
index 7c1ab3b3254f..6826a371fb69 100644
--- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
+++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt
@@ -3,6 +3,7 @@
3Required Properties: 3Required Properties:
4 4
5 - compatible: should contain one of the following. 5 - compatible: should contain one of the following.
6 - "renesas,gpio-r8a7743": for R8A7743 (RZ/G1M) compatible GPIO controller.
6 - "renesas,gpio-r8a7778": for R8A7778 (R-Mobile M1) compatible GPIO controller. 7 - "renesas,gpio-r8a7778": for R8A7778 (R-Mobile M1) compatible GPIO controller.
7 - "renesas,gpio-r8a7779": for R8A7779 (R-Car H1) compatible GPIO controller. 8 - "renesas,gpio-r8a7779": for R8A7779 (R-Car H1) compatible GPIO controller.
8 - "renesas,gpio-r8a7790": for R8A7790 (R-Car H2) compatible GPIO controller. 9 - "renesas,gpio-r8a7790": for R8A7790 (R-Car H2) compatible GPIO controller.
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 = {
344 344
345static const struct of_device_id gpio_rcar_of_table[] = { 345static const struct of_device_id gpio_rcar_of_table[] = {
346 { 346 {
347 .compatible = "renesas,gpio-r8a7743",
348 /* RZ/G1 GPIO is identical to R-Car Gen2. */
349 .data = &gpio_rcar_info_gen2,
350 }, {
347 .compatible = "renesas,gpio-r8a7790", 351 .compatible = "renesas,gpio-r8a7790",
348 .data = &gpio_rcar_info_gen2, 352 .data = &gpio_rcar_info_gen2,
349 }, { 353 }, {