blob: 53350b4493bdadae1b292fd4b60d90a538ec9b77 [file] [log] [blame]
Ben Dooksa08ab632008-10-21 14:06:39 +01001# 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
Ben Dooksd626aee2008-10-21 14:06:50 +01009
10config CPU_S3C6410
11 bool
Ben Dooksaa64ea32008-10-21 14:06:58 +010012 select CPU_S3C6400_INIT
Ben Dookscf18acf2008-10-21 14:07:02 +010013 select CPU_S3C6400_CLOCK
Ben Dooksd626aee2008-10-21 14:06:50 +010014 help
15 Enable S3C6410 CPU support
16
Ben Dooks5cc7fd82008-10-31 16:14:38 +000017config S3C6410_SETUP_SDHCI
18 bool
19 help
20 Internal helper functions for S3C6410 based SDHCI systems
21
Ben Dooks5718df92008-10-21 14:07:09 +010022config MACH_SMDK6410
23 bool "SMDK6410"
24 select CPU_S3C6410
Ben Dooks5b323c72008-10-31 16:14:28 +000025 select S3C_DEV_HSMMC
Ben Dooksb24636c2008-11-03 20:14:53 +000026 select S3C_DEV_HSMMC1
Ben Dooksd7ea3742008-10-31 16:14:57 +000027 select S3C_DEV_I2C1
Ben Dooks438a5d42008-11-19 15:41:34 +000028 select S3C_DEV_FB
Ben Dooks5cc7fd82008-10-31 16:14:38 +000029 select S3C6410_SETUP_SDHCI
Ben Dooksd7ea3742008-10-31 16:14:57 +000030 select S3C64XX_SETUP_I2C1
Ben Dooks438a5d42008-11-19 15:41:34 +000031 select S3C64XX_SETUP_FB_24BPP
Ben Dooks5718df92008-10-21 14:07:09 +010032 help
33 Machine support for the Samsung SMDK6410
Ben Dooksb24636c2008-11-03 20:14:53 +000034
35# At least some of the SMDK6410s were shipped with the card detect
36# for the MMC/SD slots connected to the same input. This means that
37# either the boards need to be altered to have channel0 to an alternate
38# configuration or that only one slot can be used.
39
40choice
41 prompt "SMDK6410 MMC/SD slot setup"
42 depends on MACH_SMDK6410
43
44config SMDK6410_SD_CH0
45 bool "Use channel 0 only"
46 depends on MACH_SMDK6410
47 help
48 Select CON7 (channel 0) as the MMC/SD slot, as
49 at least some SMDK6410 boards come with the
50 resistors fitted so that the card detects for
51 channels 0 and 1 are the same.
52
53config SMDK6410_SD_CH1
54 bool "Use channel 1 only"
55 depends on MACH_SMDK6410
56 help
57 Select CON6 (channel 1) 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
62endchoice
Mark Brownecc558a2009-02-17 15:59:38 +000063
64config SMDK6410_WM1190_EV1
65 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
66 depends on MACH_SMDK6410
67 select REGULATOR
68 select REGULATOR_WM8350
69 select MFD_WM8350_I2C
70 select MFD_WM8350_CONFIG_MODE_0
71 select MFD_WM8350_CONFIG_MODE_3
72 select MFD_WM8352_CONFIG_MODE_0
73 help
74 The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
75 and audio daughtercard for the Samsung SMDK6410 reference
76 platform. Enabling this option will build support for this
77 module into the kernel. The presence of the module will be
78 detected at runtime so the the resulting kernel can be used
79 with or without the 1190-EV1 fitted.
Kyungmin Park87c41222009-03-11 11:05:55 +090080
81config MACH_NCP
82 bool "NCP"
83 select CPU_S3C6410
84 select S3C_DEV_I2C1
85 select S3C_DEV_HSMMC1
86 select S3C64XX_SETUP_I2C1
87 help
88 Machine support for the Samsung NCP