blob: 53fc3ff657f7b7855c0907d76f470af1ad8f0476 [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
Ben Dooks4faf68672009-03-25 11:01:24 +000019 select S3C64XX_SETUP_SDHCI_GPIO
Ben Dooks5cc7fd82008-10-31 16:14:38 +000020 help
21 Internal helper functions for S3C6410 based SDHCI systems
22
Kwangwoo Lee1f26a8a2009-04-28 10:35:57 +090023config 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
Ben Dooks5718df92008-10-21 14:07:09 +010031config MACH_SMDK6410
32 bool "SMDK6410"
33 select CPU_S3C6410
Ben Dooks5b323c72008-10-31 16:14:28 +000034 select S3C_DEV_HSMMC
Ben Dooksb24636c2008-11-03 20:14:53 +000035 select S3C_DEV_HSMMC1
Ben Dooksd7ea3742008-10-31 16:14:57 +000036 select S3C_DEV_I2C1
Ben Dooks438a5d42008-11-19 15:41:34 +000037 select S3C_DEV_FB
Ben Dooks98fd63b2009-03-06 19:49:49 +000038 select S3C_DEV_USB_HOST
Ben Dooks06fa1d32009-05-16 22:11:20 +010039 select S3C_DEV_USB_HSOTG
Ben Dooks5cc7fd82008-10-31 16:14:38 +000040 select S3C6410_SETUP_SDHCI
Ben Dooksd7ea3742008-10-31 16:14:57 +000041 select S3C64XX_SETUP_I2C1
Ben Dooks438a5d42008-11-19 15:41:34 +000042 select S3C64XX_SETUP_FB_24BPP
Ben Dooks5718df92008-10-21 14:07:09 +010043 help
44 Machine support for the Samsung SMDK6410
Ben Dooksb24636c2008-11-03 20:14:53 +000045
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
51choice
52 prompt "SMDK6410 MMC/SD slot setup"
53 depends on MACH_SMDK6410
54
55config 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
64config 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
73endchoice
Mark Brownecc558a2009-02-17 15:59:38 +000074
75config 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.
Kyungmin Park87c41222009-03-11 11:05:55 +090091
92config 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
Peter Korsgaard2896bda2009-07-01 17:47:09 +0200100
101config MACH_HMT
102 bool "Airgoo HMT"
103 select CPU_S3C6410
104 select S3C_DEV_FB
Ben Dooksd23b3512009-09-17 00:01:54 +0100105 select S3C_DEV_NAND
Peter Korsgaard2896bda2009-07-01 17:47:09 +0200106 select S3C_DEV_USB_HOST
107 select S3C64XX_SETUP_FB_24BPP
108 select HAVE_PWM
109 help
110 Machine support for the Airgoo HMT