clk: meson: clean-up meson clock configuration

Clean the dependencies in meson clock Kconfig.
CLK_AMLOGIC should actually select CLK_REGMAP_MESON which it uses. Also,
each platform should select CLK_AMLOGIC, so everything is properly turned
on when the platform Kconfig enable each configuration flag

Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
This commit is contained in:
Jerome Brunet 2018-05-22 18:34:52 +02:00
parent 60e267f3fd
commit 443f228578

View File

@ -1,13 +1,14 @@
config COMMON_CLK_AMLOGIC config COMMON_CLK_AMLOGIC
bool bool
depends on OF
depends on ARCH_MESON || COMPILE_TEST depends on ARCH_MESON || COMPILE_TEST
select COMMON_CLK_REGMAP_MESON
config COMMON_CLK_MESON_AO config COMMON_CLK_MESON_AO
bool bool
depends on OF depends on OF
depends on ARCH_MESON || COMPILE_TEST depends on ARCH_MESON || COMPILE_TEST
select COMMON_CLK_REGMAP_MESON select COMMON_CLK_REGMAP_MESON
select RESET_CONTROLLER
config COMMON_CLK_REGMAP_MESON config COMMON_CLK_REGMAP_MESON
bool bool
@ -15,9 +16,8 @@ config COMMON_CLK_REGMAP_MESON
config COMMON_CLK_MESON8B config COMMON_CLK_MESON8B
bool bool
depends on COMMON_CLK_AMLOGIC select COMMON_CLK_AMLOGIC
select RESET_CONTROLLER select RESET_CONTROLLER
select COMMON_CLK_REGMAP_MESON
help help
Support for the clock controller on AmLogic S802 (Meson8), Support for the clock controller on AmLogic S802 (Meson8),
S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you
@ -25,10 +25,8 @@ config COMMON_CLK_MESON8B
config COMMON_CLK_GXBB config COMMON_CLK_GXBB
bool bool
depends on COMMON_CLK_AMLOGIC select COMMON_CLK_AMLOGIC
select RESET_CONTROLLER
select COMMON_CLK_MESON_AO select COMMON_CLK_MESON_AO
select COMMON_CLK_REGMAP_MESON
select MFD_SYSCON select MFD_SYSCON
help help
Support for the clock controller on AmLogic S905 devices, aka gxbb. Support for the clock controller on AmLogic S905 devices, aka gxbb.
@ -36,10 +34,8 @@ config COMMON_CLK_GXBB
config COMMON_CLK_AXG config COMMON_CLK_AXG
bool bool
depends on COMMON_CLK_AMLOGIC select COMMON_CLK_AMLOGIC
select RESET_CONTROLLER
select COMMON_CLK_MESON_AO select COMMON_CLK_MESON_AO
select COMMON_CLK_REGMAP_MESON
select MFD_SYSCON select MFD_SYSCON
help help
Support for the clock controller on AmLogic A113D devices, aka axg. Support for the clock controller on AmLogic A113D devices, aka axg.