blob: 2bc4b10f52272e5e785b75099a744a6d6d096684 [file] [log] [blame]
Ben Dooksa21765a2007-02-11 18:31:01 +01001# arch/arm/plat-s3c24xx/Kconfig
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_S3C24XX
8 bool
9 depends on ARCH_S3C2410
Ben Dooksb8870602007-02-11 20:33:13 +010010 default y if ARCH_S3C2410
Ben Dooks7d477a02007-02-12 18:59:35 +010011 select NO_IOPORT
Russell Kingbb2b1802008-07-26 15:36:03 +010012 select ARCH_REQUIRE_GPIOLIB
Ben Dooksa21765a2007-02-11 18:31:01 +010013 help
Ben Dooksd58153d2007-07-22 16:07:09 +010014 Base platform code for any Samsung S3C24XX device
Ben Dooksa21765a2007-02-11 18:31:01 +010015
Ben Dooksb8870602007-02-11 20:33:13 +010016if PLAT_S3C24XX
17
Ben Dooks1b3ba682008-10-21 14:06:22 +010018# code that is shared between a number of the s3c24xx implementations
19
20config S3C2410_CLOCK
21 bool
22 help
23 Clock code for the S3C2410, and similar processors which
24 is currently includes the S3C2410, S3C2440, S3C2442.
25
Ben Dooksa21765a2007-02-11 18:31:01 +010026config CPU_S3C244X
27 bool
28 depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
29 help
30 Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
31
Ben Dooks6fc601e2008-07-01 13:17:24 +010032config S3C24XX_PWM
33 bool "PWM device support"
34 select HAVE_PWM
35 help
36 Support for exporting the PWM timer blocks via the pwm device
37 system.
38
Ben Dooksa21765a2007-02-11 18:31:01 +010039config PM_SIMTEC
40 bool
41 help
42 Common power management code for systems that are
43 compatible with the Simtec style of power management
44
Ben Dooksa21765a2007-02-11 18:31:01 +010045config S3C2410_DMA
46 bool "S3C2410 DMA support"
47 depends on ARCH_S3C2410
48 help
49 S3C2410 DMA support. This is needed for drivers like sound which
50 use the S3C2410's DMA system to move data to and from the
51 peripheral blocks.
52
53config S3C2410_DMA_DEBUG
54 bool "S3C2410 DMA support debug"
55 depends on ARCH_S3C2410 && S3C2410_DMA
56 help
57 Enable debugging output for the DMA code. This option sends info
58 to the kernel log, at priority KERN_DEBUG.
59
Ben Dooksb2a6cf32008-10-21 14:06:20 +010060# SPI default pin configuration code
61
62config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
63 bool
64 help
65 SPI GPIO configuration code for BUS0 when connected to
66 GPE11, GPE12 and GPE13.
67
68config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
69 bool
70 help
71 SPI GPIO configuration code for BUS 1 when connected to
72 GPG5, GPG6 and GPG7.
73
74# common code for s3c24xx based machines, such as the SMDKs.
75
Ben Dooksa21765a2007-02-11 18:31:01 +010076config MACH_SMDK
77 bool
78 help
79 Common machine code for SMDK2410 and SMDK2440
80
Ben Dooksb8870602007-02-11 20:33:13 +010081endif