Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Copyright (c) 2012 Samsung Electronics Co., Ltd.
  4. # http://www.samsung.com/
  5. #
  6. # Copyright 2007 Simtec Electronics
  7. if ARCH_S3C24XX
  8. config PLAT_S3C24XX
  9. def_bool y
  10. select GPIOLIB
  11. select NO_IOPORT_MAP
  12. select S3C_DEV_NAND
  13. select IRQ_DOMAIN
  14. select COMMON_CLK
  15. help
  16. Base platform code for any Samsung S3C24XX device
  17. menu "SAMSUNG S3C24XX SoCs Support"
  18. comment "S3C24XX SoCs"
  19. config CPU_S3C2410
  20. bool "SAMSUNG S3C2410"
  21. default y
  22. select CPU_ARM920T
  23. select S3C2410_COMMON_CLK
  24. select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
  25. select S3C2410_PM if PM
  26. help
  27. Support for S3C2410 and S3C2410A family from the S3C24XX line
  28. of Samsung Mobile CPUs.
  29. config CPU_S3C2412
  30. bool "SAMSUNG S3C2412"
  31. select CPU_ARM926T
  32. select S3C2412_COMMON_CLK
  33. select S3C2412_PM if PM_SLEEP
  34. help
  35. Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
  36. config CPU_S3C2416
  37. bool "SAMSUNG S3C2416/S3C2450"
  38. select CPU_ARM926T
  39. select S3C2416_PM if PM_SLEEP
  40. select S3C2443_COMMON_CLK
  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 S3C2410_COMMON_CLK
  47. select S3C2410_PM if PM_SLEEP
  48. help
  49. Support for S3C2440 Samsung Mobile CPU based systems.
  50. config CPU_S3C2442
  51. bool "SAMSUNG S3C2442"
  52. select CPU_ARM920T
  53. select S3C2410_COMMON_CLK
  54. select S3C2410_PM if PM_SLEEP
  55. help
  56. Support for S3C2442 Samsung Mobile CPU based systems.
  57. config CPU_S3C244X
  58. def_bool y
  59. depends on CPU_S3C2440 || CPU_S3C2442
  60. config CPU_S3C2443
  61. bool "SAMSUNG S3C2443"
  62. select CPU_ARM920T
  63. select S3C2443_COMMON_CLK
  64. help
  65. Support for the S3C2443 SoC from the S3C24XX line
  66. # common code
  67. config S3C24XX_SMDK
  68. bool
  69. help
  70. Common machine code for SMDK2410 and SMDK2440
  71. config S3C24XX_SIMTEC_AUDIO
  72. bool
  73. depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
  74. default y
  75. help
  76. Add audio devices for common Simtec S3C24XX boards
  77. config S3C24XX_SIMTEC_PM
  78. bool
  79. help
  80. Common power management code for systems that are
  81. compatible with the Simtec style of power management
  82. config S3C24XX_SIMTEC_USB
  83. bool
  84. help
  85. USB management code for common Simtec S3C24XX boards
  86. config S3C24XX_SETUP_TS
  87. bool
  88. help
  89. Compile in platform device definition for Samsung TouchScreen.
  90. config S3C2410_PM
  91. bool
  92. help
  93. Power Management code common to S3C2410 and better
  94. config S3C24XX_PLL
  95. bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
  96. depends on ARM_S3C24XX_CPUFREQ
  97. help
  98. Compile in support for changing the PLL frequency from the
  99. S3C24XX series CPUfreq driver. The PLL takes time to settle
  100. after a frequency change, so by default it is not enabled.
  101. This also means that the PLL tables for the selected CPU(s) will
  102. be built which may increase the size of the kernel image.
  103. config S3C_SETUP_CAMIF
  104. bool
  105. help
  106. Compile in common setup code for S3C CAMIF devices
  107. # cpu frequency items common between s3c2410 and s3c2440/s3c2442
  108. config S3C2410_IOTIMING
  109. bool
  110. depends on ARM_S3C24XX_CPUFREQ
  111. help
  112. Internal node to select io timing code that is common to the s3c2410
  113. and s3c2440/s3c2442 cpu frequency support.
  114. config S3C2410_CPUFREQ_UTILS
  115. bool
  116. depends on ARM_S3C24XX_CPUFREQ
  117. help
  118. Internal node to select timing code that is common to the s3c2410
  119. and s3c2440/s3c244 cpu frequency support.
  120. # cpu frequency support common to s3c2412, s3c2413 and s3c2442
  121. config S3C2412_IOTIMING
  122. bool
  123. depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
  124. help
  125. Intel node to select io timing code that is common to the s3c2412
  126. and the s3c2443.
  127. # cpu-specific sections
  128. if CPU_S3C2410
  129. config S3C2410_PLL
  130. bool
  131. depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
  132. default y
  133. help
  134. Select the PLL table for the S3C2410
  135. config S3C24XX_SIMTEC_NOR
  136. bool
  137. help
  138. Internal node to specify machine has simtec NOR mapping
  139. config MACH_BAST_IDE
  140. bool
  141. select HAVE_PATA_PLATFORM
  142. help
  143. Internal node for machines with an BAST style IDE
  144. interface
  145. comment "S3C2410 Boards"
  146. #
  147. # The "S3C2410 Boards" list is ordered alphabetically by option text.
  148. # (without ARCH_ or MACH_)
  149. #
  150. config MACH_AML_M5900
  151. bool "AML M5900 Series"
  152. select S3C24XX_SIMTEC_PM if PM
  153. select S3C_DEV_USB_HOST
  154. help
  155. Say Y here if you are using the American Microsystems M5900 Series
  156. <http://www.amltd.com>
  157. config ARCH_BAST
  158. bool "Simtec Electronics BAST (EB2410ITX)"
  159. select ISA
  160. select MACH_BAST_IDE
  161. select S3C2410_COMMON_DCLK
  162. select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
  163. select S3C24XX_SIMTEC_NOR
  164. select S3C24XX_SIMTEC_PM if PM
  165. select S3C24XX_SIMTEC_USB
  166. select S3C_DEV_HWMON
  167. select S3C_DEV_NAND
  168. select S3C_DEV_USB_HOST
  169. help
  170. Say Y here if you are using the Simtec Electronics EB2410ITX
  171. development board (also known as BAST)
  172. config BAST_PC104_IRQ
  173. bool "BAST PC104 IRQ support"
  174. depends on ARCH_BAST
  175. default y
  176. help
  177. Say Y here to enable the PC104 IRQ routing on the
  178. Simtec BAST (EB2410ITX)
  179. config ARCH_H1940
  180. bool "IPAQ H1940"
  181. select PM_H1940 if PM
  182. select S3C24XX_SETUP_TS
  183. select S3C_DEV_NAND
  184. select S3C_DEV_USB_HOST
  185. help
  186. Say Y here if you are using the HP IPAQ H1940
  187. config H1940BT
  188. tristate "Control the state of H1940 bluetooth chip"
  189. depends on ARCH_H1940
  190. depends on RFKILL
  191. help
  192. This is a simple driver that is able to control
  193. the state of built in bluetooth chip on h1940.
  194. config MACH_N30
  195. bool "Acer N30 family"
  196. select S3C_DEV_NAND
  197. select S3C_DEV_USB_HOST
  198. help
  199. Say Y here if you want suppt for the Acer N30, Acer N35,
  200. Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
  201. config MACH_OTOM
  202. bool "NexVision OTOM Board"
  203. select S3C_DEV_NAND
  204. select S3C_DEV_USB_HOST
  205. help
  206. Say Y here if you are using the Nex Vision OTOM board
  207. config MACH_QT2410
  208. bool "QT2410"
  209. select S3C_DEV_NAND
  210. select S3C_DEV_USB_HOST
  211. help
  212. Say Y here if you are using the Armzone QT2410
  213. config ARCH_SMDK2410
  214. bool "SMDK2410/A9M2410"
  215. select S3C24XX_SMDK
  216. select S3C_DEV_USB_HOST
  217. help
  218. Say Y here if you are using the SMDK2410 or the derived module A9M2410
  219. <http://www.fsforth.de>
  220. config MACH_TCT_HAMMER
  221. bool "TCT Hammer Board"
  222. select S3C_DEV_USB_HOST
  223. help
  224. Say Y here if you are using the TinCanTools Hammer Board
  225. <http://www.tincantools.com>
  226. config MACH_VR1000
  227. bool "Thorcom VR1000"
  228. select MACH_BAST_IDE
  229. select S3C2410_COMMON_DCLK
  230. select S3C24XX_SIMTEC_NOR
  231. select S3C24XX_SIMTEC_PM if PM
  232. select S3C24XX_SIMTEC_USB
  233. select S3C_DEV_USB_HOST
  234. help
  235. Say Y here if you are using the Thorcom VR1000 board.
  236. endif # CPU_S3C2410
  237. config S3C2412_PM_SLEEP
  238. bool
  239. help
  240. Internal config node to apply sleep for S3C2412 power management.
  241. Can be selected by another SoCs such as S3C2416 with similar
  242. sleep procedure.
  243. if CPU_S3C2412
  244. config CPU_S3C2412_ONLY
  245. bool
  246. depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
  247. !CPU_S3C2442 && !CPU_S3C2443
  248. default y
  249. config S3C2412_PM
  250. bool
  251. select S3C2412_PM_SLEEP
  252. select SAMSUNG_WAKEMASK
  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"
  268. depends on MACH_JIVE
  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. select SAMSUNG_WAKEMASK
  302. help
  303. Internal config node to apply S3C2416 power management
  304. config S3C2416_SETUP_SDHCI
  305. bool
  306. select S3C2416_SETUP_SDHCI_GPIO
  307. help
  308. Internal helper functions for S3C2416 based SDHCI systems
  309. config S3C2416_SETUP_SDHCI_GPIO
  310. bool
  311. help
  312. Common setup code for SDHCI gpio.
  313. comment "S3C2416 Boards"
  314. config MACH_SMDK2416
  315. bool "SMDK2416"
  316. select S3C2416_SETUP_SDHCI
  317. select S3C24XX_SMDK
  318. select S3C_DEV_FB
  319. select S3C_DEV_HSMMC
  320. select S3C_DEV_HSMMC1
  321. select S3C_DEV_NAND
  322. select S3C_DEV_USB_HOST
  323. help
  324. Say Y here if you are using an SMDK2416
  325. config MACH_S3C2416_DT
  326. bool "Samsung S3C2416 machine using devicetree"
  327. select TIMER_OF
  328. select USE_OF
  329. select PINCTRL
  330. select PINCTRL_S3C24XX
  331. help
  332. Machine support for Samsung S3C2416 machines with device tree enabled.
  333. Select this if a fdt blob is available for the S3C2416 SoC based board.
  334. Note: This is under development and not all peripherals can be supported
  335. with this machine file.
  336. endif # CPU_S3C2416
  337. if CPU_S3C2440 || CPU_S3C2442
  338. config S3C2440_XTAL_12000000
  339. bool
  340. help
  341. Indicate that the build needs to support 12MHz system
  342. crystal.
  343. config S3C2440_XTAL_16934400
  344. bool
  345. help
  346. Indicate that the build needs to support 16.9344MHz system
  347. crystal.
  348. config S3C2440_PLL_12000000
  349. bool
  350. depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
  351. default y if S3C24XX_PLL
  352. help
  353. PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
  354. config S3C2440_PLL_16934400
  355. bool
  356. depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
  357. default y if S3C24XX_PLL
  358. help
  359. PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
  360. endif
  361. if CPU_S3C2440
  362. comment "S3C2440 Boards"
  363. #
  364. # The "S3C2440 Boards" list is ordered alphabetically by option text.
  365. # (without ARCH_ or MACH_)
  366. #
  367. config MACH_ANUBIS
  368. bool "Simtec Electronics ANUBIS"
  369. select HAVE_PATA_PLATFORM
  370. select S3C2410_COMMON_DCLK
  371. select S3C2440_XTAL_12000000
  372. select S3C24XX_SIMTEC_PM if PM
  373. select S3C_DEV_USB_HOST
  374. help
  375. Say Y here if you are using the Simtec Electronics ANUBIS
  376. development system
  377. config MACH_AT2440EVB
  378. bool "Avantech AT2440EVB development board"
  379. select S3C_DEV_NAND
  380. select S3C_DEV_USB_HOST
  381. help
  382. Say Y here if you are using the AT2440EVB development board
  383. config MACH_MINI2440
  384. bool "MINI2440 development board"
  385. select LEDS_CLASS
  386. select LEDS_TRIGGERS
  387. select LEDS_TRIGGER_BACKLIGHT
  388. select NEW_LEDS
  389. select S3C_DEV_NAND
  390. select S3C_DEV_USB_HOST
  391. select S3C_SETUP_CAMIF
  392. help
  393. Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
  394. available via various sources. It can come with a 3.5" or 7" touch LCD.
  395. config MACH_NEXCODER_2440
  396. bool "NexVision NEXCODER 2440 Light Board"
  397. select S3C2440_XTAL_12000000
  398. select S3C_DEV_NAND
  399. select S3C_DEV_USB_HOST
  400. help
  401. Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
  402. config MACH_OSIRIS
  403. bool "Simtec IM2440D20 (OSIRIS) module"
  404. select S3C2410_COMMON_DCLK
  405. select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
  406. select S3C2440_XTAL_12000000
  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. depends on 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 MFD_PCF50633
  454. select PCF50633_GPIO
  455. select POWER_SUPPLY
  456. select S3C24XX_PWM
  457. select S3C_DEV_USB_HOST
  458. help
  459. Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
  460. config MACH_RX1950
  461. bool "HP iPAQ rx1950"
  462. select I2C
  463. select PM_H1940 if PM
  464. select S3C2410_COMMON_DCLK
  465. select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
  466. select S3C2440_XTAL_16934400
  467. select S3C24XX_PWM
  468. select S3C_DEV_NAND
  469. help
  470. Say Y here if you're using HP iPAQ rx1950
  471. endif # CPU_S3C2442
  472. if CPU_S3C2443 || CPU_S3C2416
  473. config S3C2443_SETUP_SPI
  474. bool
  475. help
  476. Common setup code for SPI GPIO configurations
  477. endif # CPU_S3C2443 || CPU_S3C2416
  478. if CPU_S3C2443
  479. comment "S3C2443 Boards"
  480. config MACH_SMDK2443
  481. bool "SMDK2443"
  482. select S3C24XX_SMDK
  483. select S3C_DEV_HSMMC1
  484. help
  485. Say Y here if you are using an SMDK2443
  486. endif # CPU_S3C2443
  487. config PM_H1940
  488. bool
  489. help
  490. Internal node for H1940 and related PM
  491. endmenu # SAMSUNG S3C24XX SoCs Support
  492. endif # ARCH_S3C24XX