Kconfig 12.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# arch/arm/mach-s3c24xx/Kconfig
#
# Copyright (c) 2012 Samsung Electronics Co., Ltd.
#		http://www.samsung.com/
#
# Copyright 2007 Simtec Electronics
#
# Licensed under GPLv2

if ARCH_S3C24XX

menu "SAMSUNG S3C24XX SoCs Support"

comment "S3C24XX SoCs"

config CPU_S3C2410
	bool "SAMSUNG S3C2410"
	default y
	select CPU_ARM920T
	select CPU_LLSERIAL_S3C2410
21
	select S3C2410_CLOCK
22
	select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX
23
	select S3C2410_PM if PM
24 25 26 27
	help
	  Support for S3C2410 and S3C2410A family from the S3C24XX line
	  of Samsung Mobile CPUs.

28 29 30 31 32 33
config CPU_S3C2412
	bool "SAMSUNG S3C2412"
	depends on ARCH_S3C24XX
	select CPU_ARM926T
	select CPU_LLSERIAL_S3C2440
	select S3C2412_DMA if S3C24XX_DMA
34
	select S3C2412_PM if PM
35 36 37
	help
	  Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line

38 39 40 41 42
config CPU_S3C2416
	bool "SAMSUNG S3C2416/S3C2450"
	depends on ARCH_S3C24XX
	select CPU_ARM926T
	select CPU_LLSERIAL_S3C2440
43
	select S3C2416_PM if PM
44
	select S3C2443_COMMON
45
	select S3C2443_DMA if S3C24XX_DMA
46
	select SAMSUNG_CLKSRC
47 48 49
	help
	  Support for the S3C2416 SoC from the S3C24XX line

50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
config CPU_S3C2440
	bool "SAMSUNG S3C2440"
	select CPU_ARM920T
	select CPU_LLSERIAL_S3C2440
	select S3C2410_CLOCK
	select S3C2410_PM if PM
	select S3C2440_DMA if S3C24XX_DMA
	help
	  Support for S3C2440 Samsung Mobile CPU based systems.

config CPU_S3C2442
	bool "SAMSUNG S3C2442"
	select CPU_ARM920T
	select CPU_LLSERIAL_S3C2440
	select S3C2410_CLOCK
	select S3C2410_PM if PM
	help
	  Support for S3C2442 Samsung Mobile CPU based systems.

config CPU_S3C244X
	def_bool y
	depends on CPU_S3C2440 || CPU_S3C2442

73 74 75 76 77
config CPU_S3C2443
	bool "SAMSUNG S3C2443"
	depends on ARCH_S3C24XX
	select CPU_ARM920T
	select CPU_LLSERIAL_S3C2440
78
	select S3C2443_COMMON
79
	select S3C2443_DMA if S3C24XX_DMA
80
	select SAMSUNG_CLKSRC
81 82 83
	help
	  Support for the S3C2443 SoC from the S3C24XX line

84 85 86 87 88 89 90
# common code

config S3C24XX_SMDK
	bool
	help
	  Common machine code for SMDK2410 and SMDK2440

91 92 93 94 95 96 97 98 99 100 101 102 103
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

config S3C24XX_SIMTEC_PM
	bool
	help
	  Common power management code for systems that are
	  compatible with the Simtec style of power management

104 105 106 107 108
config S3C24XX_SIMTEC_USB
	bool
	help
	  USB management code for common Simtec S3C24XX boards

109 110 111 112 113
config S3C24XX_SETUP_TS
	bool
	help
	  Compile in platform device definition for Samsung TouchScreen.

114 115
config S3C2410_DMA
	bool
116 117
	depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
	default y if CPU_S3C2410 || CPU_S3C2442
118 119 120 121 122 123 124 125
	help
	  DMA device selection for S3C2410 and compatible CPUs

config S3C2410_PM
	bool
	help
	  Power Management code common to S3C2410 and better

126 127 128 129
# cpu-specific sections

if CPU_S3C2410

130 131 132 133 134 135 136
config S3C2410_CPUFREQ
	bool
	depends on CPU_FREQ_S3C24XX && CPU_S3C2410
	select S3C2410_CPUFREQ_UTILS
	help
	  CPU Frequency scaling support for S3C2410

137 138 139 140 141 142 143
config S3C2410_PLL
	bool
	depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
	default y
	help
	  Select the PLL table for the S3C2410

