Ben Dooks | a08ab63 | 2008-10-21 14:06:39 +0100 | [diff] [blame] | 1 | # arch/arm/mach-s3c6410/Kconfig |
| 2 | # |
| 3 | # Copyright 2008 Openmoko, Inc. |
| 4 | # Copyright 2008 Simtec Electronics |
| 5 | # |
| 6 | # Licensed under GPLv2 |
| 7 | |
| 8 | # Configuration options for the S3C6410 CPU |
Ben Dooks | d626aee | 2008-10-21 14:06:50 +0100 | [diff] [blame] | 9 | |
| 10 | config CPU_S3C6410 |
| 11 | bool |
Ben Dooks | aa64ea3 | 2008-10-21 14:06:58 +0100 | [diff] [blame] | 12 | select CPU_S3C6400_INIT |
Ben Dooks | cf18acf | 2008-10-21 14:07:02 +0100 | [diff] [blame] | 13 | select CPU_S3C6400_CLOCK |
Ben Dooks | d626aee | 2008-10-21 14:06:50 +0100 | [diff] [blame] | 14 | help |
| 15 | Enable S3C6410 CPU support |
| 16 | |
Ben Dooks | 5cc7fd8 | 2008-10-31 16:14:38 +0000 | [diff] [blame] | 17 | config S3C6410_SETUP_SDHCI |
| 18 | bool |
Ben Dooks | 4faf6867 | 2009-03-25 11:01:24 +0000 | [diff] [blame] | 19 | select S3C64XX_SETUP_SDHCI_GPIO |
Ben Dooks | 5cc7fd8 | 2008-10-31 16:14:38 +0000 | [diff] [blame] | 20 | help |
| 21 | Internal helper functions for S3C6410 based SDHCI systems |
| 22 | |
Kwangwoo Lee | 1f26a8a | 2009-04-28 10:35:57 +0900 | [diff] [blame] | 23 | config MACH_ANW6410 |
| 24 | bool "A&W6410" |
| 25 | select CPU_S3C6410 |
| 26 | select S3C_DEV_FB |
| 27 | select S3C64XX_SETUP_FB_24BPP |
| 28 | help |
| 29 | Machine support for the A&W6410 |
| 30 | |
Ben Dooks | 5718df9 | 2008-10-21 14:07:09 +0100 | [diff] [blame] | 31 | config MACH_SMDK6410 |
| 32 | bool "SMDK6410" |
| 33 | select CPU_S3C6410 |
Ben Dooks | 5b323c7 | 2008-10-31 16:14:28 +0000 | [diff] [blame] | 34 | select S3C_DEV_HSMMC |
Ben Dooks | b24636c | 2008-11-03 20:14:53 +0000 | [diff] [blame] | 35 | select S3C_DEV_HSMMC1 |
Ben Dooks | d7ea374 | 2008-10-31 16:14:57 +0000 | [diff] [blame] | 36 | select S3C_DEV_I2C1 |
Ben Dooks | 438a5d4 | 2008-11-19 15:41:34 +0000 | [diff] [blame] | 37 | select S3C_DEV_FB |
Ben Dooks | 98fd63b | 2009-03-06 19:49:49 +0000 | [diff] [blame] | 38 | select S3C_DEV_USB_HOST |
Ben Dooks | 06fa1d3 | 2009-05-16 22:11:20 +0100 | [diff] [blame] | 39 | select S3C_DEV_USB_HSOTG |
Ben Dooks | 5cc7fd8 | 2008-10-31 16:14:38 +0000 | [diff] [blame] | 40 | select S3C6410_SETUP_SDHCI |
Ben Dooks | d7ea374 | 2008-10-31 16:14:57 +0000 | [diff] [blame] | 41 | select S3C64XX_SETUP_I2C1 |
Ben Dooks | 438a5d4 | 2008-11-19 15:41:34 +0000 | [diff] [blame] | 42 | select S3C64XX_SETUP_FB_24BPP |
Ben Dooks | 5718df9 | 2008-10-21 14:07:09 +0100 | [diff] [blame] | 43 | help |
| 44 | Machine support for the Samsung SMDK6410 |
Ben Dooks | b24636c | 2008-11-03 20:14:53 +0000 | [diff] [blame] | 45 | |
| 46 | # At least some of the SMDK6410s were shipped with the card detect |
| 47 | # for the MMC/SD slots connected to the same input. This means that |
| 48 | # either the boards need to be altered to have channel0 to an alternate |
| 49 | # configuration or that only one slot can be used. |
| 50 | |
| 51 | choice |
| 52 | prompt "SMDK6410 MMC/SD slot setup" |
| 53 | depends on MACH_SMDK6410 |
| 54 | |
| 55 | config SMDK6410_SD_CH0 |
| 56 | bool "Use channel 0 only" |
| 57 | depends on MACH_SMDK6410 |
| 58 | help |
| 59 | Select CON7 (channel 0) as the MMC/SD slot, as |
| 60 | at least some SMDK6410 boards come with the |
| 61 | resistors fitted so that the card detects for |
| 62 | channels 0 and 1 are the same. |
| 63 | |
| 64 | config SMDK6410_SD_CH1 |
| 65 | bool "Use channel 1 only" |
| 66 | depends on MACH_SMDK6410 |
| 67 | help |
| 68 | Select CON6 (channel 1) as the MMC/SD slot, as |
| 69 | at least some SMDK6410 boards come with the |
| 70 | resistors fitted so that the card detects for |
| 71 | channels 0 and 1 are the same. |
| 72 | |
| 73 | endchoice |
Mark Brown | ecc558a | 2009-02-17 15:59:38 +0000 | [diff] [blame] | 74 | |
| 75 | config SMDK6410_WM1190_EV1 |
| 76 | bool "Support Wolfson Microelectronics 1190-EV1 PMIC card" |
| 77 | depends on MACH_SMDK6410 |
| 78 | select REGULATOR |
| 79 | select REGULATOR_WM8350 |
Mark Brown | c7a1978 | 2009-11-03 14:42:10 +0000 | [diff] [blame] | 80 | select S3C24XX_GPIO_EXTRA64 |
Mark Brown | ecc558a | 2009-02-17 15:59:38 +0000 | [diff] [blame] | 81 | select MFD_WM8350_I2C |
| 82 | select MFD_WM8350_CONFIG_MODE_0 |
| 83 | select MFD_WM8350_CONFIG_MODE_3 |
| 84 | select MFD_WM8352_CONFIG_MODE_0 |
| 85 | help |
| 86 | The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC |
| 87 | and audio daughtercard for the Samsung SMDK6410 reference |
| 88 | platform. Enabling this option will build support for this |
| 89 | module into the kernel. The presence of the module will be |
| 90 | detected at runtime so the the resulting kernel can be used |
| 91 | with or without the 1190-EV1 fitted. |
Kyungmin Park | 87c4122 | 2009-03-11 11:05:55 +0900 | [diff] [blame] | 92 | |
| 93 | config MACH_NCP |
| 94 | bool "NCP" |
| 95 | select CPU_S3C6410 |
| 96 | select S3C_DEV_I2C1 |
| 97 | select S3C_DEV_HSMMC1 |
| 98 | select S3C64XX_SETUP_I2C1 |
| 99 | help |
| 100 | Machine support for the Samsung NCP |
Peter Korsgaard | 2896bda | 2009-07-01 17:47:09 +0200 | [diff] [blame] | 101 | |
| 102 | config MACH_HMT |
| 103 | bool "Airgoo HMT" |
| 104 | select CPU_S3C6410 |
| 105 | select S3C_DEV_FB |
Ben Dooks | d23b351 | 2009-09-17 00:01:54 +0100 | [diff] [blame] | 106 | select S3C_DEV_NAND |
Peter Korsgaard | 2896bda | 2009-07-01 17:47:09 +0200 | [diff] [blame] | 107 | select S3C_DEV_USB_HOST |
| 108 | select S3C64XX_SETUP_FB_24BPP |
| 109 | select HAVE_PWM |
| 110 | help |
| 111 | Machine support for the Airgoo HMT |