Add Clock driver support for RZ/G2[HN] SoC's
Subsystems (4)
v3 cover Add Clock driver support for RZ/G2[HN] SoC's
Add Clock driver support for RZ/G2[HN] SoC's.
This patches are based on u-boot-sh master.
Biju Das (2):
clk: renesas: Add R8A774B1 clock tables
clk: renesas: Add R8A774E1 clock tables
arch/arm/mach-rmobile/Kconfig.64 | 2 + drivers/clk/renesas/Kconfig | 12 + drivers/clk/renesas/Makefile | 2 + drivers/clk/renesas/r8a774b1-cpg-mssr.c | 336 ++++++++++++++++++++++ drivers/clk/renesas/r8a774e1-cpg-mssr.c | 358 ++++++++++++++++++++++++ 5 files changed, 710 insertions(+) create mode 100644 drivers/clk/renesas/r8a774b1-cpg-mssr.c create mode 100644 drivers/clk/renesas/r8a774e1-cpg-mssr.c
Signature · 1 line
2.17.1
PATCH v3 1/2 clk: renesas: Add R8A774B1 clock tables
This sync's the RZ/G2N clock tables with mainline linux 5.9 commit bbf5c979011a ("Linux 5.9").
---
V2->V3
* Synced with Linux 5.9.
* Updated commit message.
V1->V2
* Rebased to u-boot-sh master.
--- arch/arm/mach-rmobile/Kconfig.64 | 1 + drivers/clk/renesas/Kconfig | 6 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/r8a774b1-cpg-mssr.c | 336 ++++++++++++++++++++++++ 4 files changed, 344 insertions(+) create mode 100644 drivers/clk/renesas/r8a774b1-cpg-mssr.c
arch/arm/mach-rmobile/Kconfig.64 +1 -0
@@ -7,6 +7,7 @@ config R8A774A1 config R8A774B1 bool "Renesas SoC R8A774B1" + imply CLK_R8A774B1 config R8A774E1 bool "Renesas SoC R8A774E1"
drivers/clk/renesas/Kconfig +6 -0
@@ -55,6 +55,12 @@ config CLK_R8A774A1 help Enable this to support the clocks on Renesas R8A774A1 SoC. +config CLK_R8A774B1 + bool "Renesas R8A774B1 clock driver" + depends on CLK_RCAR_GEN3 + help + Enable this to support the clocks on Renesas R8A774B1 SoC. + config CLK_R8A7795 bool "Renesas R8A7795 clock driver" depends on CLK_RCAR_GEN3
drivers/clk/renesas/Makefile +1 -0
@@ -1,6 +1,7 @@ obj-$(CONFIG_CLK_RENESAS) += renesas-cpg-mssr.o obj-$(CONFIG_CLK_RCAR_GEN2) += clk-rcar-gen2.o obj-$(CONFIG_CLK_R8A774A1) += r8a774a1-cpg-mssr.o +obj-$(CONFIG_CLK_R8A774B1) += r8a774b1-cpg-mssr.o obj-$(CONFIG_CLK_R8A7790) += r8a7790-cpg-mssr.o obj-$(CONFIG_CLK_R8A7791) += r8a7791-cpg-mssr.o obj-$(CONFIG_CLK_R8A7792) += r8a7792-cpg-mssr.o
drivers/clk/renesas/r8a774b1-cpg-mssr.c new file +336 -0
336 lines not on this page · raw message
Signature · 1 line
2.17.1
Marek Vasut
AppliedPATCH v3 1/2 clk: renesas: Add R8A774B1 clock tables
Quoted 2 lines · Biju Das
This sync's the RZ/G2N clock tables with mainline linux 5.9 commit
bbf5c979011a("Linux 5.9").
Applied, thanks.
PATCH v3 2/2 clk: renesas: Add R8A774E1 clock tables
In reply to Biju DasThis sync's the RZ/G2H clock tables with mainline linux 5.9 commit bbf5c979011a ("Linux 5.9").
---
V2->V3
* Synced with Linux 5.9.
* Updated commit message.
V1->V2
* Rebased to u-boot-sh master.
--- arch/arm/mach-rmobile/Kconfig.64 | 1 + drivers/clk/renesas/Kconfig | 6 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/r8a774e1-cpg-mssr.c | 358 ++++++++++++++++++++++++ 4 files changed, 366 insertions(+) create mode 100644 drivers/clk/renesas/r8a774e1-cpg-mssr.c
arch/arm/mach-rmobile/Kconfig.64 +1 -0
@@ -11,6 +11,7 @@ config R8A774B1 config R8A774E1 bool "Renesas SoC R8A774E1" + imply CLK_R8A774E1 config R8A7795 bool "Renesas SoC R8A7795"
drivers/clk/renesas/Kconfig +6 -0
@@ -61,6 +61,12 @@ config CLK_R8A774B1 help Enable this to support the clocks on Renesas R8A774B1 SoC. +config CLK_R8A774E1 + bool "Renesas R8A774E1 clock driver" + depends on CLK_RCAR_GEN3 + help + Enable this to support the clocks on Renesas R8A774E1 SoC. + config CLK_R8A7795 bool "Renesas R8A7795 clock driver" depends on CLK_RCAR_GEN3
drivers/clk/renesas/Makefile +1 -0
@@ -2,6 +2,7 @@ obj-$(CONFIG_CLK_RENESAS) += renesas-cpg-mssr.o obj-$(CONFIG_CLK_RCAR_GEN2) += clk-rcar-gen2.o obj-$(CONFIG_CLK_R8A774A1) += r8a774a1-cpg-mssr.o obj-$(CONFIG_CLK_R8A774B1) += r8a774b1-cpg-mssr.o +obj-$(CONFIG_CLK_R8A774E1) += r8a774e1-cpg-mssr.o obj-$(CONFIG_CLK_R8A7790) += r8a7790-cpg-mssr.o obj-$(CONFIG_CLK_R8A7791) += r8a7791-cpg-mssr.o obj-$(CONFIG_CLK_R8A7792) += r8a7792-cpg-mssr.o
drivers/clk/renesas/r8a774e1-cpg-mssr.c new file +358 -0
358 lines not on this page · raw message
Signature · 1 line
2.17.1
Marek Vasut
AppliedPATCH v3 2/2 clk: renesas: Add R8A774E1 clock tables
Quoted 2 lines · Biju Das
This sync's the RZ/G2H clock tables with mainline linux 5.9 commit
bbf5c979011a("Linux 5.9").
Applied, thanks.