144
config S3C24XX_SIMTEC_NOR
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
	bool
	help
	  Internal node to specify machine has simtec NOR mapping

config MACH_BAST_IDE
	bool
	select HAVE_PATA_PLATFORM
	help
	  Internal node for machines with an BAST style IDE
	  interface

comment "S3C2410 Boards"

#
# The "S3C2410 Boards" list is ordered alphabetically by option text.
# (without ARCH_ or MACH_)
#

config MACH_AML_M5900
	bool "AML M5900 Series"
165
	select S3C24XX_SIMTEC_PM if PM
166 167 168 169 170 171 172
	select S3C_DEV_USB_HOST
	help
	  Say Y here if you are using the American Microsystems M5900 Series
	  <http://www.amltd.com>

config ARCH_BAST
	bool "Simtec Electronics BAST (EB2410ITX)"
173 174
	select ISA
	select MACH_BAST_IDE
175
	select S3C2410_IOTIMING if S3C2410_CPUFREQ
176
	select S3C24XX_DCLK
177
	select S3C24XX_SIMTEC_NOR
178
	select S3C24XX_SIMTEC_PM if PM
179
	select S3C24XX_SIMTEC_USB
180 181
	select S3C_DEV_HWMON
	select S3C_DEV_NAND
182
	select S3C_DEV_USB_HOST
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
	help
	  Say Y here if you are using the Simtec Electronics EB2410ITX
	  development board (also known as BAST)

config BAST_PC104_IRQ
	bool "BAST PC104 IRQ support"
	depends on ARCH_BAST
	default y
	help
	  Say Y	here to enable the PC104 IRQ routing on the
	  Simtec BAST (EB2410ITX)

config ARCH_H1940
	bool "IPAQ H1940"
	select PM_H1940 if PM
198
	select S3C24XX_SETUP_TS
199 200
	select S3C_DEV_NAND
	select S3C_DEV_USB_HOST
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
	help
	  Say Y here if you are using the HP IPAQ H1940

config H1940BT
	tristate "Control the state of H1940 bluetooth chip"
	depends on ARCH_H1940
	select RFKILL
	help
	  This is a simple driver that is able to control
	  the state of built in bluetooth chip on h1940.

config PM_H1940
	bool
	help
	  Internal node for H1940 and related PM

config MACH_N30
	bool "Acer N30 family"
	select MACH_N35
	select S3C_DEV_NAND
221
	select S3C_DEV_USB_HOST
222 223 224 225 226 227 228
	help
	  Say Y here if you want suppt for the Acer N30, Acer N35,
	  Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.

config MACH_OTOM
	bool "NexVision OTOM Board"
	select S3C_DEV_NAND
229
	select S3C_DEV_USB_HOST
230 231 232 233 234 235
	help
	  Say Y here if you are using the Nex Vision OTOM board

config MACH_QT2410
	bool "QT2410"
	select S3C_DEV_NAND
236
	select S3C_DEV_USB_HOST
237 238 239 240 241
	help
	  Say Y here if you are using the Armzone QT2410

config ARCH_SMDK2410
	bool "SMDK2410/A9M2410"
242
	select S3C24XX_SMDK
243 244 245 246 247 248 249 250 251 252 253 254 255
	help
	  Say Y here if you are using the SMDK2410 or the derived module A9M2410
	  <http://www.fsforth.de>

config MACH_TCT_HAMMER
	bool "TCT Hammer Board"
	select S3C_DEV_USB_HOST
	help
	  Say Y here if you are using the TinCanTools Hammer Board
	  <http://www.tincantools.com>

config MACH_VR1000
	bool "Thorcom VR1000"
256
	select MACH_BAST_IDE
257
	select S3C24XX_DCLK
258
	select S3C24XX_SIMTEC_NOR
259
	select S3C24XX_SIMTEC_PM if PM
260
	select S3C24XX_SIMTEC_USB
261
	select S3C_DEV_USB_HOST
262 263 264 265 266
	help
	  Say Y here if you are using the Thorcom VR1000 board.

endif	# CPU_S3C2410

267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
config S3C2412_PM_SLEEP
	bool
	help
	  Internal config node to apply sleep for S3C2412 power management.
	  Can be selected by another SoCs such as S3C2416 with similar
	  sleep procedure.

if CPU_S3C2412

config CPU_S3C2412_ONLY
	bool
	depends on ARCH_S3C24XX && !CPU_S3C2410 && \
		   !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \
		   !CPU_S3C2443 && CPU_S3C2412
	default y

