Blame view

arch/arm/plat-s3c24xx/Kconfig 3.83 KB
a21765a70   Ben Dooks   [ARM] 4157/2: S3C...
1
2
3
4
5
6
  # Copyright 2007 Simtec Electronics
  #
  # Licensed under GPLv2
  
  config PLAT_S3C24XX
  	bool
af0e060e2   Nicolas Pitre   ARM: mach-s3c24a0...
7
  	depends on ARCH_S3C2410
bcae8aeb3   Ben Dooks   [ARM] S3C24A0: In...
8
  	default y
7d477a04a   Ben Dooks   [ARM] 4165/1: S3C...
9
  	select NO_IOPORT
bb2b180ca   Russell King   [ARM] fix IOP32x,...
10
  	select ARCH_REQUIRE_GPIOLIB
258b78c36   Kukjin Kim   ARM: S3C24XX: Fix...
11
  	select S3C_DEV_NAND
a21765a70   Ben Dooks   [ARM] 4157/2: S3C...
12
  	help
d58153d86   Ben Dooks   [ARM] 4509/1: S3C...
13
  	  Base platform code for any Samsung S3C24XX device
a21765a70   Ben Dooks   [ARM] 4157/2: S3C...
14

b88706053   Ben Dooks   [ARM] 4161/1: S3C...
15
  if PLAT_S3C24XX
89f1fa080   Ben Dooks   ARM: SAMSUNG: Mov...
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  # low-level serial option nodes
  
  config CPU_LLSERIAL_S3C2410_ONLY
  	bool
  	default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
  
  config CPU_LLSERIAL_S3C2440_ONLY
  	bool
  	default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
  
  config CPU_LLSERIAL_S3C2410
  	bool
  	help
  	  Selected if there is an S3C2410 (or register compatible) serial
  	  low-level implementation needed
  
  config CPU_LLSERIAL_S3C2440
  	bool
  	help
  	  Selected if there is an S3C2440 (or register compatible) serial
  	  low-level implementation needed
1b3ba6888   Ben Dooks   [ARM] S3C2410: Mo...
37
38
39
40
41
42
43
  # code that is shared between a number of the s3c24xx implementations
  
  config S3C2410_CLOCK
  	bool
  	help
  	  Clock code for the S3C2410, and similar processors which
  	  is currently includes the S3C2410, S3C2440, S3C2442.
af337f3e6   Ben Dooks   ARM: S3C2443: Mov...
44
45
46
47
48
  config S3C2443_CLOCK
  	bool
  	help
  	  Clock code for the S3C2443 and similar processors, which includes
  	  the S3C2416 and S3C2450.
93bc6b637   Ben Dooks   [ARM] S3C24XX: Sp...
49
50
51
52
  config S3C24XX_DCLK
  	bool
  	help
  	  Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
e2178d437   Ben Dooks   [ARM] S3C24XX: Ad...
53
54
55
56
57
58
  # gpio configurations
  
  config S3C24XX_GPIO_EXTRA
  	int
  	default 128 if S3C24XX_GPIO_EXTRA128
  	default 64 if S3C24XX_GPIO_EXTRA64
14477095a   Vasily Khoruzhick   ARM: h1940: Use g...
59
  	default 16 if ARCH_H1940
e2178d437   Ben Dooks   [ARM] S3C24XX: Ad...
60
61
62
63
64
65
66
67
68
69
70
71
72
  	default 0
  
  config S3C24XX_GPIO_EXTRA64
  	bool
  	help
  	  Add an extra 64 gpio numbers to the available GPIO pool. This is
  	  available for boards that need extra gpios for external devices.
  
  config S3C24XX_GPIO_EXTRA128
  	bool
  	help
  	  Add an extra 128 gpio numbers to the available GPIO pool. This is
  	  available for boards that need extra gpios for external devices.
