Kconfig 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. # arch/arm/mach-s3c24xx/Kconfig
  2. #
  3. # Copyright (c) 2012 Samsung Electronics Co., Ltd.
  4. # http://www.samsung.com/
  5. #
  6. # Copyright 2007 Simtec Electronics
  7. #
  8. # Licensed under GPLv2
  9. if ARCH_S3C24XX
  10. config PLAT_S3C24XX
  11. def_bool y
  12. select ARCH_REQUIRE_GPIOLIB
  13. select NO_IOPORT
  14. select S3C_DEV_NAND
  15. select IRQ_DOMAIN
  16. help
  17. Base platform code for any Samsung S3C24XX device
  18. menu "SAMSUNG S3C24XX SoCs Support"
  19. comment "S3C24XX SoCs"
  20. config CPU_S3C2410
  21. bool "SAMSUNG S3C2410"
  22. default y
  23. select CPU_ARM920T
  24. select CPU_LLSERIAL_S3C2410
  25. select S3C2410_CLOCK
  26. select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
  27. select S3C2410_PM if PM
  28. select SAMSUNG_HRT
  29. help
  30. Support for S3C2410 and S3C2410A family from the S3C24XX line
  31. of Samsung Mobile CPUs.
  32. config CPU_S3C2412
  33. bool "SAMSUNG S3C2412"
  34. select CPU_ARM926T
  35. select CPU_LLSERIAL_S3C2440
  36. select S3C2412_DMA if S3C24XX_DMA
  37. select S3C2412_PM if PM
  38. select SAMSUNG_HRT
  39. help
  40. Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
  41. config CPU_S3C2416
  42. bool "SAMSUNG S3C2416/S3C2450"
  43. select CPU_ARM926T
  44. select CPU_LLSERIAL_S3C2440
  45. select S3C2416_PM if PM
  46. select S3C2443_COMMON
  47. select S3C2443_DMA if S3C24XX_DMA
  48. select SAMSUNG_CLKSRC
  49. select SAMSUNG_HRT
  50. help
  51. Support for the S3C2416 SoC from the S3C24XX line
  52. config CPU_S3C2440
  53. bool "SAMSUNG S3C2440"
  54. select CPU_ARM920T
  55. select CPU_LLSERIAL_S3C2440
  56. select S3C2410_CLOCK
  57. select S3C2410_PM if PM
  58. select S3C2440_DMA if S3C24XX_DMA
  59. select SAMSUNG_HRT
  60. help
  61. Support for S3C2440 Samsung Mobile CPU based systems.
  62. config CPU_S3C2442
  63. bool "SAMSUNG S3C2442"
  64. select CPU_ARM920T
  65. select CPU_LLSERIAL_S3C2440
  66. select S3C2410_CLOCK
  67. select S3C2410_PM if PM
  68. select SAMSUNG_HRT
  69. help
  70. Support for S3C2442 Samsung Mobile CPU based systems.
  71. config CPU_S3C244X
  72. def_bool y
  73. depends on CPU_S3C2440 || CPU_S3C2442
  74. config CPU_S3C2443
  75. bool "SAMSUNG S3C2443"
  76. select CPU_ARM920T
  77. select CPU_LLSERIAL_S3C2440
  78. select S3C2443_COMMON
  79. select S3C2443_DMA if S3C24XX_DMA
  80. select SAMSUNG_CLKSRC
  81. select SAMSUNG_HRT
  82. help
  83. Support for the S3C2443 SoC from the S3C24XX line
  84. # common code
  85. config S3C2410_CLOCK
  86. bool
  87. help
  88. Clock code for the S3C2410, and similar processors which
  89. is currently includes the S3C2410, S3C2440, S3C2442.
  90. config S3C24XX_DCLK
  91. bool
  92. help
  93. Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
  94. config S3C24XX_SMDK
  95. bool
  96. help
  97. Common machine code for SMDK2410 and SMDK2440
  98. config S3C24XX_SIMTEC_AUDIO
  99. bool
  100. depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
  101. default y
  102. help
  103. Add audio devices for common Simtec S3C24XX boards
  104. config S3C24XX_SIMTEC_PM
  105. bool
  106. help
  107. Common power management code for systems that are
  108. compatible with the Simtec style of power management
  109. config S3C24XX_SIMTEC_USB
  110. bool
  111. help
  112. USB management code for common Simtec S3C24XX boards
  113. config S3C24XX_SETUP_TS
  114. bool
  115. help
  116. Compile in platform device definition for Samsung TouchScreen.
  117. config S3C24XX_DMA
  118. bool "S3C2410 DMA support"
  119. select S3C_DMA
  120. help
  121. S3C2410 DMA support. This is needed for drivers like sound which
  122. use the S3C2410's DMA system to move data to and from the
  123. peripheral blocks.
  124. config S3C2410_DMA_DEBUG
  125. bool "S3C2410 DMA support debug"
  126. depends on S3C2410_DMA
  127. help
  128. Enable debugging output for the DMA code. This option sends info
  129. to the kernel log, at priority KERN_DEBUG.
  130. config S3C2410_DMA
  131. bool
  132. depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
  133. default y if CPU_S3C2410 || CPU_S3C2442
  134. help
  135. DMA device selection for S3C2410 and compatible CPUs
  136. config S3C2410_PM
  137. bool
  138. help
  139. Power Management code common to S3C2410 and better
  140. # low-level serial option nodes
  141. config CPU_LLSERIAL_S3C2410_ONLY
  142. bool
  143. default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
  144. config CPU_LLSERIAL_S3C2440_ONLY
  145. bool
  146. default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
  147. config CPU_LLSERIAL_S3C2410
  148. bool
  149. help
  150. Selected if there is an S3C2410 (or register compatible) serial
  151. low-level implementation needed
  152. config CPU_LLSERIAL_S3C2440
  153. bool
  154. help
  155. Selected if there is an S3C2440 (or register compatible) serial
  156. low-level implementation needed
  157. # gpio configurations
  158. config S3C24XX_GPIO_EXTRA
  159. int
  160. default 128 if S3C24XX_GPIO_EXTRA128
  161. default 64 if S3C24XX_GPIO_EXTRA64
  162. default 16 if ARCH_H1940
  163. default 0
  164. config S3C24XX_GPIO_EXTRA64
  165. bool
  166. help
  167. Add an extra 64 gpio numbers to the available GPIO pool. This is
  168. available for boards that need extra gpios for external devices.
  169. config S3C24XX_GPIO_EXTRA128
  170. bool
  171. help
  172. Add an extra 128 gpio numbers to the available GPIO pool. This is
  173. available for boards that need extra gpios for external devices.
  174. config S3C24XX_PLL
  175. bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
  176. depends on ARM_S3C24XX
  177. help
  178. Compile in support for changing the PLL frequency from the
  179. S3C24XX series CPUfreq driver. The PLL takes time to settle
  180. after a frequency change, so by default it is not enabled.
  181. This also means that the PLL tables for the selected CPU(s) will
  182. be built which may increase the size of the kernel image.
  183. # cpu frequency items common between s3c2410 and s3c2440/s3c2442
  184. config S3C2410_IOTIMING
  185. bool
  186. depends on ARM_S3C24XX_CPUFREQ
  187. help
  188. Internal node to select io timing code that is common to the s3c2410
  189. and s3c2440/s3c2442 cpu frequency support.
  190. config S3C2410_CPUFREQ_UTILS
  191. bool
  192. depends on ARM_S3C24XX_CPUFREQ
  193. help
  194. Internal node to select timing code that is common to the s3c2410
  195. and s3c2440/s3c244 cpu frequency support.
  196. # cpu frequency support common to s3c2412, s3c2413 and s3c2442
  197. config S3C2412_IOTIMING
  198. bool
  199. depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
  200. help
  201. Intel node to select io timing code that is common to the s3c2412
  202. and the s3c2443.
  203. # cpu-specific sections
  204. if CPU_S3C2410
  205. config S3C2410_PLL
  206. bool
  207. depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
  208. default y
  209. help
  210. Select the PLL table for the S3C2410
  211. config S3C24XX_SIMTEC_NOR
  212. bool
  213. help
  214. Internal node to specify machine has simtec NOR mapping
  215. config MACH_BAST_IDE
  216. bool
  217. select HAVE_PATA_PLATFORM
  218. help
  219. Internal node for machines with an BAST style IDE
  220. interface
  221. comment "S3C2410 Boards"
  222. #
  223. # The "S3C2410 Boards" list is ordered alphabetically by option text.
  224. # (without ARCH_ or MACH_)
  225. #
  226. config MACH_AML_M5900
  227. bool "AML M5900 Series"
  228. select S3C24XX_SIMTEC_PM if PM
  229. select S3C_DEV_USB_HOST
  230. help
  231. Say Y here if you are using the American Microsystems M5900 Series
  232. <http://www.amltd.com>
  233. config ARCH_BAST
  234. bool "Simtec Electronics BAST (EB2410ITX)"
  235. select ISA
  236. select MACH_BAST_IDE
  237. select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
  238. select S3C24XX_DCLK
  239. select S3C24XX_SIMTEC_NOR
  240. select S3C24XX_SIMTEC_PM if PM
  241. select S3C24XX_SIMTEC_USB
  242. select S3C_DEV_HWMON
  243. select S3C_DEV_NAND
  244. select S3C_DEV_USB_HOST
  245. help
  246. Say Y here if you are using the Simtec Electronics EB2410ITX
  247. development board (also known as BAST)
  248. config BAST_PC104_IRQ
  249. bool "BAST PC104 IRQ support"
  250. depends on ARCH_BAST
  251. default y
  252. help
  253. Say Y here to enable the PC104 IRQ routing on the
  254. Simtec BAST (EB2410ITX)
  255. config ARCH_H1940
  256. bool "IPAQ H1940"
  257. select PM_H1940 if PM
  258. select S3C24XX_SETUP_TS
  259. select S3C_DEV_NAND
  260. select S3C_DEV_USB_HOST
  261. help
  262. Say Y here if you are using the HP IPAQ H1940
  263. config H1940BT
  264. tristate "Control the state of H1940 bluetooth chip"
  265. depends on ARCH_H1940
  266. select RFKILL
  267. help
  268. This is a simple driver that is able to control
  269. the state of built in bluetooth chip on h1940.
  270. config PM_H1940
  271. bool
  272. help
  273. Internal node for H1940 and related PM
  274. config MACH_N30
  275. bool "Acer N30 family"
  276. select S3C_DEV_NAND
  277. select S3C_DEV_USB_HOST
  278. help
  279. Say Y here if you want suppt for the Acer N30, Acer N35,
  280. Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
  281. config MACH_OTOM
  282. bool "NexVision OTOM Board"
  283. select S3C_DEV_NAND
  284. select S3C_DEV_USB_HOST
  285. help
  286. Say Y here if you are using the Nex Vision OTOM board
  287. config MACH_QT2410
  288. bool "QT2410"
  289. select S3C_DEV_NAND
  290. select S3C_DEV_USB_HOST
  291. help
  292. Say Y here if you are using the Armzone QT2410
  293. config ARCH_SMDK2410
  294. bool "SMDK2410/A9M2410"
  295. select S3C24XX_SMDK
  296. select S3C_DEV_USB_HOST
  297. help
  298. Say Y here if you are using the SMDK2410 or the derived module A9M2410
  299. <http://www.fsforth.de>
  300. config MACH_TCT_HAMMER
  301. bool "TCT Hammer Board"
  302. select S3C_DEV_USB_HOST
  303. help
  304. Say Y here if you are using the TinCanTools Hammer Board
  305. <http://www.tincantools.com>
  306. config MACH_VR1000
  307. bool "Thorcom VR1000"
  308. select MACH_BAST_IDE
  309. select S3C24XX_DCLK
  310. select S3C24XX_SIMTEC_NOR
  311. select S3C24XX_SIMTEC_PM if PM
  312. select S3C24XX_SIMTEC_USB
  313. select S3C_DEV_USB_HOST
  314. help
  315. Say Y here if you are using the Thorcom VR1000 board.
  316. endif # CPU_S3C2410
  317. config S3C2412_PM_SLEEP
  318. bool
  319. help
  320. Internal config node to apply sleep for S3C2412 power management.
  321. Can be selected by another SoCs such as S3C2416 with similar
  322. sleep procedure.
  323. if CPU_S3C2412
  324. config CPU_S3C2412_ONLY
  325. bool
  326. depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
  327. !CPU_S3C2442 && !CPU_S3C2443
  328. default y
  329. config S3C2412_DMA
  330. bool
  331. help
  332. Internal config node for S3C2412 DMA support
  333. config S3C2412_PM
  334. bool
  335. select S3C2412_PM_SLEEP
  336. select SAMSUNG_WAKEMASK
  337. help
  338. Internal config node to apply S3C2412 power management
  339. comment "S3C2412 Boards"
  340. #
  341. # The "S3C2412 Boards" list is ordered alphabetically by option text.
  342. # (without ARCH_ or MACH_)
  343. #
  344. config MACH_JIVE
  345. bool "Logitech Jive"
  346. select S3C_DEV_NAND
  347. select S3C_DEV_USB_HOST
  348. help
  349. Say Y here if you are using the Logitech Jive.
  350. config MACH_JIVE_SHOW_BOOTLOADER
  351. bool "Allow access to bootloader partitions in MTD"
  352. depends on MACH_JIVE
  353. config MACH_S3C2413
  354. bool
  355. help
  356. Internal node for S3C2413 version of SMDK2413, so that
  357. machine_is_s3c2413() will work when MACH_SMDK2413 is
  358. selected
  359. config MACH_SMDK2412
  360. bool "SMDK2412"
  361. select MACH_SMDK2413
  362. help
  363. Say Y here if you are using an SMDK2412
  364. Note, this shares support with SMDK2413, so will automatically
  365. select MACH_SMDK2413.
  366. config MACH_SMDK2413
  367. bool "SMDK2413"
  368. select MACH_S3C2413
  369. select S3C24XX_SMDK
  370. select S3C_DEV_NAND
  371. select S3C_DEV_USB_HOST
  372. help
  373. Say Y here if you are using an SMDK2413
  374. config MACH_VSTMS
  375. bool "VMSTMS"
  376. select S3C_DEV_NAND
  377. select S3C_DEV_USB_HOST
  378. help
  379. Say Y here if you are using an VSTMS board
  380. endif # CPU_S3C2412
  381. if CPU_S3C2416
  382. config S3C2416_PM
  383. bool
  384. select S3C2412_PM_SLEEP
  385. help
  386. Internal config node to apply S3C2416 power management
  387. config S3C2416_SETUP_SDHCI
  388. bool
  389. select S3C2416_SETUP_SDHCI_GPIO
  390. help
  391. Internal helper functions for S3C2416 based SDHCI systems
  392. config S3C2416_SETUP_SDHCI_GPIO
  393. bool
  394. help
  395. Common setup code for SDHCI gpio.
  396. comment "S3C2416 Boards"
  397. config MACH_SMDK2416
  398. bool "SMDK2416"
  399. select S3C2416_SETUP_SDHCI
  400. select S3C24XX_SMDK
  401. select S3C_DEV_FB
  402. select S3C_DEV_HSMMC
  403. select S3C_DEV_HSMMC1
  404. select S3C_DEV_NAND
  405. select S3C_DEV_USB_HOST
  406. help
  407. Say Y here if you are using an SMDK2416
  408. endif # CPU_S3C2416
  409. if CPU_S3C2440
  410. config S3C2440_DMA
  411. bool
  412. help
  413. Support for S3C2440 specific DMA code5A
  414. config S3C2440_XTAL_12000000
  415. bool
  416. help
  417. Indicate that the build needs to support 12MHz system
  418. crystal.
  419. config S3C2440_XTAL_16934400
  420. bool
  421. help
  422. Indicate that the build needs to support 16.9344MHz system
  423. crystal.
  424. config S3C2440_PLL_12000000
  425. bool
  426. depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
  427. default y if S3C24XX_PLL
  428. help
  429. PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
  430. config S3C2440_PLL_16934400
  431. bool
  432. depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
  433. default y if S3C24XX_PLL
  434. help
  435. PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
  436. comment "S3C2440 Boards"
  437. #
  438. # The "S3C2440 Boards" list is ordered alphabetically by option text.
  439. # (without ARCH_ or MACH_)
  440. #
  441. config MACH_ANUBIS
  442. bool "Simtec Electronics ANUBIS"
  443. select HAVE_PATA_PLATFORM
  444. select S3C2440_XTAL_12000000
  445. select S3C24XX_DCLK
  446. select S3C24XX_GPIO_EXTRA64
  447. select S3C24XX_SIMTEC_PM if PM
  448. select S3C_DEV_USB_HOST
  449. help
  450. Say Y here if you are using the Simtec Electronics ANUBIS
  451. development system
  452. config MACH_AT2440EVB
  453. bool "Avantech AT2440EVB development board"
  454. select S3C_DEV_NAND
  455. select S3C_DEV_USB_HOST
  456. help
  457. Say Y here if you are using the AT2440EVB development board
  458. config MACH_MINI2440
  459. bool "MINI2440 development board"
  460. select EEPROM_AT24
  461. select LEDS_CLASS
  462. select LEDS_TRIGGERS
  463. select LEDS_TRIGGER_BACKLIGHT
  464. select NEW_LEDS
  465. select S3C_DEV_NAND
  466. select S3C_DEV_USB_HOST
  467. select S3C_SETUP_CAMIF
  468. help
  469. Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
  470. available via various sources. It can come with a 3.5" or 7" touch LCD.
  471. config MACH_NEXCODER_2440
  472. bool "NexVision NEXCODER 2440 Light Board"
  473. select S3C2440_XTAL_12000000
  474. select S3C_DEV_NAND
  475. select S3C_DEV_USB_HOST
  476. help
  477. Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
  478. config MACH_OSIRIS
  479. bool "Simtec IM2440D20 (OSIRIS) module"
  480. select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
  481. select S3C2440_XTAL_12000000
  482. select S3C24XX_DCLK
  483. select S3C24XX_GPIO_EXTRA128
  484. select S3C24XX_SIMTEC_PM if PM
  485. select S3C_DEV_NAND
  486. select S3C_DEV_USB_HOST
  487. help
  488. Say Y here if you are using the Simtec IM2440D20 module, also
  489. known as the Osiris.
  490. config MACH_OSIRIS_DVS
  491. tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
  492. depends on MACH_OSIRIS
  493. select TPS65010
  494. help
  495. Say Y/M here if you want to have dynamic voltage scaling support
  496. on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
  497. The DVS driver alters the voltage supplied to the ARM core
  498. depending on the frequency it is running at. The driver itself
  499. does not do any of the frequency alteration, which is left up
  500. to the cpufreq driver.
  501. config MACH_RX3715
  502. bool "HP iPAQ rx3715"
  503. select PM_H1940 if PM
  504. select S3C2440_XTAL_16934400
  505. select S3C_DEV_NAND
  506. help
  507. Say Y here if you are using the HP iPAQ rx3715.
  508. config ARCH_S3C2440
  509. bool "SMDK2440"
  510. select S3C2440_XTAL_16934400
  511. select S3C24XX_SMDK
  512. select S3C_DEV_NAND
  513. select S3C_DEV_USB_HOST
  514. help
  515. Say Y here if you are using the SMDK2440.
  516. config SMDK2440_CPU2440
  517. bool "SMDK2440 with S3C2440 CPU module"
  518. default y if ARCH_S3C2440
  519. select S3C2440_XTAL_16934400
  520. endif # CPU_S3C2440
  521. if CPU_S3C2442
  522. comment "S3C2442 Boards"
  523. #
  524. # The "S3C2442 Boards" list is ordered alphabetically by option text.
  525. # (without ARCH_ or MACH_)
  526. #
  527. config MACH_NEO1973_GTA02
  528. bool "Openmoko GTA02 / Freerunner phone"
  529. select I2C
  530. select MFD_PCF50633
  531. select PCF50633_GPIO
  532. select POWER_SUPPLY
  533. select S3C24XX_PWM
  534. select S3C_DEV_USB_HOST
  535. help
  536. Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
  537. config MACH_RX1950
  538. bool "HP iPAQ rx1950"
  539. select I2C
  540. select PM_H1940 if PM
  541. select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
  542. select S3C2440_XTAL_16934400
  543. select S3C24XX_DCLK
  544. select S3C24XX_PWM
  545. select S3C_DEV_NAND
  546. help
  547. Say Y here if you're using HP iPAQ rx1950
  548. endif # CPU_S3C2442
  549. if CPU_S3C2443 || CPU_S3C2416
  550. config S3C2443_COMMON
  551. bool
  552. help
  553. Common code for the S3C2443 and similar processors, which includes
  554. the S3C2416 and S3C2450.
  555. config S3C2443_DMA
  556. bool
  557. help
  558. Internal config node for S3C2443 DMA support
  559. config S3C2443_SETUP_SPI
  560. bool
  561. help
  562. Common setup code for SPI GPIO configurations
  563. endif # CPU_S3C2443 || CPU_S3C2416
  564. if CPU_S3C2443
  565. comment "S3C2443 Boards"
  566. config MACH_SMDK2443
  567. bool "SMDK2443"
  568. select S3C24XX_SMDK
  569. select S3C_DEV_HSMMC1
  570. help
  571. Say Y here if you are using an SMDK2443
  572. endif # CPU_S3C2443
  573. endmenu # SAMSUNG S3C24XX SoCs Support
  574. endif # ARCH_S3C24XX