283 284 285 286 287 288 289 290
config S3C2412_CPUFREQ
	bool
	depends on CPU_FREQ_S3C24XX && CPU_S3C2412
	default y
	select S3C2412_IOTIMING
	help
	  CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.

291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
config S3C2412_DMA
	bool
	help
	  Internal config node for S3C2412 DMA support

config S3C2412_PM
	bool
	help
	  Internal config node to apply S3C2412 power management

comment "S3C2412 Boards"

#
# The "S3C2412 Boards" list is ordered alphabetically by option text.
# (without ARCH_ or MACH_)
#

config MACH_JIVE
	bool "Logitech Jive"
	select S3C_DEV_NAND
311
	select S3C_DEV_USB_HOST
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
	help
	  Say Y here if you are using the Logitech Jive.

config MACH_JIVE_SHOW_BOOTLOADER
	bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)"
	depends on MACH_JIVE && EXPERIMENTAL

config MACH_S3C2413
	bool
	help
	  Internal node for S3C2413 version of SMDK2413, so that
	  machine_is_s3c2413() will work when MACH_SMDK2413 is
	  selected

config MACH_SMDK2412
	bool "SMDK2412"
	select MACH_SMDK2413
	help
	  Say Y here if you are using an SMDK2412

	  Note, this shares support with SMDK2413, so will automatically
	  select MACH_SMDK2413.

config MACH_SMDK2413
	bool "SMDK2413"
	select MACH_S3C2413
338
	select S3C24XX_SMDK
339
	select S3C_DEV_NAND
340
	select S3C_DEV_USB_HOST
341 342 343 344 345 346
	help
	  Say Y here if you are using an SMDK2413

config MACH_VSTMS
	bool "VMSTMS"
	select S3C_DEV_NAND
347
	select S3C_DEV_USB_HOST
348 349 350 351 352
	help
	  Say Y here if you are using an VSTMS board

endif	# CPU_S3C2412

353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375
if CPU_S3C2416

config S3C2416_PM
	bool
	select S3C2412_PM_SLEEP
	help
	  Internal config node to apply S3C2416 power management

config S3C2416_SETUP_SDHCI
	bool
	select S3C2416_SETUP_SDHCI_GPIO
	help
	  Internal helper functions for S3C2416 based SDHCI systems

config S3C2416_SETUP_SDHCI_GPIO
	bool
	help
	  Common setup code for SDHCI gpio.

comment "S3C2416 Boards"

config MACH_SMDK2416
	bool "SMDK2416"
376
	select S3C2416_SETUP_SDHCI
377
	select S3C24XX_SMDK
378 379 380 381 382 383 384 385 386 387
	select S3C_DEV_FB
	select S3C_DEV_HSMMC
	select S3C_DEV_HSMMC1
	select S3C_DEV_NAND
	select S3C_DEV_USB_HOST
	help
	  Say Y here if you are using an SMDK2416

endif	# CPU_S3C2416

388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405
if CPU_S3C2440

config S3C2440_DMA
	bool
	help
	  Support for S3C2440 specific DMA code5A

comment "S3C2440 Boards"

#
# The "S3C2440 Boards" list is ordered alphabetically by option text.
# (without ARCH_ or MACH_)
#

config MACH_ANUBIS
	bool "Simtec Electronics ANUBIS"
	select HAVE_PATA_PLATFORM
	select S3C2440_XTAL_12000000
406 407 408
	select S3C24XX_DCLK
	select S3C24XX_GPIO_EXTRA64
	select S3C24XX_SIMTEC_PM if PM
409 410 411 412 413 414 415 416
	select S3C_DEV_USB_HOST
	help
	  Say Y here if you are using the Simtec Electronics ANUBIS
	  development system

config MACH_AT2440EVB
	bool "Avantech AT2440EVB development board"
	select S3C_DEV_NAND
417
	select S3C_DEV_USB_HOST
418 419 420 421 422 423 424
	help
	  Say Y here if you are using the AT2440EVB development board

config MACH_MINI2440
	bool "MINI2440 development board"
	select EEPROM_AT24
	select LEDS_CLASS
425
	select LEDS_TRIGGERS
426
	select LEDS_TRIGGER_BACKLIGHT
427
	select NEW_LEDS
428 429
	select S3C_DEV_NAND
	select S3C_DEV_USB_HOST
430
	select S3C_SETUP_CAMIF
