]> git.karo-electronics.de Git - linux-beck.git/commitdiff
soc: renesas: rcar-sysc: Add support for R-Car M2-N power areas
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 20 Apr 2016 12:02:44 +0000 (14:02 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 25 Apr 2016 23:56:37 +0000 (09:56 +1000)
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>
drivers/soc/renesas/Makefile
drivers/soc/renesas/rcar-sysc.c

index 96463c05ee594335857b4a50e930bf3da98c3cc2..c6c4ce7ef8a145ea004752284bd56e56f82dd61d 100644 (file)
@@ -1,5 +1,6 @@
 obj-$(CONFIG_ARCH_R8A7779)     += rcar-sysc.o r8a7779-sysc.o
 obj-$(CONFIG_ARCH_R8A7790)     += rcar-sysc.o r8a7790-sysc.o
 obj-$(CONFIG_ARCH_R8A7791)     += rcar-sysc.o r8a7791-sysc.o
-obj-$(CONFIG_ARCH_R8A7793)     += rcar-sysc.o
+# R-Car M2-N is identical to R-Car M2-W w.r.t. power domains.
+obj-$(CONFIG_ARCH_R8A7793)     += rcar-sysc.o r8a7791-sysc.o
 obj-$(CONFIG_ARCH_R8A7794)     += rcar-sysc.o
index 5b70b93a2aa710b2443a5a06eb0e99d82e1828e3..d8eaf8b2ee202ba182018f84a779bd5316bfcd12 100644 (file)
@@ -292,6 +292,10 @@ static const struct of_device_id rcar_sysc_matches[] = {
 #endif
 #ifdef CONFIG_ARCH_R8A7791
        { .compatible = "renesas,r8a7791-sysc", .data = &r8a7791_sysc_info },
+#endif
+#ifdef CONFIG_ARCH_R8A7793
+       /* R-Car M2-N is identical to R-Car M2-W w.r.t. power domains. */
+       { .compatible = "renesas,r8a7793-sysc", .data = &r8a7791_sysc_info },
 #endif
        { /* sentinel */ }
 };