]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/plat-s3c24xx/Kconfig
3bb5c8fd34a1fe61988a323a661bf89b7a51952f
[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_S3C24XX
8         default y
9         select ARCH_REQUIRE_GPIOLIB
10         select NO_IOPORT
11         select S3C_DEV_NAND
12         select IRQ_DOMAIN
13         help
14           Base platform code for any Samsung S3C24XX device
15
16 if PLAT_S3C24XX
17
18 # low-level serial option nodes
19
20 config CPU_LLSERIAL_S3C2410_ONLY
21         bool
22         default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
23
24 config CPU_LLSERIAL_S3C2440_ONLY
25         bool
26         default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
27
28 config CPU_LLSERIAL_S3C2410
29         bool
30         help
31           Selected if there is an S3C2410 (or register compatible) serial
32           low-level implementation needed
33
34 config CPU_LLSERIAL_S3C2440
35         bool
36         help
37           Selected if there is an S3C2440 (or register compatible) serial
38           low-level implementation needed
39
40 # code that is shared between a number of the s3c24xx implementations
41
42 config S3C2410_CLOCK
43         bool
44         help
45           Clock code for the S3C2410, and similar processors which
46           is currently includes the S3C2410, S3C2440, S3C2442.
47
48 config S3C24XX_DCLK
49         bool
50         help
51           Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
52
53 # gpio configurations
54
55 config S3C24XX_GPIO_EXTRA
56         int
57         default 128 if S3C24XX_GPIO_EXTRA128
58         default 64 if S3C24XX_GPIO_EXTRA64
59         default 16 if ARCH_H1940
60         default 0
61
62 config S3C24XX_GPIO_EXTRA64
63         bool
64         help
65           Add an extra 64 gpio numbers to the available GPIO pool. This is
66           available for boards that need extra gpios for external devices.
67
68 config S3C24XX_GPIO_EXTRA128
69         bool
70         help
71           Add an extra 128 gpio numbers to the available GPIO pool. This is
72           available for boards that need extra gpios for external devices.
73
74 config S3C24XX_DMA
75         bool "S3C2410 DMA support"
76         depends on ARCH_S3C24XX
77         select S3C_DMA
78         help
79           S3C2410 DMA support. This is needed for drivers like sound which
80           use the S3C2410's DMA system to move data to and from the
81           peripheral blocks.
82
83 config S3C2410_DMA_DEBUG
84         bool "S3C2410 DMA support debug"
85         depends on ARCH_S3C24XX && S3C2410_DMA
86         help
87           Enable debugging output for the DMA code. This option sends info
88           to the kernel log, at priority KERN_DEBUG.
89
90 # common code for s3c24xx based machines, such as the SMDKs.
91
92 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
93
94 config S3C2410_IOTIMING
95         bool
96         depends on CPU_FREQ_S3C24XX
97         help
98           Internal node to select io timing code that is common to the s3c2410
99           and s3c2440/s3c2442 cpu frequency support.
100
101 config S3C2410_CPUFREQ_UTILS
102         bool
103         depends on CPU_FREQ_S3C24XX
104         help
105           Internal node to select timing code that is common to the s3c2410
106           and s3c2440/s3c244 cpu frequency support.
107
108 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
109
110 config S3C2412_IOTIMING
111         bool
112         depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
113         help
114           Intel node to select io timing code that is common to the s3c2412
115           and the s3c2443.
116
117 endif