Introduce a new Kconfig file for Samsung common clock infrastructure
related config options. As current Samsung common clock gets compiled
based on PLAT_SAMSUNG, but moving ahead with ARM64 we can not have any
more such config options, so this patch introduce new COMMON_CLK_SAMSUNG
invisible option. This option also select COMMON_CLK so ARCH Kconfig just
need to select COMMON_CLK_SAMSUNG in case they want to use Samsung common
clock.
This series is based on Kukjin's for-next branch.
V2:
1) Adding new Kconfig file for Samsung common clock.
2) Make COMMON_CLK_SAMSUNG option invisible. (as suggested by Tomasz Figa)
3) Let COMMON_CLK_SAMSUNG select COMMON_CLK. (as suggested by Tomasz Figa)
4) Move S3C24XX clock config option in new Kconfig file.
Pankaj Dubey (4):
clk: samsung: add new Kconfig for Samsung common clock options
drivers: clk: use CONFIG_COMMON_CLK_SAMSUNG for Samsung clock support
ARM: select COMMON_CLK_SAMSUNG for ARCH_EXYNOS and ARCH_S3C64XX
ARM: S3C24XX: remove S3C24XX specific clock Kconfig options
arch/arm/Kconfig | 4 ++--
arch/arm/mach-s3c24xx/Kconfig | 14 --------------
drivers/clk/Kconfig | 2 ++
drivers/clk/Makefile | 2 +-
drivers/clk/samsung/Kconfig | 11 +++++++++++
5 files changed, 16 insertions(+), 17 deletions(-)
create mode 100644 drivers/clk/samsung/Kconfig