[PATCH] S3C64XX: Basic A&W6410 board support patch V2
[linux-2.6] / 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         help
20           Internal helper functions for S3C6410 based SDHCI systems
21
22 config MACH_ANW6410
23         bool "A&W6410"
24         select CPU_S3C6410
25         select S3C_DEV_FB
26         select S3C64XX_SETUP_FB_24BPP
27         help
28           Machine support for the A&W6410
29
30 config MACH_SMDK6410
31         bool "SMDK6410"
32         select CPU_S3C6410
33         select S3C_DEV_HSMMC
34         select S3C_DEV_HSMMC1
35         select S3C_DEV_I2C1
36         select S3C_DEV_FB
37         select S3C6410_SETUP_SDHCI
38         select S3C64XX_SETUP_I2C1
39         select S3C64XX_SETUP_FB_24BPP
40         help
41           Machine support for the Samsung SMDK6410
42
43 # At least some of the SMDK6410s were shipped with the card detect
44 # for the MMC/SD slots connected to the same input. This means that
45 # either the boards need to be altered to have channel0 to an alternate
46 # configuration or that only one slot can be used.
47
48 choice
49         prompt "SMDK6410 MMC/SD slot setup"
50         depends on MACH_SMDK6410
51
52 config SMDK6410_SD_CH0
53         bool "Use channel 0 only"
54         depends on MACH_SMDK6410
55         help
56           Select CON7 (channel 0) as the MMC/SD slot, as
57           at least some SMDK6410 boards come with the
58           resistors fitted so that the card detects for
59           channels 0 and 1 are the same.
60        
61 config SMDK6410_SD_CH1
62         bool "Use channel 1 only"
63         depends on MACH_SMDK6410
64         help
65           Select CON6 (channel 1) as the MMC/SD slot, as
66           at least some SMDK6410 boards come with the
67           resistors fitted so that the card detects for
68           channels 0 and 1 are the same.
69
70 endchoice
71
72 config SMDK6410_WM1190_EV1
73         bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
74         depends on MACH_SMDK6410
75         select REGULATOR
76         select REGULATOR_WM8350
77         select MFD_WM8350_I2C
78         select MFD_WM8350_CONFIG_MODE_0
79         select MFD_WM8350_CONFIG_MODE_3
80         select MFD_WM8352_CONFIG_MODE_0
81         help
82           The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
83           and audio daughtercard for the Samsung SMDK6410 reference
84           platform.  Enabling this option will build support for this
85           module into the kernel.  The presence of the module will be
86           detected at runtime so the the resulting kernel can be used
87           with or without the 1190-EV1 fitted.
88
89 config MACH_NCP
90         bool "NCP"
91         select CPU_S3C6410
92         select S3C_DEV_I2C1
93         select S3C_DEV_HSMMC1
94         select S3C64XX_SETUP_I2C1
95         help
96           Machine support for the Samsung NCP