Kconfig 13 KB

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