Kconfig 14 KB

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