Merge git://git.infradead.org/battery-2.6
[linux-2.6-block.git] / arch / arm / mach-s3c6410 / Kconfig
CommitLineData
a08ab637
BD
1# Copyright 2008 Openmoko, Inc.
2# Copyright 2008 Simtec Electronics
3#
4# Licensed under GPLv2
5
6# Configuration options for the S3C6410 CPU
d626aeed
BD
7
8config CPU_S3C6410
9 bool
aa64ea3f 10 select CPU_S3C6400_INIT
cf18acf0 11 select CPU_S3C6400_CLOCK
d626aeed
BD
12 help
13 Enable S3C6410 CPU support
14
5cc7fd88
BD
15config S3C6410_SETUP_SDHCI
16 bool
4faf6867 17 select S3C64XX_SETUP_SDHCI_GPIO
5cc7fd88
BD
18 help
19 Internal helper functions for S3C6410 based SDHCI systems
20
1f26a8a0
KL
21config 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
5718df9d
BD
29config MACH_SMDK6410
30 bool "SMDK6410"
31 select CPU_S3C6410
5b323c7b 32 select S3C_DEV_HSMMC
b24636cf 33 select S3C_DEV_HSMMC1
d7ea3743 34 select S3C_DEV_I2C1
438a5d42 35 select S3C_DEV_FB
98fd63ba 36 select S3C_DEV_USB_HOST
06fa1d37 37 select S3C_DEV_USB_HSOTG
5cc7fd88 38 select S3C6410_SETUP_SDHCI
d7ea3743 39 select S3C64XX_SETUP_I2C1
438a5d42 40 select S3C64XX_SETUP_FB_24BPP
5718df9d
BD
41 help
42 Machine support for the Samsung SMDK6410
b24636cf
BD
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
49choice
50 prompt "SMDK6410 MMC/SD slot setup"
51 depends on MACH_SMDK6410
52
53config 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
62config 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
71endchoice
ecc558ac
MB
72
73config SMDK6410_WM1190_EV1
74 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
75 depends on MACH_SMDK6410
76 select REGULATOR
77 select REGULATOR_WM8350
c7a19787 78 select S3C24XX_GPIO_EXTRA64
ecc558ac
MB
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.
87c4122f
KP
90
91config 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
2896bda4
PK
99
100config MACH_HMT
101 bool "Airgoo HMT"
102 select CPU_S3C6410
103 select S3C_DEV_FB
d23b3517 104 select S3C_DEV_NAND
2896bda4
PK
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