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