soc: renesas: rcar-rst: add R8A77980 support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 2 Feb 2018 18:27:01 +0000 (21:27 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 12 Feb 2018 12:50:37 +0000 (13:50 +0100)
Add support for R-Car V3H (R8A77980) to the R-Car RST driver -- this driver
is needed for the clock driver to work.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Documentation/devicetree/bindings/reset/renesas,rst.txt
drivers/soc/renesas/Kconfig
drivers/soc/renesas/rcar-rst.c

index a8014f3ab8ba19afb5989b369403a2f5b42bcc40..a55b88658446d59c4ed4d6b8b0d34fa56058ebd6 100644 (file)
@@ -27,6 +27,7 @@ Required properties:
                  - "renesas,r8a7795-rst" (R-Car H3)
                  - "renesas,r8a7796-rst" (R-Car M3-W)
                  - "renesas,r8a77970-rst" (R-Car V3M)
+                 - "renesas,r8a77980-rst" (R-Car V3H)
                  - "renesas,r8a77995-rst" (R-Car D3)
   - reg: Address start and address range for the device.
 
index 09550b1da56d60199bea919f5716f8eb1cd0dd92..6efd7bef85778b52a11ae6d8ce88592d7023e551 100644 (file)
@@ -4,7 +4,7 @@ config SOC_RENESAS
        select SOC_BUS
        select RST_RCAR if ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || \
                           ARCH_R8A7795 || ARCH_R8A7796 || ARCH_R8A77970 || \
-                          ARCH_R8A77995
+                          ARCH_R8A77980 || ARCH_R8A77995
        select SYSC_R8A7743 if ARCH_R8A7743
        select SYSC_R8A7745 if ARCH_R8A7745
        select SYSC_R8A7779 if ARCH_R8A7779
index 3316b028f2313a4c01fe1ac5cd829bc9d8692407..e2340eb9ea9cf3c7e97661c85f46a8103f11051e 100644 (file)
@@ -42,6 +42,7 @@ static const struct of_device_id rcar_rst_matches[] __initconst = {
        { .compatible = "renesas,r8a7795-rst", .data = &rcar_rst_gen2 },
        { .compatible = "renesas,r8a7796-rst", .data = &rcar_rst_gen2 },
        { .compatible = "renesas,r8a77970-rst", .data = &rcar_rst_gen2 },
+       { .compatible = "renesas,r8a77980-rst", .data = &rcar_rst_gen2 },
        { .compatible = "renesas,r8a77995-rst", .data = &rcar_rst_gen2 },
        { /* sentinel */ }
 };