2018-09-25 09:34:05 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
config CLK_RENESAS
|
|
|
|
bool "Renesas SoC clock support" if COMPILE_TEST && !ARCH_RENESAS
|
|
|
|
default y if ARCH_RENESAS
|
|
|
|
select CLK_EMEV2 if ARCH_EMEV2
|
|
|
|
select CLK_RZA1 if ARCH_R7S72100
|
2018-09-07 11:58:49 -05:00
|
|
|
select CLK_R7S9210 if ARCH_R7S9210
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_R8A73A4 if ARCH_R8A73A4
|
|
|
|
select CLK_R8A7740 if ARCH_R8A7740
|
2020-04-27 15:41:00 +01:00
|
|
|
select CLK_R8A7742 if ARCH_R8A7742
|
2018-09-11 11:12:49 +01:00
|
|
|
select CLK_R8A7743 if ARCH_R8A7743 || ARCH_R8A7744
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_R8A7745 if ARCH_R8A7745
|
2018-03-28 20:26:12 +01:00
|
|
|
select CLK_R8A77470 if ARCH_R8A77470
|
2018-08-02 15:57:51 +01:00
|
|
|
select CLK_R8A774A1 if ARCH_R8A774A1
|
2019-09-19 09:17:14 +01:00
|
|
|
select CLK_R8A774B1 if ARCH_R8A774B1
|
2018-09-12 11:41:53 +01:00
|
|
|
select CLK_R8A774C0 if ARCH_R8A774C0
|
2020-07-07 17:18:10 +01:00
|
|
|
select CLK_R8A774E1 if ARCH_R8A774E1
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_R8A7778 if ARCH_R8A7778
|
|
|
|
select CLK_R8A7779 if ARCH_R8A7779
|
|
|
|
select CLK_R8A7790 if ARCH_R8A7790
|
|
|
|
select CLK_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793
|
|
|
|
select CLK_R8A7792 if ARCH_R8A7792
|
|
|
|
select CLK_R8A7794 if ARCH_R8A7794
|
2023-02-02 10:23:31 +01:00
|
|
|
select CLK_R8A7795 if ARCH_R8A77951
|
2019-12-11 11:02:20 +01:00
|
|
|
select CLK_R8A77960 if ARCH_R8A77960
|
2019-10-23 14:29:41 +02:00
|
|
|
select CLK_R8A77961 if ARCH_R8A77961
|
2018-02-20 16:12:03 +01:00
|
|
|
select CLK_R8A77965 if ARCH_R8A77965
|
2017-09-09 00:34:20 +03:00
|
|
|
select CLK_R8A77970 if ARCH_R8A77970
|
2018-02-15 14:58:45 +03:00
|
|
|
select CLK_R8A77980 if ARCH_R8A77980
|
2018-04-20 21:27:44 +09:00
|
|
|
select CLK_R8A77990 if ARCH_R8A77990
|
2017-07-12 10:47:36 +02:00
|
|
|
select CLK_R8A77995 if ARCH_R8A77995
|
2020-09-11 16:43:51 +09:00
|
|
|
select CLK_R8A779A0 if ARCH_R8A779A0
|
2021-12-01 16:33:03 +09:00
|
|
|
select CLK_R8A779F0 if ARCH_R8A779F0
|
2022-04-28 22:50:56 +09:00
|
|
|
select CLK_R8A779G0 if ARCH_R8A779G0
|
2024-01-25 16:34:36 +01:00
|
|
|
select CLK_R8A779H0 if ARCH_R8A779H0
|
2018-06-14 11:56:34 +01:00
|
|
|
select CLK_R9A06G032 if ARCH_R9A06G032
|
2022-04-12 17:13:12 +01:00
|
|
|
select CLK_R9A07G043 if ARCH_R9A07G043
|
2021-06-09 16:32:28 +01:00
|
|
|
select CLK_R9A07G044 if ARCH_R9A07G044
|
2022-02-05 08:40:06 +00:00
|
|
|
select CLK_R9A07G054 if ARCH_R9A07G054
|
2023-10-06 13:39:59 +03:00
|
|
|
select CLK_R9A08G045 if ARCH_R9A08G045
|
2022-05-03 12:55:55 +01:00
|
|
|
select CLK_R9A09G011 if ARCH_R9A09G011
|
2024-12-13 12:35:41 +00:00
|
|
|
select CLK_R9A09G047 if ARCH_R9A09G047
|
2025-04-07 20:16:24 +01:00
|
|
|
select CLK_R9A09G056 if ARCH_R9A09G056
|
2024-07-29 21:26:45 +01:00
|
|
|
select CLK_R9A09G057 if ARCH_R9A09G057
|
2025-05-15 16:18:20 +02:00
|
|
|
select CLK_R9A09G077 if ARCH_R9A09G077
|
2025-06-17 16:57:57 +01:00
|
|
|
select CLK_R9A09G087 if ARCH_R9A09G087
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_SH73A0 if ARCH_SH73A0
|
|
|
|
|
|
|
|
if CLK_RENESAS
|
|
|
|
|
|
|
|
# SoC
|
|
|
|
config CLK_EMEV2
|
|
|
|
bool "Emma Mobile EV2 clock support" if COMPILE_TEST
|
|
|
|
|
|
|
|
config CLK_RZA1
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "RZ/A1H clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_CPG_MSTP
|
|
|
|
|
2018-09-07 11:58:49 -05:00
|
|
|
config CLK_R7S9210
|
|
|
|
bool "RZ/A2 clock support" if COMPILE_TEST
|
|
|
|
select CLK_RENESAS_CPG_MSSR
|
|
|
|
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
config CLK_R8A73A4
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Mobile APE6 clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_CPG_MSTP
|
|
|
|
select CLK_RENESAS_DIV6
|
|
|
|
|
|
|
|
config CLK_R8A7740
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Mobile A1 clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_CPG_MSTP
|
|
|
|
select CLK_RENESAS_DIV6
|
|
|
|
|
2020-04-27 15:41:00 +01:00
|
|
|
config CLK_R8A7742
|
|
|
|
bool "RZ/G1H clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN2_CPG
|
|
|
|
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
config CLK_R8A7743
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "RZ/G1M clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RCAR_GEN2_CPG
|
|
|
|
|
|
|
|
config CLK_R8A7745
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "RZ/G1E clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RCAR_GEN2_CPG
|
|
|
|
|
2018-03-28 20:26:12 +01:00
|
|
|
config CLK_R8A77470
|
|
|
|
bool "RZ/G1C clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN2_CPG
|
|
|
|
|
2018-08-02 15:57:51 +01:00
|
|
|
config CLK_R8A774A1
|
|
|
|
bool "RZ/G2M clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2019-09-19 09:17:14 +01:00
|
|
|
config CLK_R8A774B1
|
|
|
|
bool "RZ/G2N clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2018-09-12 11:41:53 +01:00
|
|
|
config CLK_R8A774C0
|
|
|
|
bool "RZ/G2E clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2020-07-07 17:18:10 +01:00
|
|
|
config CLK_R8A774E1
|
|
|
|
bool "RZ/G2H clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
config CLK_R8A7778
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car M1A clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_CPG_MSTP
|
|
|
|
|
|
|
|
config CLK_R8A7779
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car H1 clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_CPG_MSTP
|
|
|
|
|
|
|
|
config CLK_R8A7790
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car H2 clock support" if COMPILE_TEST
|
2017-03-19 18:05:42 +01:00
|
|
|
select CLK_RCAR_GEN2_CPG
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
|
|
|
|
config CLK_R8A7791
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car M2-W/N clock support" if COMPILE_TEST
|
2015-10-16 11:41:19 +02:00
|
|
|
select CLK_RCAR_GEN2_CPG
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
|
|
|
|
config CLK_R8A7792
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car V2H clock support" if COMPILE_TEST
|
2017-03-19 18:08:59 +01:00
|
|
|
select CLK_RCAR_GEN2_CPG
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
|
|
|
|
config CLK_R8A7794
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car E2 clock support" if COMPILE_TEST
|
2017-03-19 18:12:51 +01:00
|
|
|
select CLK_RCAR_GEN2_CPG
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
|
|
|
|
config CLK_R8A7795
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car H3 clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2019-10-23 14:29:40 +02:00
|
|
|
config CLK_R8A77960
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car M3-W clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2019-10-23 14:29:41 +02:00
|
|
|
config CLK_R8A77961
|
|
|
|
bool "R-Car M3-W+ clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2018-02-20 16:12:03 +01:00
|
|
|
config CLK_R8A77965
|
|
|
|
bool "R-Car M3-N clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2017-09-09 00:34:20 +03:00
|
|
|
config CLK_R8A77970
|
|
|
|
bool "R-Car V3M clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2018-02-15 14:58:45 +03:00
|
|
|
config CLK_R8A77980
|
|
|
|
bool "R-Car V3H clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2018-04-20 21:27:44 +09:00
|
|
|
config CLK_R8A77990
|
|
|
|
bool "R-Car E3 clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2017-07-12 10:47:36 +02:00
|
|
|
config CLK_R8A77995
|
|
|
|
bool "R-Car D3 clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN3_CPG
|
|
|
|
|
2020-09-11 16:43:51 +09:00
|
|
|
config CLK_R8A779A0
|
|
|
|
bool "R-Car V3U clock support" if COMPILE_TEST
|
2021-12-01 16:33:02 +09:00
|
|
|
select CLK_RCAR_GEN4_CPG
|
2020-09-11 16:43:51 +09:00
|
|
|
|
2021-12-01 16:33:03 +09:00
|
|
|
config CLK_R8A779F0
|
|
|
|
bool "R-Car S4-8 clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN4_CPG
|
|
|
|
|
2022-04-28 22:50:56 +09:00
|
|
|
config CLK_R8A779G0
|
|
|
|
bool "R-Car V4H clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN4_CPG
|
|
|
|
|
2024-01-25 16:34:36 +01:00
|
|
|
config CLK_R8A779H0
|
|
|
|
bool "R-Car V4M clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_GEN4_CPG
|
|
|
|
|
2018-06-14 11:56:34 +01:00
|
|
|
config CLK_R9A06G032
|
2021-08-11 11:06:40 +02:00
|
|
|
bool "RZ/N1D clock support" if COMPILE_TEST
|
2018-06-14 11:56:34 +01:00
|
|
|
|
2022-04-12 17:13:12 +01:00
|
|
|
config CLK_R9A07G043
|
|
|
|
bool "RZ/G2UL clock support" if COMPILE_TEST
|
|
|
|
select CLK_RZG2L
|
|
|
|
|
2021-06-09 16:32:28 +01:00
|
|
|
config CLK_R9A07G044
|
|
|
|
bool "RZ/G2L clock support" if COMPILE_TEST
|
|
|
|
select CLK_RZG2L
|
|
|
|
|
2022-02-05 08:40:06 +00:00
|
|
|
config CLK_R9A07G054
|
|
|
|
bool "RZ/V2L clock support" if COMPILE_TEST
|
|
|
|
select CLK_RZG2L
|
|
|
|
|
2023-10-06 13:39:59 +03:00
|
|
|
config CLK_R9A08G045
|
|
|
|
bool "RZ/G3S clock support" if COMPILE_TEST
|
|
|
|
select CLK_RZG2L
|
|
|
|
|
2022-05-03 12:55:55 +01:00
|
|
|
config CLK_R9A09G011
|
|
|
|
bool "RZ/V2M clock support" if COMPILE_TEST
|
|
|
|
select CLK_RZG2L
|
|
|
|
|
2024-12-13 12:35:41 +00:00
|
|
|
config CLK_R9A09G047
|
|
|
|
bool "RZ/G3E clock support" if COMPILE_TEST
|
|
|
|
select CLK_RZV2H
|
|
|
|
|
2025-04-07 20:16:24 +01:00
|
|
|
config CLK_R9A09G056
|
|
|
|
bool "RZ/V2N clock support" if COMPILE_TEST
|
|
|
|
select CLK_RZV2H
|
|
|
|
|
2024-07-29 21:26:45 +01:00
|
|
|
config CLK_R9A09G057
|
|
|
|
bool "RZ/V2H(P) clock support" if COMPILE_TEST
|
|
|
|
select CLK_RZV2H
|
|
|
|
|
2025-05-15 16:18:20 +02:00
|
|
|
config CLK_R9A09G077
|
|
|
|
bool "RZ/T2H clock support" if COMPILE_TEST
|
|
|
|
select CLK_RENESAS_CPG_MSSR
|
|
|
|
|
2025-06-17 16:57:57 +01:00
|
|
|
config CLK_R9A09G087
|
|
|
|
bool "RZ/N2H clock support" if COMPILE_TEST
|
|
|
|
select CLK_RENESAS_CPG_MSSR
|
|
|
|
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
config CLK_SH73A0
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "SH-Mobile AG5 clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_CPG_MSTP
|
|
|
|
select CLK_RENESAS_DIV6
|
|
|
|
|
|
|
|
|
|
|
|
# Family
|
2020-12-27 18:41:57 +01:00
|
|
|
config CLK_RCAR_CPG_LIB
|
|
|
|
bool "CPG/MSSR library functions" if COMPILE_TEST
|
|
|
|
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
config CLK_RCAR_GEN2_CPG
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "R-Car Gen2 CPG clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_CPG_MSSR
|
|
|
|
|
|
|
|
config CLK_RCAR_GEN3_CPG
|
2020-09-11 11:17:03 +01:00
|
|
|
bool "R-Car Gen3 and RZ/G2 CPG clock support" if COMPILE_TEST
|
2020-12-27 18:41:57 +01:00
|
|
|
select CLK_RCAR_CPG_LIB
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_CPG_MSSR
|
|
|
|
|
2021-12-01 16:33:02 +09:00
|
|
|
config CLK_RCAR_GEN4_CPG
|
|
|
|
bool "R-Car Gen4 clock support" if COMPILE_TEST
|
|
|
|
select CLK_RCAR_CPG_LIB
|
|
|
|
select CLK_RENESAS_CPG_MSSR
|
|
|
|
|
2017-07-25 15:26:27 +09:00
|
|
|
config CLK_RCAR_USB2_CLOCK_SEL
|
2024-06-12 09:25:55 +02:00
|
|
|
bool "R-Car USB2 clock selector support"
|
2017-07-25 15:26:27 +09:00
|
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
2020-03-04 15:42:17 +09:00
|
|
|
select RESET_CONTROLLER
|
2017-07-25 15:26:27 +09:00
|
|
|
help
|
|
|
|
This is a driver for R-Car USB2 clock selector
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
|
2021-06-09 16:32:27 +01:00
|
|
|
config CLK_RZG2L
|
2024-06-12 09:25:55 +02:00
|
|
|
bool "RZ/{G2L,G2UL,G3S,V2L} family clock support" if COMPILE_TEST
|
2021-06-09 16:32:27 +01:00
|
|
|
select RESET_CONTROLLER
|
|
|
|
|
2024-07-29 21:26:44 +01:00
|
|
|
config CLK_RZV2H
|
2024-12-13 12:35:41 +00:00
|
|
|
bool "RZ/{G3E,V2H(P)} family clock support" if COMPILE_TEST
|
2024-07-29 21:26:44 +01:00
|
|
|
select RESET_CONTROLLER
|
|
|
|
|
2024-11-01 11:57:14 +02:00
|
|
|
config CLK_RENESAS_VBATTB
|
|
|
|
tristate "Renesas VBATTB clock controller"
|
|
|
|
depends on ARCH_RZG2L || COMPILE_TEST
|
|
|
|
select RESET_CONTROLLER
|
|
|
|
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
# Generic
|
2016-04-13 11:08:42 +02:00
|
|
|
config CLK_RENESAS_CPG_MSSR
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "CPG/MSSR clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
select CLK_RENESAS_DIV6
|
2016-04-13 11:08:42 +02:00
|
|
|
|
|
|
|
config CLK_RENESAS_CPG_MSTP
|
2017-05-17 17:25:47 +02:00
|
|
|
bool "MSTP clock support" if COMPILE_TEST
|
clk: renesas: Rework Kconfig and Makefile logic
The goals are to:
- Allow precise control over and automatic selection of which
(sub)drivers are used for which SoC (which may change in the
future),
- Allow adding support for new SoCs easily,
- Allow compile-testing of all (sub)drivers,
- Keep driver selection logic in the subsystem-specific Kconfig,
independent from the architecture-specific Kconfig (i.e. no "select"
from arch/arm64/Kconfig.platforms), to avoid dependencies.
This is implemented by:
- Introducing Kconfig symbols for all drivers and sub-drivers,
- Introducing the Kconfig symbol CLK_RENESAS, which is enabled
automatically when building for a Renesas ARM platform, and which
enables all required drivers without interaction of the user, based
on SoC-specific ARCH_* symbols,
- Allowing the user to enable any Kconfig symbol manually if
COMPILE_TEST is enabled,
- Using the new Kconfig symbols instead of the ARCH_* symbols to
control compilation in the Makefile,
- Always entering drivers/clk/renesas/ during the build.
Note that currently not all (sub)drivers are enabled for
compile-testing, as they depend on independent fixes in other
subsystems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
2017-04-24 16:54:14 +02:00
|
|
|
|
|
|
|
config CLK_RENESAS_DIV6
|
|
|
|
bool "DIV6 clock support" if COMPILE_TEST
|
|
|
|
|
|
|
|
endif # CLK_RENESAS
|