soc: renesas: rcar-rst: Add support for R-Car D3
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 20 Jul 2017 12:34:54 +0000 (14:34 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 27 Jul 2017 15:08:28 +0000 (17:08 +0200)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
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 fe5e0f37b3c935794428cbe950e50dde3628ac89..e5a03ffe04fb2af74ed41b7aa36aee284edc437a 100644 (file)
@@ -26,6 +26,7 @@ Required properties:
                  - "renesas,r8a7794-rst" (R-Car E2)
                  - "renesas,r8a7795-rst" (R-Car H3)
                  - "renesas,r8a7796-rst" (R-Car M3-W)
+                 - "renesas,r8a77995-rst" (R-Car D3)
   - reg: Address start and address range for the device.
 
 
index 680a5a29837b42d4d2957abf8932cbddd3aafce1..567414cb42ba20757ed1590d458ec826593314cd 100644 (file)
@@ -3,7 +3,7 @@ config SOC_RENESAS
        default y if ARCH_RENESAS
        select SOC_BUS
        select RST_RCAR if ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || \
-                          ARCH_R8A7795 || ARCH_R8A7796
+                          ARCH_R8A7795 || ARCH_R8A7796 || ARCH_R8A77995
        select SYSC_R8A7743 if ARCH_R8A7743
        select SYSC_R8A7745 if ARCH_R8A7745
        select SYSC_R8A7779 if ARCH_R8A7779
index a6d1c26d31675cf36ebc311a17a993704e0af688..d27d0abe6c2aa5ebfe00c4bd24c19bf463376dbc 100644 (file)
@@ -41,6 +41,7 @@ static const struct of_device_id rcar_rst_matches[] __initconst = {
        /* R-Car Gen3 is handled like R-Car Gen2 */
        { .compatible = "renesas,r8a7795-rst", .data = &rcar_rst_gen2 },
        { .compatible = "renesas,r8a7796-rst", .data = &rcar_rst_gen2 },
+       { .compatible = "renesas,r8a77995-rst", .data = &rcar_rst_gen2 },
        { /* sentinel */ }
 };