[ARM] S3C24XX: Add extra GPIOs via Kconfig
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / plat-s3c24xx / Kconfig
1 # arch/arm/plat-s3c24xx/Kconfig
2 #
3 # Copyright 2007 Simtec Electronics
4 #
5 # Licensed under GPLv2
6
7 config PLAT_S3C24XX
8 bool
9 depends on ARCH_S3C2410
10 default y if ARCH_S3C2410
11 select NO_IOPORT
12 select ARCH_REQUIRE_GPIOLIB
13 help
14 Base platform code for any Samsung S3C24XX device
15
16 if PLAT_S3C24XX
17
18 config CPU_S3C244X
19 bool
20 depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
21 help
22 Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
23
24 config S3C24XX_PWM
25 bool "PWM device support"
26 select HAVE_PWM
27 help
28 Support for exporting the PWM timer blocks via the pwm device
29 system.
30
31
32 # gpio configurations
33
34 config S3C24XX_GPIO_EXTRA
35 int
36 default 128 if S3C24XX_GPIO_EXTRA128
37 default 64 if S3C24XX_GPIO_EXTRA64
38 default 0
39
40 config S3C24XX_GPIO_EXTRA64
41 bool
42 help
43 Add an extra 64 gpio numbers to the available GPIO pool. This is
44 available for boards that need extra gpios for external devices.
45
46 config S3C24XX_GPIO_EXTRA128
47 bool
48 help
49 Add an extra 128 gpio numbers to the available GPIO pool. This is
50 available for boards that need extra gpios for external devices.
51
52 config PM_SIMTEC
53 bool
54 help
55 Common power management code for systems that are
56 compatible with the Simtec style of power management
57
58 config S3C2410_DMA
59 bool "S3C2410 DMA support"
60 depends on ARCH_S3C2410
61 help
62 S3C2410 DMA support. This is needed for drivers like sound which
63 use the S3C2410's DMA system to move data to and from the
64 peripheral blocks.
65
66 config S3C2410_DMA_DEBUG
67 bool "S3C2410 DMA support debug"
68 depends on ARCH_S3C2410 && S3C2410_DMA
69 help
70 Enable debugging output for the DMA code. This option sends info
71 to the kernel log, at priority KERN_DEBUG.
72
73 config MACH_SMDK
74 bool
75 help
76 Common machine code for SMDK2410 and SMDK2440
77
78 endif