a21765a70   Ben Dooks   [ARM] 4157/2: S3C...
73
74
75
76
77
  config PM_SIMTEC
  	bool
  	help
  	  Common power management code for systems that are
  	  compatible with the Simtec style of power management
a21765a70   Ben Dooks   [ARM] 4157/2: S3C...
78
79
80
  config S3C2410_DMA
  	bool "S3C2410 DMA support"
  	depends on ARCH_S3C2410
97c1b1452   Ben Dooks   [ARM] S3C: Move D...
81
  	select S3C_DMA
a21765a70   Ben Dooks   [ARM] 4157/2: S3C...
82
83
84
85
86
87
88
89
90
91
92
  	help
  	  S3C2410 DMA support. This is needed for drivers like sound which
  	  use the S3C2410's DMA system to move data to and from the
  	  peripheral blocks.
  
  config S3C2410_DMA_DEBUG
  	bool "S3C2410 DMA support debug"
  	depends on ARCH_S3C2410 && S3C2410_DMA
  	help
  	  Enable debugging output for the DMA code. This option sends info
  	  to the kernel log, at priority KERN_DEBUG.
b2a6cf3b1   Ben Dooks   [ARM] S3C24XX: De...
93
94
95
96
97
98
99
100
101
102
103
104
105
  # SPI default pin configuration code
  
  config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
  	bool
  	help
  	  SPI GPIO configuration code for BUS0 when connected to
  	  GPE11, GPE12 and GPE13.
  
  config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
  	bool
  	help
  	  SPI GPIO configuration code for BUS 1 when connected to
  	  GPG5, GPG6 and GPG7.
a2c195fdd   Ben Dooks   ARM: S3C24XX: Add...
106
107
108
109
110
  config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10
  	bool
  	help
  	  SPI GPIO configuration code for BUS 1 when connected to
  	  GPD8, GPD9 and GPD10.
b2a6cf3b1   Ben Dooks   [ARM] S3C24XX: De...
111
  # common code for s3c24xx based machines, such as the SMDKs.
831a6fcb9   Ben Dooks   ARM: S3C2410: CPU...
112
113
114
115
116
117
118
119
  # cpu frequency items common between s3c2410 and s3c2440/s3c2442
  
  config S3C2410_IOTIMING
  	bool
  	depends on CPU_FREQ_S3C24XX
  	help
  	  Internal node to select io timing code that is common to the s3c2410
  	  and s3c2440/s3c2442 cpu frequency support.
a24c091db   Ben Dooks   ARM: S3C2410: CPU...
120
121
122
123
124
125
  config S3C2410_CPUFREQ_UTILS
  	bool
  	depends on CPU_FREQ_S3C24XX
  	help
  	  Internal node to select timing code that is common to the s3c2410
  	  and s3c2440/s3c244 cpu frequency support.
140780ab5   Ben Dooks   ARM: S3C24XX: CPU...
126
127
128
129
130
131
132
133
  # cpu frequency support common to s3c2412, s3c2413 and s3c2442
  
  config S3C2412_IOTIMING
  	bool
  	depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
  	help
  	  Intel node to select io timing code that is common to the s3c2412
  	  and the s3c2443.
a21765a70   Ben Dooks   [ARM] 4157/2: S3C...
134
135
136
137
  config MACH_SMDK
  	bool
  	help
  	  Common machine code for SMDK2410 and SMDK2440
4d3a3469d   Ben Dooks   ARM: S3C24XX: mac...
138
139
140
141
142
143
  config S3C24XX_SIMTEC_AUDIO
  	bool
  	depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
  	default y
  	help
  	  Add audio devices for common Simtec S3C24XX boards
5bfdca146   Naveen Krishna   ARM: SAMSUNG: Imp...
144
145
146
147
  config S3C2410_SETUP_TS
  	bool
  	help
  	  Compile in platform device definition for Samsung TouchScreen.
b88706053   Ben Dooks   [ARM] 4161/1: S3C...
148
  endif