431 432 433 434 435 436 437 438
	help
	  Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
	  available via various sources. It can come with a 3.5" or 7" touch LCD.

config MACH_NEXCODER_2440
	bool "NexVision NEXCODER 2440 Light Board"
	select S3C2440_XTAL_12000000
	select S3C_DEV_NAND
439
	select S3C_DEV_USB_HOST
440 441 442 443 444
	help
	  Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board

config MACH_OSIRIS
	bool "Simtec IM2440D20 (OSIRIS) module"
445 446
	select S3C2410_IOTIMING if S3C2440_CPUFREQ
	select S3C2440_XTAL_12000000
447 448
	select S3C24XX_DCLK
	select S3C24XX_GPIO_EXTRA128
449
	select S3C24XX_SIMTEC_PM if PM
450
	select S3C_DEV_NAND
451
	select S3C_DEV_USB_HOST
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
	help
	  Say Y here if you are using the Simtec IM2440D20 module, also
	  known as the Osiris.

config MACH_OSIRIS_DVS
	tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
	depends on MACH_OSIRIS
	select TPS65010
	help
	  Say Y/M here if you want to have dynamic voltage scaling support
	  on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.

	  The DVS driver alters the voltage supplied to the ARM core
	  depending on the frequency it is running at. The driver itself
	  does not do any of the frequency alteration, which is left up
	  to the cpufreq driver.

config MACH_RX3715
	bool "HP iPAQ rx3715"
	select PM_H1940 if PM
472
	select S3C2440_XTAL_16934400
473 474 475 476 477 478 479
	select S3C_DEV_NAND
	help
	  Say Y here if you are using the HP iPAQ rx3715.

config ARCH_S3C2440
	bool "SMDK2440"
	select S3C2440_XTAL_16934400
480
	select S3C24XX_SMDK
481
	select S3C_DEV_NAND
482
	select S3C_DEV_USB_HOST
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503
	help
	  Say Y here if you are using the SMDK2440.

config SMDK2440_CPU2440
	bool "SMDK2440 with S3C2440 CPU module"
	default y if ARCH_S3C2440
	select S3C2440_XTAL_16934400

endif	# CPU_S3C2440

if CPU_S3C2442

comment "S3C2442 Boards"

#
# The "S3C2442 Boards" list is ordered alphabetically by option text.
# (without ARCH_ or MACH_)
#

config MACH_NEO1973_GTA02
	bool "Openmoko GTA02 / Freerunner phone"
504 505
	select I2C
	select MACH_NEO1973
506 507 508
	select MFD_PCF50633
	select PCF50633_GPIO
	select POWER_SUPPLY
A
Arnd Bergmann 已提交
509
	select S3C24XX_PWM
510 511 512 513 514 515 516
	select S3C_DEV_USB_HOST
	help
	   Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone

config MACH_RX1950
	bool "HP iPAQ rx1950"
	select I2C
517
	select PM_H1940 if PM
518 519
	select S3C2410_IOTIMING if S3C2440_CPUFREQ
	select S3C2440_XTAL_16934400
520 521 522
	select S3C24XX_DCLK
	select S3C24XX_PWM
	select S3C_DEV_NAND
523 524 525 526 527 528 529 530
	help
	   Say Y here if you're using HP iPAQ rx1950

config SMDK2440_CPU2442
	bool "SMDM2440 with S3C2442 CPU module"

endif	# CPU_S3C2440

531 532 533 534 535 536 537 538
if CPU_S3C2443 || CPU_S3C2416

config S3C2443_COMMON
	bool
	help
	  Common code for the S3C2443 and similar processors, which includes
	  the S3C2416 and S3C2450.

539 540 541 542 543
config S3C2443_DMA
	bool
	help
	  Internal config node for S3C2443 DMA support

544 545 546 547 548
config S3C2443_SETUP_SPI
	bool
	help
	  Common setup code for SPI GPIO configurations

549 550 551 552
endif	# CPU_S3C2443 || CPU_S3C2416

if CPU_S3C2443

553 554 555 556
comment "S3C2443 Boards"

config MACH_SMDK2443
	bool "SMDK2443"
557
	select S3C24XX_SMDK
558 559 560 561 562 563
	select S3C_DEV_HSMMC1
	help
	  Say Y here if you are using an SMDK2443

endif	# CPU_S3C2443

564 565 566
endmenu	# SAMSUNG S3C24XX SoCs Support

endif	# ARCH_S3C24XX