Merge branches 'slab/documentation', 'slab/fixes', 'slob/cleanups' and 'slub/fixes...
[sfrench/cifs-2.6.git] / arch / arm / mach-s3c6410 / Kconfig
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
9
10 config CPU_S3C6410
11         bool
12         select CPU_S3C6400_INIT
13         select CPU_S3C6400_CLOCK
14         help
15           Enable S3C6410 CPU support
16
17 config S3C6410_SETUP_SDHCI
18         bool
19         select S3C64XX_SETUP_SDHCI_GPIO
20         help
21           Internal helper functions for S3C6410 based SDHCI systems
22
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
31 config MACH_SMDK6410
32         bool "SMDK6410"
33         select CPU_S3C6410
34         select S3C_DEV_HSMMC
35         select S3C_DEV_HSMMC1
36         select S3C_DEV_I2C1
37         select S3C_DEV_FB
38         select S3C_DEV_USB_HOST
39         select S3C_DEV_USB_HSOTG
40         select S3C6410_SETUP_SDHCI
41         select S3C64XX_SETUP_I2C1
42         select S3C64XX_SETUP_FB_24BPP
43         help
44           Machine support for the Samsung SMDK6410
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
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
80         select MFD_WM8350_I2C
81         select MFD_WM8350_CONFIG_MODE_0
82         select MFD_WM8350_CONFIG_MODE_3
83         select MFD_WM8352_CONFIG_MODE_0
84         help
85           The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
86           and audio daughtercard for the Samsung SMDK6410 reference
87           platform.  Enabling this option will build support for this
88           module into the kernel.  The presence of the module will be
89           detected at runtime so the the resulting kernel can be used
90           with or without the 1190-EV1 fitted.
91
92 config MACH_NCP
93         bool "NCP"
94         select CPU_S3C6410
95         select S3C_DEV_I2C1
96         select S3C_DEV_HSMMC1
97         select S3C64XX_SETUP_I2C1
98         help
99           Machine support for the Samsung NCP