]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/plat-s3c24xx/Kconfig
ARM: Merge next-samsung-s3c64xx-platdeletion
[karo-tx-linux.git] / arch / arm / plat-s3c24xx / Kconfig
1 # Copyright 2007 Simtec Electronics
2 #
3 # Licensed under GPLv2
4
5 config PLAT_S3C24XX
6         bool
7         depends on ARCH_S3C2410 || ARCH_S3C24A0
8         default y
9         select NO_IOPORT
10         select ARCH_REQUIRE_GPIOLIB
11         select S3C_DEVICE_NAND
12         help
13           Base platform code for any Samsung S3C24XX device
14
15 if PLAT_S3C24XX
16
17 # code that is shared between a number of the s3c24xx implementations
18
19 config S3C2410_CLOCK
20         bool
21         help
22           Clock code for the S3C2410, and similar processors which
23           is currently includes the S3C2410, S3C2440, S3C2442.
24
25 config S3C24XX_DCLK
26         bool
27         help
28           Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
29
30 config S3C24XX_PWM
31         bool "PWM device support"
32         select HAVE_PWM
33         help
34           Support for exporting the PWM timer blocks via the pwm device
35           system.
36
37 # gpio configurations
38
39 config S3C24XX_GPIO_EXTRA
40         int
41         default 128 if S3C24XX_GPIO_EXTRA128
42         default 64 if S3C24XX_GPIO_EXTRA64
43         default 0
44
45 config S3C24XX_GPIO_EXTRA64
46         bool
47         help
48           Add an extra 64 gpio numbers to the available GPIO pool. This is
49           available for boards that need extra gpios for external devices.
50
51 config S3C24XX_GPIO_EXTRA128
52         bool
53         help
54           Add an extra 128 gpio numbers to the available GPIO pool. This is
55           available for boards that need extra gpios for external devices.
56
57 config PM_SIMTEC
58         bool
59         help
60           Common power management code for systems that are
61           compatible with the Simtec style of power management
62
63 config S3C2410_DMA
64         bool "S3C2410 DMA support"
65         depends on ARCH_S3C2410
66         select S3C_DMA
67         help
68           S3C2410 DMA support. This is needed for drivers like sound which
69           use the S3C2410's DMA system to move data to and from the
70           peripheral blocks.
71
72 config S3C2410_DMA_DEBUG
73         bool "S3C2410 DMA support debug"
74         depends on ARCH_S3C2410 && S3C2410_DMA
75         help
76           Enable debugging output for the DMA code. This option sends info
77           to the kernel log, at priority KERN_DEBUG.
78
79 # SPI default pin configuration code
80
81 config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
82         bool
83         help
84           SPI GPIO configuration code for BUS0 when connected to
85           GPE11, GPE12 and GPE13.
86
87 config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
88         bool
89         help
90           SPI GPIO configuration code for BUS 1 when connected to
91           GPG5, GPG6 and GPG7.
92
93 config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10
94         bool
95         help
96           SPI GPIO configuration code for BUS 1 when connected to
97           GPD8, GPD9 and GPD10.
98
99 # common code for s3c24xx based machines, such as the SMDKs.
100
101 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
102
103 config S3C2410_IOTIMING
104         bool
105         depends on CPU_FREQ_S3C24XX
106         help
107           Internal node to select io timing code that is common to the s3c2410
108           and s3c2440/s3c2442 cpu frequency support.
109
110 config S3C2410_CPUFREQ_UTILS
111         bool
112         depends on CPU_FREQ_S3C24XX
113         help
114           Internal node to select timing code that is common to the s3c2410
115           and s3c2440/s3c244 cpu frequency support.
116
117 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
118
119 config S3C2412_IOTIMING
120         bool
121         depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
122         help
123           Intel node to select io timing code that is common to the s3c2412
124           and the s3c2443.
125
126 config MACH_SMDK
127         bool
128         help
129           Common machine code for SMDK2410 and SMDK2440
130
131 config S3C24XX_SIMTEC_AUDIO
132         bool
133         depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
134         default y
135         help
136           Add audio devices for common Simtec S3C24XX boards
137
138 endif