diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-04-20 08:02:44 -0400 |
|---|---|---|
| committer | Simon Horman <horms+renesas@verge.net.au> | 2016-04-25 19:56:37 -0400 |
| commit | a247eb93ef73b56aab68c47608245e2b4a713585 (patch) | |
| tree | c4a15a404a489c12d973ec7670e6f346aa86ecf4 | |
| parent | c5fbb3c08897c8941852e9096f8507785d8a18f2 (diff) | |
soc: renesas: rcar-sysc: Add support for R-Car M2-N power areas
R-Car M2-N is identical to R-Car M2-W w.r.t. power domains, so reuse the
definitions from the latter.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
| -rw-r--r-- | drivers/soc/renesas/Makefile | 3 | ||||
| -rw-r--r-- | drivers/soc/renesas/rcar-sysc.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/soc/renesas/Makefile b/drivers/soc/renesas/Makefile index 96463c05ee59..c6c4ce7ef8a1 100644 --- a/drivers/soc/renesas/Makefile +++ b/drivers/soc/renesas/Makefile | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | obj-$(CONFIG_ARCH_R8A7779) += rcar-sysc.o r8a7779-sysc.o | 1 | obj-$(CONFIG_ARCH_R8A7779) += rcar-sysc.o r8a7779-sysc.o |
| 2 | obj-$(CONFIG_ARCH_R8A7790) += rcar-sysc.o r8a7790-sysc.o | 2 | obj-$(CONFIG_ARCH_R8A7790) += rcar-sysc.o r8a7790-sysc.o |
| 3 | obj-$(CONFIG_ARCH_R8A7791) += rcar-sysc.o r8a7791-sysc.o | 3 | obj-$(CONFIG_ARCH_R8A7791) += rcar-sysc.o r8a7791-sysc.o |
| 4 | obj-$(CONFIG_ARCH_R8A7793) += rcar-sysc.o | 4 | # R-Car M2-N is identical to R-Car M2-W w.r.t. power domains. |
| 5 | obj-$(CONFIG_ARCH_R8A7793) += rcar-sysc.o r8a7791-sysc.o | ||
| 5 | obj-$(CONFIG_ARCH_R8A7794) += rcar-sysc.o | 6 | obj-$(CONFIG_ARCH_R8A7794) += rcar-sysc.o |
diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index 5b70b93a2aa7..d8eaf8b2ee20 100644 --- a/drivers/soc/renesas/rcar-sysc.c +++ b/drivers/soc/renesas/rcar-sysc.c | |||
| @@ -293,6 +293,10 @@ static const struct of_device_id rcar_sysc_matches[] = { | |||
| 293 | #ifdef CONFIG_ARCH_R8A7791 | 293 | #ifdef CONFIG_ARCH_R8A7791 |
| 294 | { .compatible = "renesas,r8a7791-sysc", .data = &r8a7791_sysc_info }, | 294 | { .compatible = "renesas,r8a7791-sysc", .data = &r8a7791_sysc_info }, |
| 295 | #endif | 295 | #endif |
| 296 | #ifdef CONFIG_ARCH_R8A7793 | ||
| 297 | /* R-Car M2-N is identical to R-Car M2-W w.r.t. power domains. */ | ||
| 298 | { .compatible = "renesas,r8a7793-sysc", .data = &r8a7791_sysc_info }, | ||
| 299 | #endif | ||
| 296 | { /* sentinel */ } | 300 | { /* sentinel */ } |
| 297 | }; | 301 | }; |
| 298 | 302 | ||
