| From 7b2840b2069e973b95dbcd87ef03ab44ec2ce0d3 Mon Sep 17 00:00:00 2001 |
| From: Biju Das <biju.das@bp.renesas.com> |
| Date: Tue, 27 Mar 2018 15:37:14 +0100 |
| Subject: [PATCH 1207/1795] soc: renesas: rcar-rst: Add support for RZ/G1C |
| |
| Signed-off-by: Biju Das <biju.das@bp.renesas.com> |
| Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> |
| Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit a3a9033f1193842c6e0b518db196ade0f882cf78) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| Documentation/devicetree/bindings/reset/renesas,rst.txt | 1 + |
| drivers/soc/renesas/rcar-rst.c | 1 + |
| 2 files changed, 2 insertions(+) |
| |
| diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt |
| index 294a0dae106a..7be61efc3c8a 100644 |
| --- a/Documentation/devicetree/bindings/reset/renesas,rst.txt |
| +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt |
| @@ -17,6 +17,7 @@ Required properties: |
| Examples with soctypes are: |
| - "renesas,r8a7743-rst" (RZ/G1M) |
| - "renesas,r8a7745-rst" (RZ/G1E) |
| + - "renesas,r8a77470-rst" (RZ/G1C) |
| - "renesas,r8a7778-reset-wdt" (R-Car M1A) |
| - "renesas,r8a7779-reset-wdt" (R-Car H1) |
| - "renesas,r8a7790-rst" (R-Car H2) |
| diff --git a/drivers/soc/renesas/rcar-rst.c b/drivers/soc/renesas/rcar-rst.c |
| index 8e9cb7996ab0..66d7dbac2ded 100644 |
| --- a/drivers/soc/renesas/rcar-rst.c |
| +++ b/drivers/soc/renesas/rcar-rst.c |
| @@ -44,6 +44,7 @@ static const struct of_device_id rcar_rst_matches[] __initconst = { |
| /* RZ/G is handled like R-Car Gen2 */ |
| { .compatible = "renesas,r8a7743-rst", .data = &rcar_rst_gen2 }, |
| { .compatible = "renesas,r8a7745-rst", .data = &rcar_rst_gen2 }, |
| + { .compatible = "renesas,r8a77470-rst", .data = &rcar_rst_gen2 }, |
| /* R-Car Gen1 */ |
| { .compatible = "renesas,r8a7778-reset-wdt", .data = &rcar_rst_gen1 }, |
| { .compatible = "renesas,r8a7779-reset-wdt", .data = &rcar_rst_gen1 }, |
| -- |
| 2.19.0 |
| |