33d82b1c9eff819995f648486bff41405fc346bf
[pandora-kernel.git] / arch / arm / mach-s3c64xx / Kconfig
1 # Copyright 2008 Openmoko, Inc.
2 #       Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
3 #
4 # Licensed under GPLv2
5
6 # Configuration options for the S3C6410 CPU
7
8 config CPU_S3C6400
9         bool
10         select CPU_S3C6400_CLOCK
11         help
12           Enable S3C6400 CPU support
13
14 config CPU_S3C6410
15         bool
16         select CPU_S3C6400_CLOCK
17         help
18           Enable S3C6410 CPU support
19
20 config S3C64XX_DMA
21         bool "S3C64XX DMA"
22         select S3C_DMA
23
24 config S3C64XX_SETUP_SDHCI
25         select S3C64XX_SETUP_SDHCI_GPIO
26         bool
27         help
28           Internal configuration for default SDHCI setup for S3C6400 and
29           S3C6410 SoCs.
30
31 # platform specific device setup
32
33 config S3C64XX_SETUP_I2C0
34         bool
35         default y
36         help
37           Common setup code for i2c bus 0.
38
39           Note, currently since i2c0 is always compiled, this setup helper
40           is always compiled with it.
41
42 config S3C64XX_SETUP_I2C1
43         bool
44         help
45           Common setup code for i2c bus 1.
46
47 config S3C64XX_SETUP_FB_24BPP
48         bool
49         help
50           Common setup code for S3C64XX with an 24bpp RGB display helper.
51
52 config S3C64XX_SETUP_SDHCI_GPIO
53         bool
54         help
55           Common setup code for S3C64XX SDHCI GPIO configurations
56
57 # S36400 Macchine support
58
59 config MACH_SMDK6400
60        bool "SMDK6400"
61         select CPU_S3C6400
62         select S3C_DEV_HSMMC
63         select S3C_DEV_NAND
64         select S3C64XX_SETUP_SDHCI
65         help
66           Machine support for the Samsung SMDK6400
67
68 # S3C6410 machine support
69
70 config MACH_ANW6410
71         bool "A&W6410"
72         select CPU_S3C6410
73         select S3C_DEV_FB
74         select S3C64XX_SETUP_FB_24BPP
75         help
76           Machine support for the A&W6410
77
78 config MACH_SMDK6410
79         bool "SMDK6410"
80         select CPU_S3C6410
81         select S3C_DEV_HSMMC
82         select S3C_DEV_HSMMC1
83         select S3C_DEV_I2C1
84         select S3C_DEV_FB
85         select S3C_DEV_USB_HOST
86         select S3C_DEV_USB_HSOTG
87         select S3C64XX_SETUP_SDHCI
88         select S3C64XX_SETUP_I2C1
89         select S3C64XX_SETUP_FB_24BPP
90         help
91           Machine support for the Samsung SMDK6410
92
93 # At least some of the SMDK6410s were shipped with the card detect
94 # for the MMC/SD slots connected to the same input. This means that
95 # either the boards need to be altered to have channel0 to an alternate
96 # configuration or that only one slot can be used.
97
98 choice
99         prompt "SMDK6410 MMC/SD slot setup"
100         depends on MACH_SMDK6410
101
102 config SMDK6410_SD_CH0
103         bool "Use channel 0 only"
104         depends on MACH_SMDK6410
105         help
106           Select CON7 (channel 0) as the MMC/SD slot, as
107           at least some SMDK6410 boards come with the
108           resistors fitted so that the card detects for
109           channels 0 and 1 are the same.
110
111 config SMDK6410_SD_CH1
112         bool "Use channel 1 only"
113         depends on MACH_SMDK6410
114         help
115           Select CON6 (channel 1) as the MMC/SD slot, as
116           at least some SMDK6410 boards come with the
117           resistors fitted so that the card detects for
118           channels 0 and 1 are the same.
119
120 endchoice
121
122 config SMDK6410_WM1190_EV1
123         bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
124         depends on MACH_SMDK6410
125         select REGULATOR
126         select REGULATOR_WM8350
127         select S3C24XX_GPIO_EXTRA64
128         select MFD_WM8350_I2C
129         select MFD_WM8350_CONFIG_MODE_0
130         select MFD_WM8350_CONFIG_MODE_3
131         select MFD_WM8352_CONFIG_MODE_0
132         help
133           The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
134           and audio daughtercard for the Samsung SMDK6410 reference
135           platform.  Enabling this option will build support for this
136           module into the kernel.  The presence of the module will be
137           detected at runtime so the the resulting kernel can be used
138           with or without the 1190-EV1 fitted.
139
140 config MACH_NCP
141         bool "NCP"
142         select CPU_S3C6410
143         select S3C_DEV_I2C1
144         select S3C_DEV_HSMMC1
145         select S3C64XX_SETUP_I2C1
146         help
147           Machine support for the Samsung NCP
148
149 config MACH_HMT
150         bool "Airgoo HMT"
151         select CPU_S3C6410
152         select S3C_DEV_FB
153         select S3C_DEV_NAND
154         select S3C_DEV_USB_HOST
155         select S3C64XX_SETUP_FB_24BPP
156         select HAVE_PWM
157         help
158           Machine support for the Airgoo HMT