ARM: S5PV210: Add sclk clocks of type 'struct clksrc_clk' clock
[deliverable/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 # low-level serial option nodes
18
19 config CPU_LLSERIAL_S3C2410_ONLY
20 bool
21 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
22
23 config CPU_LLSERIAL_S3C2440_ONLY
24 bool
25 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
26
27 config CPU_LLSERIAL_S3C2410
28 bool
29 help
30 Selected if there is an S3C2410 (or register compatible) serial
31 low-level implementation needed
32
33 config CPU_LLSERIAL_S3C2440
34 bool
35 help
36 Selected if there is an S3C2440 (or register compatible) serial
37 low-level implementation needed
38
39 # code that is shared between a number of the s3c24xx implementations
40
41 config S3C2410_CLOCK
42 bool
43 help
44 Clock code for the S3C2410, and similar processors which
45 is currently includes the S3C2410, S3C2440, S3C2442.
46
47 config S3C24XX_DCLK
48 bool
49 help
50 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
51
52 config S3C24XX_PWM
53 bool "PWM device support"
54 select HAVE_PWM
55 help
56 Support for exporting the PWM timer blocks via the pwm device
57 system.
58
59 # gpio configurations
60
61 config S3C24XX_GPIO_EXTRA
62 int
63 default 128 if S3C24XX_GPIO_EXTRA128
64 default 64 if S3C24XX_GPIO_EXTRA64
65 default 0
66
67 config S3C24XX_GPIO_EXTRA64
68 bool
69 help
70 Add an extra 64 gpio numbers to the available GPIO pool. This is
71 available for boards that need extra gpios for external devices.
72
73 config S3C24XX_GPIO_EXTRA128
74 bool
75 help
76 Add an extra 128 gpio numbers to the available GPIO pool. This is
77 available for boards that need extra gpios for external devices.
78
79 config PM_SIMTEC
80 bool
81 help
82 Common power management code for systems that are
83 compatible with the Simtec style of power management
84
85 config S3C2410_DMA
86 bool "S3C2410 DMA support"
87 depends on ARCH_S3C2410
88 select S3C_DMA
89 help
90 S3C2410 DMA support. This is needed for drivers like sound which
91 use the S3C2410's DMA system to move data to and from the
92 peripheral blocks.
93
94 config S3C2410_DMA_DEBUG
95 bool "S3C2410 DMA support debug"
96 depends on ARCH_S3C2410 && S3C2410_DMA
97 help
98 Enable debugging output for the DMA code. This option sends info
99 to the kernel log, at priority KERN_DEBUG.
100
101 # SPI default pin configuration code
102
103 config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
104 bool
105 help
106 SPI GPIO configuration code for BUS0 when connected to
107 GPE11, GPE12 and GPE13.
108
109 config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
110 bool
111 help
112 SPI GPIO configuration code for BUS 1 when connected to
113 GPG5, GPG6 and GPG7.
114
115 config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10
116 bool
117 help
118 SPI GPIO configuration code for BUS 1 when connected to
119 GPD8, GPD9 and GPD10.
120
121 # common code for s3c24xx based machines, such as the SMDKs.
122
123 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
124
125 config S3C2410_IOTIMING
126 bool
127 depends on CPU_FREQ_S3C24XX
128 help
129 Internal node to select io timing code that is common to the s3c2410
130 and s3c2440/s3c2442 cpu frequency support.
131
132 config S3C2410_CPUFREQ_UTILS
133 bool
134 depends on CPU_FREQ_S3C24XX
135 help
136 Internal node to select timing code that is common to the s3c2410
137 and s3c2440/s3c244 cpu frequency support.
138
139 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
140
141 config S3C2412_IOTIMING
142 bool
143 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
144 help
145 Intel node to select io timing code that is common to the s3c2412
146 and the s3c2443.
147
148 config MACH_SMDK
149 bool
150 help
151 Common machine code for SMDK2410 and SMDK2440
152
153 config S3C24XX_SIMTEC_AUDIO
154 bool
155 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
156 default y
157 help
158 Add audio devices for common Simtec S3C24XX boards
159
160 endif
This page took 0.056353 seconds and 5 git commands to generate.