Linux-libre 3.10.54-gnu
[librecmc/linux-libre.git] / arch / arm / mach-s5p64x0 / Kconfig
1 # arch/arm/mach-s5p64x0/Kconfig
2 #
3 # Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
4 #               http://www.samsung.com/
5 #
6 # Licensed under GPLv2
7
8 if ARCH_S5P64X0
9
10 config CPU_S5P6440
11         bool
12         select S5P_SLEEP if PM
13         select SAMSUNG_DMADEV
14         select SAMSUNG_HRT
15         select SAMSUNG_WAKEMASK if PM
16         help
17           Enable S5P6440 CPU support
18
19 config CPU_S5P6450
20         bool
21         select SAMSUNG_HRT
22         select S5P_SLEEP if PM
23         select SAMSUNG_DMADEV
24         select SAMSUNG_WAKEMASK if PM
25         help
26           Enable S5P6450 CPU support
27
28 config S5P64X0_SETUP_FB_24BPP
29         bool
30         help
31           Common setup code for S5P64X0 based boards with a LCD display
32           through RGB interface.
33
34 config S5P64X0_SETUP_I2C1
35         bool
36         help
37           Common setup code for i2c bus 1.
38
39 config S5P64X0_SETUP_SPI
40         bool
41         help
42           Common setup code for SPI GPIO configurations
43
44 config S5P64X0_SETUP_SDHCI_GPIO
45         bool
46         help
47           Common setup code for SDHCI gpio.
48
49 # machine support
50
51 config MACH_SMDK6440
52         bool "SMDK6440"
53         select CPU_S5P6440
54         select S3C_DEV_FB
55         select S3C_DEV_HSMMC
56         select S3C_DEV_HSMMC1
57         select S3C_DEV_HSMMC2
58         select S3C_DEV_I2C1
59         select S3C_DEV_RTC
60         select S3C_DEV_WDT
61         select S5P64X0_SETUP_FB_24BPP
62         select S5P64X0_SETUP_I2C1
63         select S5P64X0_SETUP_SDHCI_GPIO
64         select SAMSUNG_DEV_ADC
65         select SAMSUNG_DEV_BACKLIGHT
66         select SAMSUNG_DEV_PWM
67         select SAMSUNG_DEV_TS
68         help
69           Machine support for the Samsung SMDK6440
70
71 config MACH_SMDK6450
72         bool "SMDK6450"
73         select CPU_S5P6450
74         select S3C_DEV_FB
75         select S3C_DEV_HSMMC
76         select S3C_DEV_HSMMC1
77         select S3C_DEV_HSMMC2
78         select S3C_DEV_I2C1
79         select S3C_DEV_RTC
80         select S3C_DEV_WDT
81         select S5P64X0_SETUP_FB_24BPP
82         select S5P64X0_SETUP_I2C1
83         select S5P64X0_SETUP_SDHCI_GPIO
84         select SAMSUNG_DEV_ADC
85         select SAMSUNG_DEV_BACKLIGHT
86         select SAMSUNG_DEV_PWM
87         select SAMSUNG_DEV_TS
88         help
89           Machine support for the Samsung SMDK6450
90
91 menu "Use 8-bit SDHCI bus width"
92
93 config S5P64X0_SD_CH1_8BIT
94         bool "SDHCI Channel 1 (Slot 1)"
95         depends on MACH_SMDK6450 || MACH_SMDK6440
96         help
97           Support SDHCI Channel 1 8-bit bus.
98           If selected, Channel 2 is disabled.
99
100 endmenu
101
102 endif