# SPDX-License-Identifier: GPL-2.0
config [31mCONFIG_CLK_RENESAS[0m
bool "Renesas SoC clock support" if [31mCONFIG_COMPILE_TEST[0m && ![31mCONFIG_ARCH_RENESAS[0m
default y if [31mCONFIG_ARCH_RENESAS[0m
select [31mCONFIG_CLK_EMEV2[0m if [31mCONFIG_ARCH_EMEV2[0m
select [31mCONFIG_CLK_RZA1[0m if [31mCONFIG_ARCH_R7S72100[0m
select [31mCONFIG_CLK_R7S9210[0m if [31mCONFIG_ARCH_R7S9210[0m
select [31mCONFIG_CLK_R8A73A4[0m if [31mCONFIG_ARCH_R8A73A4[0m
select [31mCONFIG_CLK_R8A7740[0m if [31mCONFIG_ARCH_R8A7740[0m
select [31mCONFIG_CLK_R8A7743[0m if [31mCONFIG_ARCH_R8A7743[0m || [31mCONFIG_ARCH_R8A7744[0m
select [31mCONFIG_CLK_R8A7745[0m if [31mCONFIG_ARCH_R8A7745[0m
select [31mCONFIG_CLK_R8A77470[0m if [31mCONFIG_ARCH_R8A77470[0m
select [31mCONFIG_CLK_R8A774A1[0m if [31mCONFIG_ARCH_R8A774A1[0m
select [31mCONFIG_CLK_R8A774C0[0m if [31mCONFIG_ARCH_R8A774C0[0m
select [31mCONFIG_CLK_R8A7778[0m if [31mCONFIG_ARCH_R8A7778[0m
select [31mCONFIG_CLK_R8A7779[0m if [31mCONFIG_ARCH_R8A7779[0m
select [31mCONFIG_CLK_R8A7790[0m if [31mCONFIG_ARCH_R8A7790[0m
select [31mCONFIG_CLK_R8A7791[0m if [31mCONFIG_ARCH_R8A7791[0m || [31mCONFIG_ARCH_R8A7793[0m
select [31mCONFIG_CLK_R8A7792[0m if [31mCONFIG_ARCH_R8A7792[0m
select [31mCONFIG_CLK_R8A7794[0m if [31mCONFIG_ARCH_R8A7794[0m
select [31mCONFIG_CLK_R8A7795[0m if [31mCONFIG_ARCH_R8A7795[0m
select [31mCONFIG_CLK_R8A7796[0m if [31mCONFIG_ARCH_R8A7796[0m
select [31mCONFIG_CLK_R8A77965[0m if [31mCONFIG_ARCH_R8A77965[0m
select [31mCONFIG_CLK_R8A77970[0m if [31mCONFIG_ARCH_R8A77970[0m
select [31mCONFIG_CLK_R8A77980[0m if [31mCONFIG_ARCH_R8A77980[0m
select [31mCONFIG_CLK_R8A77990[0m if [31mCONFIG_ARCH_R8A77990[0m
select [31mCONFIG_CLK_R8A77995[0m if [31mCONFIG_ARCH_R8A77995[0m
select [31mCONFIG_CLK_R9A06G032[0m if [31mCONFIG_ARCH_R9A06G032[0m
select [31mCONFIG_CLK_SH73A0[0m if [31mCONFIG_ARCH_SH73A0[0m
if [31mCONFIG_CLK_RENESAS[0m
config [31mCONFIG_CLK_RENESAS_LEGACY[0m
bool "Legacy DT clock support"
depends on [31mCONFIG_CLK_R8A7790[0m || [31mCONFIG_CLK_R8A7791[0m || [31mCONFIG_CLK_R8A7792[0m || [31mCONFIG_CLK_R8A7794[0m
help
Enable backward compatibility with old device trees describing a
hierarchical representation of the various CPG and MSTP clocks.
Say Y if you want your kernel to work with old DTBs.
It is safe to say N if you use the DTS that is supplied with the
current kernel source tree.
# SoC
config [31mCONFIG_CLK_EMEV2[0m
bool "Emma Mobile EV2 clock support" if [31mCONFIG_COMPILE_TEST[0m
config [31mCONFIG_CLK_RZA1[0m
bool "RZ/A1H clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSTP[0m
config [31mCONFIG_CLK_R7S9210[0m
bool "RZ/A2 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSSR[0m
config [31mCONFIG_CLK_R8A73A4[0m
bool "R-Mobile APE6 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSTP[0m
select [31mCONFIG_CLK_RENESAS_DIV6[0m
config [31mCONFIG_CLK_R8A7740[0m
bool "R-Mobile A1 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSTP[0m
select [31mCONFIG_CLK_RENESAS_DIV6[0m
config [31mCONFIG_CLK_R8A7743[0m
bool "RZ/G1M clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN2_CPG[0m
config [31mCONFIG_CLK_R8A7745[0m
bool "RZ/G1E clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN2_CPG[0m
config [31mCONFIG_CLK_R8A77470[0m
bool "RZ/G1C clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN2_CPG[0m
config [31mCONFIG_CLK_R8A774A1[0m
bool "RZ/G2M clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R8A774C0[0m
bool "RZ/G2E clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R8A7778[0m
bool "R-Car M1A clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSTP[0m
config [31mCONFIG_CLK_R8A7779[0m
bool "R-Car H1 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSTP[0m
config [31mCONFIG_CLK_R8A7790[0m
bool "R-Car H2 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN2[0m if [31mCONFIG_CLK_RENESAS_LEGACY[0m
select [31mCONFIG_CLK_RCAR_GEN2_CPG[0m
select [31mCONFIG_CLK_RENESAS_DIV6[0m
config [31mCONFIG_CLK_R8A7791[0m
bool "R-Car M2-W/N clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN2[0m if [31mCONFIG_CLK_RENESAS_LEGACY[0m
select [31mCONFIG_CLK_RCAR_GEN2_CPG[0m
select [31mCONFIG_CLK_RENESAS_DIV6[0m
config [31mCONFIG_CLK_R8A7792[0m
bool "R-Car V2H clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN2[0m if [31mCONFIG_CLK_RENESAS_LEGACY[0m
select [31mCONFIG_CLK_RCAR_GEN2_CPG[0m
config [31mCONFIG_CLK_R8A7794[0m
bool "R-Car E2 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN2[0m if [31mCONFIG_CLK_RENESAS_LEGACY[0m
select [31mCONFIG_CLK_RCAR_GEN2_CPG[0m
select [31mCONFIG_CLK_RENESAS_DIV6[0m
config [31mCONFIG_CLK_R8A7795[0m
bool "R-Car H3 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R8A7796[0m
bool "R-Car M3-W clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R8A77965[0m
bool "R-Car M3-N clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R8A77970[0m
bool "R-Car V3M clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R8A77980[0m
bool "R-Car V3H clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R8A77990[0m
bool "R-Car E3 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R8A77995[0m
bool "R-Car D3 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
config [31mCONFIG_CLK_R9A06G032[0m
bool "Renesas R9A06G032 clock driver"
help
This is a driver for R9A06G032 clocks
config [31mCONFIG_CLK_SH73A0[0m
bool "SH-Mobile AG5 clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSTP[0m
select [31mCONFIG_CLK_RENESAS_DIV6[0m
# Family
config [31mCONFIG_CLK_RCAR_GEN2[0m
bool "R-Car Gen2 legacy clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSTP[0m
select [31mCONFIG_CLK_RENESAS_DIV6[0m
config [31mCONFIG_CLK_RCAR_GEN2_CPG[0m
bool "R-Car Gen2 CPG clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSSR[0m
config [31mCONFIG_CLK_RCAR_GEN3_CPG[0m
bool "R-Car Gen3 CPG clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_CPG_MSSR[0m
config [31mCONFIG_CLK_RCAR_USB2_CLOCK_SEL[0m
bool "Renesas R-Car USB2 clock selector support"
depends on [31mCONFIG_ARCH_RENESAS[0m || [31mCONFIG_COMPILE_TEST[0m
help
This is a driver for R-Car USB2 clock selector
# Generic
config [31mCONFIG_CLK_RENESAS_CPG_MSSR[0m
bool "CPG/MSSR clock support" if [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_CLK_RENESAS_DIV6[0m
config [31mCONFIG_CLK_RENESAS_CPG_MSTP[0m
bool "MSTP clock support" if [31mCONFIG_COMPILE_TEST[0m
config [31mCONFIG_CLK_RENESAS_DIV6[0m
bool "DIV6 clock support" if [31mCONFIG_COMPILE_TEST[0m
endif # [31mCONFIG_CLK_RENESAS[0m