Message ID | 1536660771-32278-4-git-send-email-biju.das@bp.renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | c3299eb2770b43471516666bd20f78ed5588f868 |
Delegated to: | Simon Horman |
Headers | show |
Series | Add RZ/G1N support. | expand |
On Tue, Sep 11, 2018 at 11:12:44AM +0100, Biju Das wrote: > Add support for RZ/G1N (R8A7744) SoC power areas to the R-Car SYSC driver. > > Signed-off-by: Biju Das <biju.das@bp.renesas.com> > Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Thanks, This looks fine to me but I will wait to see if there are other reviews before applying. Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
On Tue, Sep 11, 2018 at 12:19 PM Biju Das <biju.das@bp.renesas.com> wrote: > Add support for RZ/G1N (R8A7744) SoC power areas to the R-Car SYSC driver. > > 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> Gr{oetje,eeting}s, Geert
diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 00d4c9d..a3a34d2 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -6,7 +6,7 @@ config SOC_RENESAS ARCH_R8A774A1 || ARCH_R8A7795 || ARCH_R8A7796 || \ ARCH_R8A77965 || ARCH_R8A77970 || ARCH_R8A77980 || \ ARCH_R8A77990 || ARCH_R8A77995 - select SYSC_R8A7743 if ARCH_R8A7743 + select SYSC_R8A7743 if ARCH_R8A7743 || ARCH_R8A7744 select SYSC_R8A7745 if ARCH_R8A7745 select SYSC_R8A77470 if ARCH_R8A77470 select SYSC_R8A774A1 if ARCH_R8A774A1 diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index fe32f7a..4d8eee4 100644 --- a/drivers/soc/renesas/rcar-sysc.c +++ b/drivers/soc/renesas/rcar-sysc.c @@ -268,6 +268,8 @@ static int __init rcar_sysc_pd_setup(struct rcar_sysc_pd *pd) static const struct of_device_id rcar_sysc_matches[] __initconst = { #ifdef CONFIG_SYSC_R8A7743 { .compatible = "renesas,r8a7743-sysc", .data = &r8a7743_sysc_info }, + /* RZ/G1N is identical to RZ/G2M w.r.t. power domains. */ + { .compatible = "renesas,r8a7744-sysc", .data = &r8a7743_sysc_info }, #endif #ifdef CONFIG_SYSC_R8A7745 { .compatible = "renesas,r8a7745-sysc", .data = &r8a7745_sysc_info },