Kconfig 13 KB

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