aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/Kconfig
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2014-05-08 16:48:57 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-05-12 19:00:01 -0400
commit51cb128987d96538fdea4ce3704e79257afad4a5 (patch)
tree1109bd22e3f6a5fb9e3274bd3d158c4a05d17c94 /arch/arm/mach-s3c24xx/Kconfig
parent5799ea12a41286d9588155a1abd828f43bc63d6b (diff)
ARM: S3C24XX: enable usage of common dclk if common clock framework is enabled
Add platform device and select the correct implementation automatically depending on wether the old samsung_clock or the common clock framework is enabled. This is only done for machines already using the old dclk implementation, as everybody else should move to use dt anyway. The machine-specific settings for the external clocks will have to be set by somebody with knowledge about the specific hardware. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Tomasz Figa <t.figa@samsung.com> [pebolle@tiscali.nl: pointed out typo and fixed] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/Kconfig')
-rw-r--r--arch/arm/mach-s3c24xx/Kconfig22
1 files changed, 17 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index fbafb9a1975b..c9378806b9e8 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -18,6 +18,13 @@ config PLAT_S3C24XX
18 help 18 help
19 Base platform code for any Samsung S3C24XX device 19 Base platform code for any Samsung S3C24XX device
20 20
21config S3C2410_COMMON_DCLK
22 bool
23 select REGMAP_MMIO
24 help
25 Temporary symbol to build the dclk driver based on the common clock
26 framework.
27
21menu "SAMSUNG S3C24XX SoCs Support" 28menu "SAMSUNG S3C24XX SoCs Support"
22 29
23comment "S3C24XX SoCs" 30comment "S3C24XX SoCs"
@@ -263,8 +270,9 @@ config ARCH_BAST
263 bool "Simtec Electronics BAST (EB2410ITX)" 270 bool "Simtec Electronics BAST (EB2410ITX)"
264 select ISA 271 select ISA
265 select MACH_BAST_IDE 272 select MACH_BAST_IDE
273 select S3C2410_COMMON_DCLK if COMMON_CLK
266 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ 274 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
267 select S3C24XX_DCLK 275 select S3C24XX_DCLK if SAMSUNG_CLOCK
268 select S3C24XX_SIMTEC_NOR 276 select S3C24XX_SIMTEC_NOR
269 select S3C24XX_SIMTEC_PM if PM 277 select S3C24XX_SIMTEC_PM if PM
270 select S3C24XX_SIMTEC_USB 278 select S3C24XX_SIMTEC_USB
@@ -345,7 +353,8 @@ config MACH_TCT_HAMMER
345config MACH_VR1000 353config MACH_VR1000
346 bool "Thorcom VR1000" 354 bool "Thorcom VR1000"
347 select MACH_BAST_IDE 355 select MACH_BAST_IDE
348 select S3C24XX_DCLK 356 select S3C2410_COMMON_DCLK if COMMON_CLK
357 select S3C24XX_DCLK if SAMSUNG_CLOCK
349 select S3C24XX_SIMTEC_NOR 358 select S3C24XX_SIMTEC_NOR
350 select S3C24XX_SIMTEC_PM if PM 359 select S3C24XX_SIMTEC_PM if PM
351 select S3C24XX_SIMTEC_USB 360 select S3C24XX_SIMTEC_USB
@@ -529,8 +538,9 @@ comment "S3C2440 Boards"
529config MACH_ANUBIS 538config MACH_ANUBIS
530 bool "Simtec Electronics ANUBIS" 539 bool "Simtec Electronics ANUBIS"
531 select HAVE_PATA_PLATFORM 540 select HAVE_PATA_PLATFORM
541 select S3C2410_COMMON_DCLK if COMMON_CLK
532 select S3C2440_XTAL_12000000 542 select S3C2440_XTAL_12000000
533 select S3C24XX_DCLK 543 select S3C24XX_DCLK if SAMSUNG_CLOCK
534 select S3C24XX_SIMTEC_PM if PM 544 select S3C24XX_SIMTEC_PM if PM
535 select S3C_DEV_USB_HOST 545 select S3C_DEV_USB_HOST
536 help 546 help
@@ -568,9 +578,10 @@ config MACH_NEXCODER_2440
568 578
569config MACH_OSIRIS 579config MACH_OSIRIS
570 bool "Simtec IM2440D20 (OSIRIS) module" 580 bool "Simtec IM2440D20 (OSIRIS) module"
581 select S3C2410_COMMON_DCLK if COMMON_CLK
571 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ 582 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
572 select S3C2440_XTAL_12000000 583 select S3C2440_XTAL_12000000
573 select S3C24XX_DCLK 584 select S3C24XX_DCLK if SAMSUNG_CLOCK
574 select S3C24XX_SIMTEC_PM if PM 585 select S3C24XX_SIMTEC_PM if PM
575 select S3C_DEV_NAND 586 select S3C_DEV_NAND
576 select S3C_DEV_USB_HOST 587 select S3C_DEV_USB_HOST
@@ -639,9 +650,10 @@ config MACH_RX1950
639 bool "HP iPAQ rx1950" 650 bool "HP iPAQ rx1950"
640 select I2C 651 select I2C
641 select PM_H1940 if PM 652 select PM_H1940 if PM
653 select S3C2410_COMMON_DCLK if COMMON_CLK
642 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ 654 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
643 select S3C2440_XTAL_16934400 655 select S3C2440_XTAL_16934400
644 select S3C24XX_DCLK 656 select S3C24XX_DCLK if SAMSUNG_CLOCK
645 select S3C24XX_PWM 657 select S3C24XX_PWM
646 select S3C_DEV_NAND 658 select S3C_DEV_NAND
647 help 659 help