diff options
| -rw-r--r-- | arch/avr32/boards/atngw100/Kconfig | 27 | ||||
| -rw-r--r-- | arch/avr32/boards/atngw100/Kconfig_mrmt | 80 | ||||
| -rw-r--r-- | arch/avr32/boards/atngw100/Makefile | 1 | ||||
| -rw-r--r-- | arch/avr32/boards/atngw100/mrmt.c | 373 | ||||
| -rw-r--r-- | arch/avr32/boards/atngw100/setup.c | 5 | ||||
| -rw-r--r-- | arch/avr32/boards/merisc/setup.c | 7 | ||||
| -rw-r--r-- | arch/avr32/boards/mimc200/setup.c | 29 | ||||
| -rw-r--r-- | arch/avr32/configs/atngw100_mrmt_defconfig | 1363 | ||||
| -rw-r--r-- | arch/avr32/include/asm/hw_irq.h | 2 | ||||
| -rw-r--r-- | arch/avr32/kernel/traps.c | 11 | ||||
| -rw-r--r-- | arch/avr32/mach-at32ap/include/mach/board.h | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/atmel-mci.c | 12 | ||||
| -rw-r--r-- | include/linux/atmel-mci.h | 2 |
13 files changed, 1889 insertions, 25 deletions
diff --git a/arch/avr32/boards/atngw100/Kconfig b/arch/avr32/boards/atngw100/Kconfig index b3f99477bbeb..be27a0218ab4 100644 --- a/arch/avr32/boards/atngw100/Kconfig +++ b/arch/avr32/boards/atngw100/Kconfig | |||
| @@ -2,8 +2,15 @@ | |||
| 2 | 2 | ||
| 3 | if BOARD_ATNGW100 | 3 | if BOARD_ATNGW100 |
| 4 | 4 | ||
| 5 | choice | ||
| 6 | prompt "Select an NGW100 add-on board to support" | ||
| 7 | default BOARD_ATNGW100_ADDON_NONE | ||
| 8 | |||
| 9 | config BOARD_ATNGW100_ADDON_NONE | ||
| 10 | bool "None" | ||
| 11 | |||
| 5 | config BOARD_ATNGW100_EVKLCD10X | 12 | config BOARD_ATNGW100_EVKLCD10X |
| 6 | bool "Add support for EVKLCD10X addon board" | 13 | bool "EVKLCD10X addon board" |
| 7 | help | 14 | help |
| 8 | This enables support for the EVKLCD100 (QVGA) or EVKLCD101 (VGA) | 15 | This enables support for the EVKLCD100 (QVGA) or EVKLCD101 (VGA) |
| 9 | addon board for the NGW100. By enabling this the LCD controller and | 16 | addon board for the NGW100. By enabling this the LCD controller and |
| @@ -14,7 +21,19 @@ config BOARD_ATNGW100_EVKLCD10X | |||
| 14 | The MCI pins can be reenabled by editing the "add device function" but | 21 | The MCI pins can be reenabled by editing the "add device function" but |
| 15 | this may break the setup for other displays that use these pins. | 22 | this may break the setup for other displays that use these pins. |
| 16 | 23 | ||
| 17 | Choose 'Y' here if you have a EVKLCD100/101 connected to the NGW100. | 24 | config BOARD_ATNGW100_MRMT |
| 25 | bool "Mediama RMT1/2 add-on board" | ||
| 26 | help | ||
| 27 | This enables support for the Mediama RMT1 or RMT2 board. | ||
| 28 | RMT provides LCD support, AC97 codec and other | ||
| 29 | optional peripherals to the Atmel NGW100. | ||
| 30 | |||
| 31 | This choice disables the detect pin and the write-protect pin for the | ||
| 32 | MCI platform device, since it conflicts with the LCD platform device. | ||
| 33 | The MCI pins can be reenabled by editing the "add device function" but | ||
| 34 | this may break the setup for other displays that use these pins. | ||
| 35 | |||
| 36 | endchoice | ||
| 18 | 37 | ||
| 19 | choice | 38 | choice |
| 20 | prompt "LCD panel resolution on EVKLCD10X" | 39 | prompt "LCD panel resolution on EVKLCD10X" |
| @@ -32,4 +51,8 @@ config BOARD_ATNGW100_EVKLCD10X_POW_QVGA | |||
| 32 | 51 | ||
| 33 | endchoice | 52 | endchoice |
| 34 | 53 | ||
| 54 | if BOARD_ATNGW100_MRMT | ||
| 55 | source "arch/avr32/boards/atngw100/Kconfig_mrmt" | ||
| 56 | endif | ||
| 57 | |||
| 35 | endif # BOARD_ATNGW100 | 58 | endif # BOARD_ATNGW100 |
diff --git a/arch/avr32/boards/atngw100/Kconfig_mrmt b/arch/avr32/boards/atngw100/Kconfig_mrmt new file mode 100644 index 000000000000..9a199a207f3c --- /dev/null +++ b/arch/avr32/boards/atngw100/Kconfig_mrmt | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | # RMT for NGW100 customization | ||
| 2 | |||
| 3 | choice | ||
| 4 | prompt "RMT Version" | ||
| 5 | help | ||
| 6 | Select the RMTx board version. | ||
| 7 | |||
| 8 | config BOARD_MRMT_REV1 | ||
| 9 | bool "RMT1" | ||
| 10 | config BOARD_MRMT_REV2 | ||
| 11 | bool "RMT2" | ||
| 12 | |||
| 13 | endchoice | ||
| 14 | |||
| 15 | config BOARD_MRMT_AC97 | ||
| 16 | bool "Enable AC97 CODEC" | ||
| 17 | help | ||
| 18 | Enable the UCB1400 AC97 CODEC driver. | ||
| 19 | |||
| 20 | choice | ||
| 21 | prompt "Touchscreen Driver" | ||
| 22 | default BOARD_MRMT_ADS7846_TS | ||
| 23 | |||
| 24 | config BOARD_MRMT_UCB1400_TS | ||
| 25 | bool "Use UCB1400 Touchscreen" | ||
| 26 | |||
| 27 | config BOARD_MRMT_ADS7846_TS | ||
| 28 | bool "Use ADS7846 Touchscreen" | ||
| 29 | |||
| 30 | endchoice | ||
| 31 | |||
| 32 | choice | ||
| 33 | prompt "RMTx LCD Selection" | ||
| 34 | default BOARD_MRMT_LCD_DISABLE | ||
| 35 | |||
| 36 | config BOARD_MRMT_LCD_DISABLE | ||
| 37 | bool "LCD Disabled" | ||
| 38 | |||
| 39 | config BOARD_MRMT_LCD_LQ043T3DX0X | ||
| 40 | bool "Sharp LQ043T3DX0x or compatible" | ||
| 41 | help | ||
| 42 | If using RMT2, be sure to load the resistor pack selectors accordingly | ||
| 43 | |||
| 44 | if BOARD_MRMT_REV2 | ||
| 45 | config BOARD_MRMT_LCD_KWH043GM08 | ||
| 46 | bool "Formike KWH043GM08 or compatible" | ||
| 47 | help | ||
| 48 | Be sure to load the RMT2 resistor pack selectors accordingly | ||
| 49 | endif | ||
| 50 | |||
| 51 | endchoice | ||
| 52 | |||
| 53 | if !BOARD_MRMT_LCD_DISABLE | ||
| 54 | config BOARD_MRMT_BL_PWM | ||
| 55 | bool "Use PWM control for LCD Backlight" | ||
| 56 | help | ||
| 57 | Use PWM driver for controlling LCD Backlight. | ||
| 58 | Otherwise, LCD Backlight is always on. | ||
| 59 | endif | ||
| 60 | |||
| 61 | config BOARD_MRMT_RTC_I2C | ||
| 62 | bool "Use External RTC on I2C Bus" | ||
| 63 | help | ||
| 64 | RMT1 has an optional RTC device on the I2C bus. | ||
| 65 | It is a SII S35390A. Be sure to select the | ||
| 66 | matching RTC driver. | ||
| 67 | |||
| 68 | choice | ||
| 69 | prompt "Wireless Module on ttyS2" | ||
| 70 | default BOARD_MRMT_WIRELESS_ZB | ||
| 71 | |||
| 72 | config BOARD_MRMT_WIRELESS_ZB | ||
| 73 | bool "Use ZigBee/802.15.4 Module" | ||
| 74 | |||
| 75 | config BOARD_MRMT_WIRELESS_BT | ||
| 76 | bool "Use Bluetooth (HCI) Module" | ||
| 77 | |||
| 78 | config BOARD_MRMT_WIRELESS_NONE | ||
| 79 | bool "Not Installed" | ||
| 80 | endchoice | ||
diff --git a/arch/avr32/boards/atngw100/Makefile b/arch/avr32/boards/atngw100/Makefile index 6376f5322e4d..f4ebe42a8254 100644 --- a/arch/avr32/boards/atngw100/Makefile +++ b/arch/avr32/boards/atngw100/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | obj-y += setup.o flash.o | 1 | obj-y += setup.o flash.o |
| 2 | obj-$(CONFIG_BOARD_ATNGW100_EVKLCD10X) += evklcd10x.o | 2 | obj-$(CONFIG_BOARD_ATNGW100_EVKLCD10X) += evklcd10x.o |
| 3 | obj-$(CONFIG_BOARD_ATNGW100_MRMT) += mrmt.o | ||
diff --git a/arch/avr32/boards/atngw100/mrmt.c b/arch/avr32/boards/atngw100/mrmt.c new file mode 100644 index 000000000000..bf78e516a85f --- /dev/null +++ b/arch/avr32/boards/atngw100/mrmt.c | |||
| @@ -0,0 +1,373 @@ | |||
| 1 | /* | ||
| 2 | * Board-specific setup code for Remote Media Terminal 1 (RMT1) | ||
| 3 | * add-on board for the ATNGW100 Network Gateway | ||
| 4 | * | ||
| 5 | * Copyright (C) 2008 Mediama Technologies | ||
| 6 | * Based on ATNGW100 Network Gateway (Copyright (C) Atmel) | ||
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | ||
| 12 | #include <linux/gpio.h> | ||
| 13 | #include <linux/init.h> | ||
| 14 | #include <linux/irq.h> | ||
| 15 | #include <linux/linkage.h> | ||
| 16 | #include <linux/platform_device.h> | ||
| 17 | #include <linux/types.h> | ||
| 18 | #include <linux/fb.h> | ||
| 19 | #include <linux/leds.h> | ||
| 20 | #include <linux/input.h> | ||
| 21 | #include <linux/gpio_keys.h> | ||
| 22 | #include <linux/atmel_serial.h> | ||
| 23 | #include <linux/spi/spi.h> | ||
| 24 | #include <linux/spi/ads7846.h> | ||
| 25 | |||
| 26 | #include <video/atmel_lcdc.h> | ||
| 27 | #include <sound/atmel-ac97c.h> | ||
| 28 | |||
| 29 | #include <asm/delay.h> | ||
| 30 | #include <asm/io.h> | ||
| 31 | #include <asm/setup.h> | ||
| 32 | |||
| 33 | #include <mach/at32ap700x.h> | ||
| 34 | #include <mach/board.h> | ||
| 35 | #include <mach/init.h> | ||
| 36 | #include <mach/portmux.h> | ||
| 37 | |||
| 38 | /* Define board-specifoic GPIO assignments */ | ||
| 39 | #define PIN_LCD_BL GPIO_PIN_PA(28) | ||
| 40 | #define PWM_CH_BL 0 /* Must match with GPIO pin definition */ | ||
| 41 | #define PIN_LCD_DISP GPIO_PIN_PA(31) | ||
| 42 | #define PIN_AC97_RST_N GPIO_PIN_PA(30) | ||
| 43 | #define PB_EXTINT_BASE 25 | ||
| 44 | #define TS_IRQ 0 | ||
| 45 | #define PIN_TS_EXTINT GPIO_PIN_PB(PB_EXTINT_BASE+TS_IRQ) | ||
| 46 | #define PIN_PB_LEFT GPIO_PIN_PB(11) | ||
| 47 | #define PIN_PB_RIGHT GPIO_PIN_PB(12) | ||
| 48 | #define PIN_PWR_SW_N GPIO_PIN_PB(14) | ||
| 49 | #define PIN_PWR_ON GPIO_PIN_PB(13) | ||
| 50 | #define PIN_ZB_RST_N GPIO_PIN_PA(21) | ||
| 51 | #define PIN_BT_RST GPIO_PIN_PA(22) | ||
| 52 | #define PIN_LED_SYS GPIO_PIN_PA(16) | ||
| 53 | #define PIN_LED_A GPIO_PIN_PA(19) | ||
| 54 | #define PIN_LED_B GPIO_PIN_PE(19) | ||
| 55 | |||
| 56 | #ifdef CONFIG_BOARD_MRMT_LCD_LQ043T3DX0X | ||
| 57 | /* Sharp LQ043T3DX0x (or compatible) panel */ | ||
| 58 | static struct fb_videomode __initdata lcd_fb_modes[] = { | ||
| 59 | { | ||
| 60 | .name = "480x272 @ 59.94Hz", | ||
| 61 | .refresh = 59.94, | ||
| 62 | .xres = 480, .yres = 272, | ||
| 63 | .pixclock = KHZ2PICOS(9000), | ||
| 64 | |||
| 65 | .left_margin = 2, .right_margin = 2, | ||
| 66 | .upper_margin = 3, .lower_margin = 9, | ||
| 67 | .hsync_len = 41, .vsync_len = 1, | ||
| 68 | |||
| 69 | .sync = 0, | ||
| 70 | .vmode = FB_VMODE_NONINTERLACED, | ||
| 71 | }, | ||
| 72 | }; | ||
| 73 | |||
| 74 | static struct fb_monspecs __initdata lcd_fb_default_monspecs = { | ||
| 75 | .manufacturer = "SHA", | ||
| 76 | .monitor = "LQ043T3DX02", | ||
| 77 | .modedb = lcd_fb_modes, | ||
| 78 | .modedb_len = ARRAY_SIZE(lcd_fb_modes), | ||
| 79 | .hfmin = 14915, | ||
| 80 | .hfmax = 17638, | ||
| 81 | .vfmin = 53, | ||
| 82 | .vfmax = 61, | ||
| 83 | .dclkmax = 9260000, | ||
| 84 | }; | ||
| 85 | |||
| 86 | static struct atmel_lcdfb_info __initdata rmt_lcdc_data = { | ||
| 87 | .default_bpp = 24, | ||
| 88 | .default_dmacon = ATMEL_LCDC_DMAEN | ATMEL_LCDC_DMA2DEN, | ||
| 89 | .default_lcdcon2 = (ATMEL_LCDC_DISTYPE_TFT | ||
| 90 | | ATMEL_LCDC_CLKMOD_ALWAYSACTIVE | ||
| 91 | | ATMEL_LCDC_INVCLK_NORMAL | ||
| 92 | | ATMEL_LCDC_MEMOR_BIG), | ||
| 93 | .lcd_wiring_mode = ATMEL_LCDC_WIRING_RGB, | ||
| 94 | .default_monspecs = &lcd_fb_default_monspecs, | ||
| 95 | .guard_time = 2, | ||
| 96 | }; | ||
| 97 | #endif | ||
| 98 | |||
| 99 | #ifdef CONFIG_BOARD_MRMT_LCD_KWH043GM08 | ||
| 100 | /* Sharp KWH043GM08-Fxx (or compatible) panel */ | ||
| 101 | static struct fb_videomode __initdata lcd_fb_modes[] = { | ||
| 102 | { | ||
| 103 | .name = "480x272 @ 59.94Hz", | ||
| 104 | .refresh = 59.94, | ||
| 105 | .xres = 480, .yres = 272, | ||
| 106 | .pixclock = KHZ2PICOS(9000), | ||
| 107 | |||
| 108 | .left_margin = 2, .right_margin = 2, | ||
| 109 | .upper_margin = 3, .lower_margin = 9, | ||
| 110 | .hsync_len = 41, .vsync_len = 1, | ||
| 111 | |||
| 112 | .sync = 0, | ||
| 113 | .vmode = FB_VMODE_NONINTERLACED, | ||
| 114 | }, | ||
| 115 | }; | ||
| 116 | |||
| 117 | static struct fb_monspecs __initdata lcd_fb_default_monspecs = { | ||
| 118 | .manufacturer = "FOR", | ||
| 119 | .monitor = "KWH043GM08", | ||
| 120 | .modedb = lcd_fb_modes, | ||
| 121 | .modedb_len = ARRAY_SIZE(lcd_fb_modes), | ||
| 122 | .hfmin = 14915, | ||
| 123 | .hfmax = 17638, | ||
| 124 | .vfmin = 53, | ||
| 125 | .vfmax = 61, | ||
| 126 | .dclkmax = 9260000, | ||
| 127 | }; | ||
| 128 | |||
| 129 | static struct atmel_lcdfb_info __initdata rmt_lcdc_data = { | ||
| 130 | .default_bpp = 24, | ||
| 131 | .default_dmacon = ATMEL_LCDC_DMAEN | ATMEL_LCDC_DMA2DEN, | ||
| 132 | .default_lcdcon2 = (ATMEL_LCDC_DISTYPE_TFT | ||
| 133 | | ATMEL_LCDC_CLKMOD_ALWAYSACTIVE | ||
| 134 | | ATMEL_LCDC_INVCLK_INVERTED | ||
| 135 | | ATMEL_LCDC_MEMOR_BIG), | ||
| 136 | .lcd_wiring_mode = ATMEL_LCDC_WIRING_RGB, | ||
| 137 | .default_monspecs = &lcd_fb_default_monspecs, | ||
| 138 | .guard_time = 2, | ||
| 139 | }; | ||
| 140 | #endif | ||
| 141 | |||
| 142 | #ifdef CONFIG_BOARD_MRMT_AC97 | ||
| 143 | static struct ac97c_platform_data __initdata ac97c0_data = { | ||
| 144 | .reset_pin = PIN_AC97_RST_N, | ||
| 145 | }; | ||
| 146 | #endif | ||
| 147 | |||
| 148 | #ifdef CONFIG_BOARD_MRMT_UCB1400_TS | ||
| 149 | /* NOTE: IRQ assignment relies on kernel module parameter */ | ||
| 150 | static struct platform_device rmt_ts_device = { | ||
| 151 | .name = "ucb1400_ts", | ||
| 152 | .id = -1, | ||
| 153 | } | ||
| 154 | }; | ||
| 155 | #endif | ||
| 156 | |||
| 157 | #ifdef CONFIG_BOARD_MRMT_BL_PWM | ||
| 158 | /* PWM LEDs: LCD Backlight, etc */ | ||
| 159 | static struct gpio_led rmt_pwm_led[] = { | ||
| 160 | /* here the "gpio" is actually a PWM channel */ | ||
| 161 | { .name = "backlight", .gpio = PWM_CH_BL, }, | ||
| 162 | }; | ||
| 163 | |||
| 164 | static struct gpio_led_platform_data rmt_pwm_led_data = { | ||
| 165 | .num_leds = ARRAY_SIZE(rmt_pwm_led), | ||
| 166 | .leds = rmt_pwm_led, | ||
| 167 | }; | ||
| 168 | |||
| 169 | static struct platform_device rmt_pwm_led_dev = { | ||
| 170 | .name = "leds-atmel-pwm", | ||
| 171 | .id = -1, | ||
| 172 | .dev = { | ||
| 173 | .platform_data = &rmt_pwm_led_data, | ||
| 174 | }, | ||
| 175 | }; | ||
| 176 | #endif | ||
| 177 | |||
| 178 | #ifdef CONFIG_BOARD_MRMT_ADS7846_TS | ||
| 179 | static int ads7846_pendown_state(void) | ||
| 180 | { | ||
| 181 | return !gpio_get_value( PIN_TS_EXTINT ); /* PENIRQ.*/ | ||
| 182 | } | ||
| 183 | |||
| 184 | static struct ads7846_platform_data ads_info = { | ||
| 185 | .model = 7846, | ||
| 186 | .keep_vref_on = 0, /* Use external VREF pin */ | ||
| 187 | .vref_delay_usecs = 0, | ||
| 188 | .vref_mv = 3300, /* VREF = 3.3V */ | ||
| 189 | .settle_delay_usecs = 800, | ||
| 190 | .penirq_recheck_delay_usecs = 800, | ||
| 191 | .x_plate_ohms = 750, | ||
| 192 | .y_plate_ohms = 300, | ||
| 193 | .pressure_max = 4096, | ||
| 194 | .debounce_max = 1, | ||
| 195 | .debounce_rep = 0, | ||
| 196 | .debounce_tol = (~0), | ||
| 197 | .get_pendown_state = ads7846_pendown_state, | ||
| 198 | .filter = NULL, | ||
| 199 | .filter_init = NULL, | ||
| 200 | }; | ||
| 201 | |||
| 202 | static struct spi_board_info spi01_board_info[] __initdata = { | ||
| 203 | { | ||
| 204 | .modalias = "ads7846", | ||
| 205 | .max_speed_hz = 31250*26, | ||
| 206 | .bus_num = 0, | ||
| 207 | .chip_select = 1, | ||
| 208 | .platform_data = &ads_info, | ||
| 209 | .irq = AT32_EXTINT(TS_IRQ), | ||
| 210 | }, | ||
| 211 | }; | ||
| 212 | #endif | ||
| 213 | |||
| 214 | /* GPIO Keys: left, right, power, etc */ | ||
| 215 | static const struct gpio_keys_button rmt_gpio_keys_buttons[] = { | ||
| 216 | [0] = { | ||
| 217 | .type = EV_KEY, | ||
| 218 | .code = KEY_POWER, | ||
| 219 | .gpio = PIN_PWR_SW_N, | ||
| 220 | .active_low = 1, | ||
| 221 | .desc = "power button", | ||
| 222 | }, | ||
| 223 | [1] = { | ||
| 224 | .type = EV_KEY, | ||
| 225 | .code = KEY_LEFT, | ||
| 226 | .gpio = PIN_PB_LEFT, | ||
| 227 | .active_low = 1, | ||
| 228 | .desc = "left button", | ||
| 229 | }, | ||
| 230 | [2] = { | ||
| 231 | .type = EV_KEY, | ||
| 232 | .code = KEY_RIGHT, | ||
| 233 | .gpio = PIN_PB_RIGHT, | ||
| 234 | .active_low = 1, | ||
| 235 | .desc = "right button", | ||
| 236 | }, | ||
| 237 | }; | ||
| 238 | |||
| 239 | static const struct gpio_keys_platform_data rmt_gpio_keys_data = { | ||
| 240 | .nbuttons = ARRAY_SIZE(rmt_gpio_keys_buttons), | ||
| 241 | .buttons = (void *) rmt_gpio_keys_buttons, | ||
| 242 | }; | ||
| 243 | |||
| 244 | static struct platform_device rmt_gpio_keys = { | ||
| 245 | .name = "gpio-keys", | ||
| 246 | .id = -1, | ||
| 247 | .dev = { | ||
| 248 | .platform_data = (void *) &rmt_gpio_keys_data, | ||
| 249 | } | ||
| 250 | }; | ||
| 251 | |||
| 252 | #ifdef CONFIG_BOARD_MRMT_RTC_I2C | ||
| 253 | static struct i2c_board_info __initdata mrmt1_i2c_rtc = { | ||
| 254 | I2C_BOARD_INFO("s35390a", 0x30), | ||
| 255 | .irq = 0, | ||
| 256 | }; | ||
| 257 | #endif | ||
| 258 | |||
| 259 | static void mrmt_power_off(void) | ||
| 260 | { | ||
| 261 | /* PWR_ON=0 will force power off */ | ||
| 262 | gpio_set_value( PIN_PWR_ON, 0 ); | ||
| 263 | } | ||
| 264 | |||
| 265 | static int __init mrmt1_init(void) | ||
| 266 | { | ||
| 267 | gpio_set_value( PIN_PWR_ON, 1 ); /* Ensure PWR_ON is enabled */ | ||
| 268 | |||
| 269 | pm_power_off = mrmt_power_off; | ||
| 270 | |||
| 271 | /* Setup USARTS (other than console) */ | ||
| 272 | at32_map_usart(2, 1, 0); /* USART 2: /dev/ttyS1, RMT1:DB9M */ | ||
| 273 | at32_map_usart(3, 2, ATMEL_USART_RTS | ATMEL_USART_CTS); | ||
| 274 | /* USART 3: /dev/ttyS2, RMT1:Wireless, w/ RTS/CTS */ | ||
| 275 | at32_add_device_usart(1); | ||
| 276 | at32_add_device_usart(2); | ||
| 277 | |||
| 278 | /* Select GPIO Key pins */ | ||
| 279 | at32_select_gpio( PIN_PWR_SW_N, AT32_GPIOF_DEGLITCH); | ||
| 280 | at32_select_gpio( PIN_PB_LEFT, AT32_GPIOF_DEGLITCH); | ||
| 281 | at32_select_gpio( PIN_PB_RIGHT, AT32_GPIOF_DEGLITCH); | ||
| 282 | platform_device_register(&rmt_gpio_keys); | ||
| 283 | |||
| 284 | #ifdef CONFIG_BOARD_MRMT_RTC_I2C | ||
| 285 | i2c_register_board_info(0, &mrmt1_i2c_rtc, 1); | ||
| 286 | #endif | ||
| 287 | |||
| 288 | #ifndef CONFIG_BOARD_MRMT_LCD_DISABLE | ||
| 289 | /* User "alternate" LCDC inferface on Port E & D */ | ||
| 290 | /* NB: exclude LCDC_CC pin, as NGW100 reserves it for other use */ | ||
| 291 | at32_add_device_lcdc(0, &rmt_lcdc_data, | ||
| 292 | fbmem_start, fbmem_size, | ||
| 293 | (ATMEL_LCDC_ALT_24BIT | ATMEL_LCDC_PE_DVAL ) ); | ||
| 294 | #endif | ||
| 295 | |||
| 296 | #ifdef CONFIG_BOARD_MRMT_AC97 | ||
| 297 | at32_add_device_ac97c(0, &ac97c0_data, AC97C_BOTH); | ||
| 298 | #endif | ||
| 299 | |||
| 300 | #ifdef CONFIG_BOARD_MRMT_ADS7846_TS | ||
| 301 | /* Select the Touchscreen interrupt pin mode */ | ||
| 302 | at32_select_periph( GPIO_PIOB_BASE, 1 << (PB_EXTINT_BASE+TS_IRQ), | ||
| 303 | GPIO_PERIPH_A, AT32_GPIOF_DEGLITCH); | ||
| 304 | set_irq_type( AT32_EXTINT(TS_IRQ), IRQ_TYPE_EDGE_FALLING ); | ||
| 305 | spi_register_board_info(spi01_board_info,ARRAY_SIZE(spi01_board_info)); | ||
| 306 | #endif | ||
| 307 | |||
| 308 | #ifdef CONFIG_BOARD_MRMT_UCB1400_TS | ||
| 309 | /* Select the Touchscreen interrupt pin mode */ | ||
| 310 | at32_select_periph( GPIO_PIOB_BASE, 1 << (PB_EXTINT_BASE+TS_IRQ), | ||
| 311 | GPIO_PERIPH_A, AT32_GPIOF_DEGLITCH); | ||
| 312 | platform_device_register(&rmt_ts_device); | ||
| 313 | #endif | ||
| 314 | |||
| 315 | at32_select_gpio( PIN_LCD_DISP, AT32_GPIOF_OUTPUT ); | ||
| 316 | gpio_request( PIN_LCD_DISP, "LCD_DISP" ); | ||
| 317 | gpio_direction_output( PIN_LCD_DISP, 0 ); /* LCD DISP */ | ||
| 318 | #ifdef CONFIG_BOARD_MRMT_LCD_DISABLE | ||
| 319 | /* Keep Backlight and DISP off */ | ||
| 320 | at32_select_gpio( PIN_LCD_BL, AT32_GPIOF_OUTPUT ); | ||
| 321 | gpio_request( PIN_LCD_BL, "LCD_BL" ); | ||
| 322 | gpio_direction_output( PIN_LCD_BL, 0 ); /* Backlight */ | ||
| 323 | #else | ||
| 324 | gpio_set_value( PIN_LCD_DISP, 1 ); /* DISP asserted first */ | ||
| 325 | #ifdef CONFIG_BOARD_MRMT_BL_PWM | ||
| 326 | /* Use PWM for Backlight controls */ | ||
| 327 | at32_add_device_pwm(1 << PWM_CH_BL); | ||
| 328 | platform_device_register(&rmt_pwm_led_dev); | ||
| 329 | #else | ||
| 330 | /* Backlight always on */ | ||
| 331 | udelay( 1 ); | ||
| 332 | at32_select_gpio( PIN_LCD_BL, AT32_GPIOF_OUTPUT ); | ||
| 333 | gpio_request( PIN_LCD_BL, "LCD_BL" ); | ||
| 334 | gpio_direction_output( PIN_LCD_BL, 1 ); | ||
| 335 | #endif | ||
| 336 | #endif | ||
| 337 | |||
| 338 | /* Make sure BT and Zigbee modules in reset */ | ||
| 339 | at32_select_gpio( PIN_BT_RST, AT32_GPIOF_OUTPUT ); | ||
| 340 | gpio_request( PIN_BT_RST, "BT_RST" ); | ||
| 341 | gpio_direction_output( PIN_BT_RST, 1 ); | ||
| 342 | /* BT Module in Reset */ | ||
| 343 | |||
| 344 | at32_select_gpio( PIN_ZB_RST_N, AT32_GPIOF_OUTPUT ); | ||
| 345 | gpio_request( PIN_ZB_RST_N, "ZB_RST_N" ); | ||
| 346 | gpio_direction_output( PIN_ZB_RST_N, 0 ); | ||
| 347 | /* XBee Module in Reset */ | ||
| 348 | |||
| 349 | #ifdef CONFIG_BOARD_MRMT_WIRELESS_ZB | ||
| 350 | udelay( 1000 ); | ||
| 351 | /* Unreset the XBee Module */ | ||
| 352 | gpio_set_value( PIN_ZB_RST_N, 1 ); | ||
| 353 | #endif | ||
| 354 | #ifdef CONFIG_BOARD_MRMT_WIRELESS_BT | ||
| 355 | udelay( 1000 ); | ||
| 356 | /* Unreset the BT Module */ | ||
| 357 | gpio_set_value( PIN_BT_RST, 0 ); | ||
| 358 | #endif | ||
| 359 | |||
| 360 | return 0; | ||
| 361 | } | ||
| 362 | arch_initcall(mrmt1_init); | ||
| 363 | |||
| 364 | static int __init mrmt1_early_init(void) | ||
| 365 | { | ||
| 366 | /* To maintain power-on signal in case boot loader did not already */ | ||
| 367 | at32_select_gpio( PIN_PWR_ON, AT32_GPIOF_OUTPUT ); | ||
| 368 | gpio_request( PIN_PWR_ON, "PIN_PWR_ON" ); | ||
| 369 | gpio_direction_output( PIN_PWR_ON, 1 ); | ||
| 370 | |||
| 371 | return 0; | ||
| 372 | } | ||
| 373 | core_initcall(mrmt1_early_init); | ||
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c index 5b022aad4bd9..bc299fbbeb4e 100644 --- a/arch/avr32/boards/atngw100/setup.c +++ b/arch/avr32/boards/atngw100/setup.c | |||
| @@ -56,8 +56,13 @@ static struct spi_board_info spi0_board_info[] __initdata = { | |||
| 56 | static struct mci_platform_data __initdata mci0_data = { | 56 | static struct mci_platform_data __initdata mci0_data = { |
| 57 | .slot[0] = { | 57 | .slot[0] = { |
| 58 | .bus_width = 4, | 58 | .bus_width = 4, |
| 59 | #if defined(CONFIG_BOARD_ATNGW100_EVKLCD10X) || defined(CONFIG_BOARD_ATNGW100_MRMT1) | ||
| 60 | .detect_pin = GPIO_PIN_NONE, | ||
| 61 | .wp_pin = GPIO_PIN_NONE, | ||
| 62 | #else | ||
| 59 | .detect_pin = GPIO_PIN_PC(25), | 63 | .detect_pin = GPIO_PIN_PC(25), |
| 60 | .wp_pin = GPIO_PIN_PE(0), | 64 | .wp_pin = GPIO_PIN_PE(0), |
| 65 | #endif | ||
| 61 | }, | 66 | }, |
| 62 | }; | 67 | }; |
| 63 | 68 | ||
diff --git a/arch/avr32/boards/merisc/setup.c b/arch/avr32/boards/merisc/setup.c index 20b300cf105a..623b077594fc 100644 --- a/arch/avr32/boards/merisc/setup.c +++ b/arch/avr32/boards/merisc/setup.c | |||
| @@ -94,9 +94,10 @@ static struct spi_board_info __initdata spi0_board_info[] = { | |||
| 94 | 94 | ||
| 95 | static struct mci_platform_data __initdata mci0_data = { | 95 | static struct mci_platform_data __initdata mci0_data = { |
| 96 | .slot[0] = { | 96 | .slot[0] = { |
| 97 | .bus_width = 4, | 97 | .bus_width = 4, |
| 98 | .detect_pin = GPIO_PIN_PE(19), | 98 | .detect_pin = GPIO_PIN_PE(19), |
| 99 | .wp_pin = GPIO_PIN_PE(20), | 99 | .wp_pin = GPIO_PIN_PE(20), |
| 100 | .detect_is_active_high = true, | ||
| 100 | }, | 101 | }, |
| 101 | }; | 102 | }; |
| 102 | 103 | ||
diff --git a/arch/avr32/boards/mimc200/setup.c b/arch/avr32/boards/mimc200/setup.c index c1b2175b4fea..523d8e183bef 100644 --- a/arch/avr32/boards/mimc200/setup.c +++ b/arch/avr32/boards/mimc200/setup.c | |||
| @@ -43,16 +43,16 @@ unsigned long at32_board_osc_rates[3] = { | |||
| 43 | /* Initialized by bootloader-specific startup code. */ | 43 | /* Initialized by bootloader-specific startup code. */ |
| 44 | struct tag *bootloader_tags __initdata; | 44 | struct tag *bootloader_tags __initdata; |
| 45 | 45 | ||
| 46 | static struct fb_videomode __initdata tx14d14_modes[] = { | 46 | static struct fb_videomode __initdata pt0434827_modes[] = { |
| 47 | { | 47 | { |
| 48 | .name = "640x480 @ 60", | 48 | .name = "480x272 @ 72", |
| 49 | .refresh = 60, | 49 | .refresh = 72, |
| 50 | .xres = 640, .yres = 480, | 50 | .xres = 480, .yres = 272, |
| 51 | .pixclock = KHZ2PICOS(11666), | 51 | .pixclock = KHZ2PICOS(10000), |
| 52 | 52 | ||
| 53 | .left_margin = 80, .right_margin = 1, | 53 | .left_margin = 1, .right_margin = 1, |
| 54 | .upper_margin = 13, .lower_margin = 2, | 54 | .upper_margin = 12, .lower_margin = 1, |
| 55 | .hsync_len = 64, .vsync_len = 1, | 55 | .hsync_len = 42, .vsync_len = 1, |
| 56 | 56 | ||
| 57 | .sync = 0, | 57 | .sync = 0, |
| 58 | .vmode = FB_VMODE_NONINTERLACED, | 58 | .vmode = FB_VMODE_NONINTERLACED, |
| @@ -60,14 +60,14 @@ static struct fb_videomode __initdata tx14d14_modes[] = { | |||
| 60 | }; | 60 | }; |
| 61 | 61 | ||
| 62 | static struct fb_monspecs __initdata mimc200_default_monspecs = { | 62 | static struct fb_monspecs __initdata mimc200_default_monspecs = { |
| 63 | .manufacturer = "HIT", | 63 | .manufacturer = "PT", |
| 64 | .monitor = "TX14D14VM1BAB", | 64 | .monitor = "PT0434827-A401", |
| 65 | .modedb = tx14d14_modes, | 65 | .modedb = pt0434827_modes, |
| 66 | .modedb_len = ARRAY_SIZE(tx14d14_modes), | 66 | .modedb_len = ARRAY_SIZE(pt0434827_modes), |
| 67 | .hfmin = 14820, | 67 | .hfmin = 14820, |
| 68 | .hfmax = 22230, | 68 | .hfmax = 22230, |
| 69 | .vfmin = 60, | 69 | .vfmin = 60, |
| 70 | .vfmax = 73.3, | 70 | .vfmax = 85, |
| 71 | .dclkmax = 25200000, | 71 | .dclkmax = 25200000, |
| 72 | }; | 72 | }; |
| 73 | 73 | ||
| @@ -228,7 +228,8 @@ static int __init mimc200_init(void) | |||
| 228 | i2c_register_board_info(0, i2c_info, ARRAY_SIZE(i2c_info)); | 228 | i2c_register_board_info(0, i2c_info, ARRAY_SIZE(i2c_info)); |
| 229 | 229 | ||
| 230 | at32_add_device_lcdc(0, &mimc200_lcdc_data, | 230 | at32_add_device_lcdc(0, &mimc200_lcdc_data, |
| 231 | fbmem_start, fbmem_size, 1); | 231 | fbmem_start, fbmem_size, |
| 232 | ATMEL_LCDC_CONTROL | ATMEL_LCDC_ALT_CONTROL | ATMEL_LCDC_ALT_24B_DATA); | ||
| 232 | 233 | ||
| 233 | return 0; | 234 | return 0; |
| 234 | } | 235 | } |
diff --git a/arch/avr32/configs/atngw100_mrmt_defconfig b/arch/avr32/configs/atngw100_mrmt_defconfig new file mode 100644 index 000000000000..17b030777d36 --- /dev/null +++ b/arch/avr32/configs/atngw100_mrmt_defconfig | |||
| @@ -0,0 +1,1363 @@ | |||
| 1 | # | ||
| 2 | # Automatically generated make config: don't edit | ||
| 3 | # Linux kernel version: 2.6.30-rc1 | ||
| 4 | # Wed Jun 3 00:24:53 2009 | ||
| 5 | # | ||
| 6 | CONFIG_AVR32=y | ||
| 7 | CONFIG_GENERIC_GPIO=y | ||
| 8 | CONFIG_GENERIC_HARDIRQS=y | ||
| 9 | CONFIG_STACKTRACE_SUPPORT=y | ||
| 10 | CONFIG_LOCKDEP_SUPPORT=y | ||
| 11 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
| 12 | CONFIG_HARDIRQS_SW_RESEND=y | ||
| 13 | CONFIG_GENERIC_IRQ_PROBE=y | ||
| 14 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
| 15 | CONFIG_GENERIC_TIME=y | ||
| 16 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 17 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | ||
| 18 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
| 19 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
| 20 | CONFIG_GENERIC_HWEIGHT=y | ||
| 21 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
| 22 | CONFIG_GENERIC_BUG=y | ||
| 23 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
| 24 | |||
| 25 | # | ||
| 26 | # General setup | ||
| 27 | # | ||
| 28 | CONFIG_EXPERIMENTAL=y | ||
| 29 | CONFIG_BROKEN_ON_SMP=y | ||
| 30 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
| 31 | CONFIG_LOCALVERSION="" | ||
| 32 | # CONFIG_LOCALVERSION_AUTO is not set | ||
| 33 | CONFIG_SWAP=y | ||
| 34 | CONFIG_SYSVIPC=y | ||
| 35 | CONFIG_SYSVIPC_SYSCTL=y | ||
| 36 | CONFIG_POSIX_MQUEUE=y | ||
| 37 | CONFIG_POSIX_MQUEUE_SYSCTL=y | ||
| 38 | CONFIG_BSD_PROCESS_ACCT=y | ||
| 39 | CONFIG_BSD_PROCESS_ACCT_V3=y | ||
| 40 | # CONFIG_TASKSTATS is not set | ||
| 41 | # CONFIG_AUDIT is not set | ||
| 42 | |||
| 43 | # | ||
| 44 | # RCU Subsystem | ||
| 45 | # | ||
| 46 | CONFIG_CLASSIC_RCU=y | ||
| 47 | # CONFIG_TREE_RCU is not set | ||
| 48 | # CONFIG_PREEMPT_RCU is not set | ||
| 49 | # CONFIG_TREE_RCU_TRACE is not set | ||
| 50 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
| 51 | # CONFIG_IKCONFIG is not set | ||
| 52 | CONFIG_LOG_BUF_SHIFT=14 | ||
| 53 | CONFIG_GROUP_SCHED=y | ||
| 54 | CONFIG_FAIR_GROUP_SCHED=y | ||
| 55 | # CONFIG_RT_GROUP_SCHED is not set | ||
| 56 | CONFIG_USER_SCHED=y | ||
| 57 | # CONFIG_CGROUP_SCHED is not set | ||
| 58 | # CONFIG_CGROUPS is not set | ||
| 59 | CONFIG_SYSFS_DEPRECATED=y | ||
| 60 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
| 61 | # CONFIG_RELAY is not set | ||
| 62 | # CONFIG_NAMESPACES is not set | ||
| 63 | CONFIG_BLK_DEV_INITRD=y | ||
| 64 | CONFIG_INITRAMFS_SOURCE="" | ||
| 65 | CONFIG_RD_GZIP=y | ||
| 66 | # CONFIG_RD_BZIP2 is not set | ||
| 67 | # CONFIG_RD_LZMA is not set | ||
| 68 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
| 69 | CONFIG_SYSCTL=y | ||
| 70 | CONFIG_ANON_INODES=y | ||
| 71 | CONFIG_EMBEDDED=y | ||
| 72 | # CONFIG_SYSCTL_SYSCALL is not set | ||
| 73 | CONFIG_KALLSYMS=y | ||
| 74 | # CONFIG_KALLSYMS_ALL is not set | ||
| 75 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
| 76 | CONFIG_HOTPLUG=y | ||
| 77 | CONFIG_PRINTK=y | ||
| 78 | CONFIG_BUG=y | ||
| 79 | CONFIG_ELF_CORE=y | ||
| 80 | # CONFIG_BASE_FULL is not set | ||
| 81 | CONFIG_FUTEX=y | ||
| 82 | CONFIG_EPOLL=y | ||
| 83 | CONFIG_SIGNALFD=y | ||
| 84 | CONFIG_TIMERFD=y | ||
| 85 | CONFIG_EVENTFD=y | ||
| 86 | CONFIG_SHMEM=y | ||
| 87 | CONFIG_AIO=y | ||
| 88 | CONFIG_VM_EVENT_COUNTERS=y | ||
| 89 | # CONFIG_SLUB_DEBUG is not set | ||
| 90 | CONFIG_COMPAT_BRK=y | ||
| 91 | # CONFIG_SLAB is not set | ||
| 92 | CONFIG_SLUB=y | ||
| 93 | # CONFIG_SLOB is not set | ||
| 94 | # CONFIG_PROFILING is not set | ||
| 95 | # CONFIG_MARKERS is not set | ||
| 96 | CONFIG_HAVE_OPROFILE=y | ||
| 97 | # CONFIG_KPROBES is not set | ||
| 98 | CONFIG_HAVE_KPROBES=y | ||
| 99 | CONFIG_HAVE_CLK=y | ||
| 100 | # CONFIG_SLOW_WORK is not set | ||
| 101 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
| 102 | CONFIG_RT_MUTEXES=y | ||
| 103 | CONFIG_BASE_SMALL=1 | ||
| 104 | CONFIG_MODULES=y | ||
| 105 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
| 106 | CONFIG_MODULE_UNLOAD=y | ||
| 107 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
| 108 | # CONFIG_MODVERSIONS is not set | ||
| 109 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
| 110 | CONFIG_BLOCK=y | ||
| 111 | # CONFIG_LBD is not set | ||
| 112 | # CONFIG_BLK_DEV_BSG is not set | ||
| 113 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
| 114 | |||
| 115 | # | ||
| 116 | # IO Schedulers | ||
| 117 | # | ||
| 118 | CONFIG_IOSCHED_NOOP=y | ||
| 119 | # CONFIG_IOSCHED_AS is not set | ||
| 120 | # CONFIG_IOSCHED_DEADLINE is not set | ||
| 121 | CONFIG_IOSCHED_CFQ=y | ||
| 122 | # CONFIG_DEFAULT_AS is not set | ||
| 123 | # CONFIG_DEFAULT_DEADLINE is not set | ||
| 124 | CONFIG_DEFAULT_CFQ=y | ||
| 125 | # CONFIG_DEFAULT_NOOP is not set | ||
| 126 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
| 127 | # CONFIG_FREEZER is not set | ||
| 128 | |||
| 129 | # | ||
| 130 | # System Type and features | ||
| 131 | # | ||
| 132 | # CONFIG_NO_HZ is not set | ||
| 133 | # CONFIG_HIGH_RES_TIMERS is not set | ||
| 134 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 135 | CONFIG_SUBARCH_AVR32B=y | ||
| 136 | CONFIG_MMU=y | ||
| 137 | CONFIG_PERFORMANCE_COUNTERS=y | ||
| 138 | CONFIG_PLATFORM_AT32AP=y | ||
| 139 | CONFIG_CPU_AT32AP700X=y | ||
| 140 | CONFIG_CPU_AT32AP7000=y | ||
| 141 | # CONFIG_BOARD_ATSTK1000 is not set | ||
| 142 | CONFIG_BOARD_ATNGW100=y | ||
| 143 | # CONFIG_BOARD_HAMMERHEAD is not set | ||
| 144 | # CONFIG_BOARD_FAVR_32 is not set | ||
| 145 | # CONFIG_BOARD_MERISC is not set | ||
| 146 | # CONFIG_BOARD_MIMC200 is not set | ||
| 147 | # CONFIG_BOARD_ATNGW100_ADDON_NONE is not set | ||
| 148 | # CONFIG_BOARD_ATNGW100_EVKLCD10X is not set | ||
| 149 | CONFIG_BOARD_ATNGW100_MRMT=y | ||
| 150 | CONFIG_BOARD_MRMT_REV1=y | ||
| 151 | # CONFIG_BOARD_MRMT_REV2 is not set | ||
| 152 | CONFIG_BOARD_MRMT_AC97=y | ||
| 153 | # CONFIG_BOARD_MRMT_UCB1400_TS is not set | ||
| 154 | CONFIG_BOARD_MRMT_ADS7846_TS=y | ||
| 155 | # CONFIG_BOARD_MRMT_LCD_DISABLE is not set | ||
| 156 | CONFIG_BOARD_MRMT_LCD_LQ043T3DX0X=y | ||
| 157 | # CONFIG_BOARD_MRMT_LCD_KWH043GM08 is not set | ||
| 158 | CONFIG_BOARD_MRMT_BL_PWM=y | ||
| 159 | CONFIG_BOARD_MRMT_RTC_I2C=y | ||
| 160 | CONFIG_BOARD_MRMT_WIRELESS_ZB=y | ||
| 161 | # CONFIG_BOARD_MRMT_WIRELESS_BT is not set | ||
| 162 | # CONFIG_BOARD_MRMT_WIRELESS_NONE is not set | ||
| 163 | CONFIG_LOADER_U_BOOT=y | ||
| 164 | |||
| 165 | # | ||
| 166 | # Atmel AVR32 AP options | ||
| 167 | # | ||
| 168 | # CONFIG_AP700X_32_BIT_SMC is not set | ||
| 169 | CONFIG_AP700X_16_BIT_SMC=y | ||
| 170 | # CONFIG_AP700X_8_BIT_SMC is not set | ||
| 171 | CONFIG_LOAD_ADDRESS=0x10000000 | ||
| 172 | CONFIG_ENTRY_ADDRESS=0x90000000 | ||
| 173 | CONFIG_PHYS_OFFSET=0x10000000 | ||
| 174 | CONFIG_PREEMPT_NONE=y | ||
| 175 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
| 176 | # CONFIG_PREEMPT is not set | ||
| 177 | CONFIG_QUICKLIST=y | ||
| 178 | # CONFIG_HAVE_ARCH_BOOTMEM is not set | ||
| 179 | # CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set | ||
| 180 | # CONFIG_NEED_NODE_MEMMAP_SIZE is not set | ||
| 181 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
| 182 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | ||
| 183 | # CONFIG_ARCH_SPARSEMEM_ENABLE is not set | ||
| 184 | CONFIG_SELECT_MEMORY_MODEL=y | ||
| 185 | CONFIG_FLATMEM_MANUAL=y | ||
| 186 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
| 187 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
| 188 | CONFIG_FLATMEM=y | ||
| 189 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
| 190 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
| 191 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
| 192 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
| 193 | CONFIG_ZONE_DMA_FLAG=0 | ||
| 194 | CONFIG_NR_QUICK=2 | ||
| 195 | CONFIG_VIRT_TO_BUS=y | ||
| 196 | CONFIG_UNEVICTABLE_LRU=y | ||
| 197 | CONFIG_HAVE_MLOCK=y | ||
| 198 | CONFIG_HAVE_MLOCKED_PAGE_BIT=y | ||
| 199 | # CONFIG_OWNERSHIP_TRACE is not set | ||
| 200 | # CONFIG_NMI_DEBUGGING is not set | ||
| 201 | # CONFIG_HZ_100 is not set | ||
| 202 | CONFIG_HZ_250=y | ||
| 203 | # CONFIG_HZ_300 is not set | ||
| 204 | # CONFIG_HZ_1000 is not set | ||
| 205 | CONFIG_HZ=250 | ||
| 206 | # CONFIG_SCHED_HRTICK is not set | ||
| 207 | CONFIG_CMDLINE="" | ||
| 208 | |||
| 209 | # | ||
| 210 | # Power management options | ||
| 211 | # | ||
| 212 | CONFIG_PM=y | ||
| 213 | # CONFIG_PM_DEBUG is not set | ||
| 214 | # CONFIG_SUSPEND is not set | ||
| 215 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
| 216 | |||
| 217 | # | ||
| 218 | # CPU Frequency scaling | ||
| 219 | # | ||
| 220 | CONFIG_CPU_FREQ=y | ||
| 221 | CONFIG_CPU_FREQ_TABLE=y | ||
| 222 | # CONFIG_CPU_FREQ_DEBUG is not set | ||
| 223 | CONFIG_CPU_FREQ_STAT=y | ||
| 224 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | ||
| 225 | CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y | ||
| 226 | # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set | ||
| 227 | # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set | ||
| 228 | # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set | ||
| 229 | # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set | ||
| 230 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
| 231 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
| 232 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
| 233 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y | ||
| 234 | # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set | ||
| 235 | CONFIG_CPU_FREQ_AT32AP=y | ||
| 236 | |||
| 237 | # | ||
| 238 | # Bus options | ||
| 239 | # | ||
| 240 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
| 241 | # CONFIG_PCCARD is not set | ||
| 242 | |||
| 243 | # | ||
| 244 | # Executable file formats | ||
| 245 | # | ||
| 246 | CONFIG_BINFMT_ELF=y | ||
| 247 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
| 248 | # CONFIG_HAVE_AOUT is not set | ||
| 249 | # CONFIG_BINFMT_MISC is not set | ||
| 250 | CONFIG_NET=y | ||
| 251 | |||
| 252 | # | ||
| 253 | # Networking options | ||
| 254 | # | ||
| 255 | CONFIG_PACKET=y | ||
| 256 | CONFIG_PACKET_MMAP=y | ||
| 257 | CONFIG_UNIX=y | ||
| 258 | # CONFIG_NET_KEY is not set | ||
| 259 | CONFIG_INET=y | ||
| 260 | # CONFIG_IP_MULTICAST is not set | ||
| 261 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
| 262 | CONFIG_IP_FIB_HASH=y | ||
| 263 | CONFIG_IP_PNP=y | ||
| 264 | CONFIG_IP_PNP_DHCP=y | ||
| 265 | # CONFIG_IP_PNP_BOOTP is not set | ||
| 266 | # CONFIG_IP_PNP_RARP is not set | ||
| 267 | # CONFIG_NET_IPIP is not set | ||
| 268 | # CONFIG_NET_IPGRE is not set | ||
| 269 | # CONFIG_ARPD is not set | ||
| 270 | CONFIG_SYN_COOKIES=y | ||
| 271 | # CONFIG_INET_AH is not set | ||
| 272 | # CONFIG_INET_ESP is not set | ||
| 273 | # CONFIG_INET_IPCOMP is not set | ||
| 274 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
| 275 | # CONFIG_INET_TUNNEL is not set | ||
| 276 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
| 277 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
| 278 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
| 279 | # CONFIG_INET_LRO is not set | ||
| 280 | CONFIG_INET_DIAG=y | ||
| 281 | CONFIG_INET_TCP_DIAG=y | ||
| 282 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
| 283 | CONFIG_TCP_CONG_CUBIC=y | ||
| 284 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
| 285 | # CONFIG_TCP_MD5SIG is not set | ||
| 286 | # CONFIG_IPV6 is not set | ||
| 287 | # CONFIG_NETWORK_SECMARK is not set | ||
| 288 | # CONFIG_NETFILTER is not set | ||
| 289 | # CONFIG_IP_DCCP is not set | ||
| 290 | # CONFIG_IP_SCTP is not set | ||
| 291 | # CONFIG_TIPC is not set | ||
| 292 | # CONFIG_ATM is not set | ||
| 293 | # CONFIG_BRIDGE is not set | ||
| 294 | # CONFIG_NET_DSA is not set | ||
| 295 | # CONFIG_VLAN_8021Q is not set | ||
| 296 | # CONFIG_DECNET is not set | ||
| 297 | # CONFIG_LLC2 is not set | ||
| 298 | # CONFIG_IPX is not set | ||
| 299 | # CONFIG_ATALK is not set | ||
| 300 | # CONFIG_X25 is not set | ||
| 301 | # CONFIG_LAPB is not set | ||
| 302 | # CONFIG_ECONET is not set | ||
| 303 | # CONFIG_WAN_ROUTER is not set | ||
| 304 | # CONFIG_PHONET is not set | ||
| 305 | # CONFIG_NET_SCHED is not set | ||
| 306 | # CONFIG_DCB is not set | ||
| 307 | |||
| 308 | # | ||
| 309 | # Network testing | ||
| 310 | # | ||
| 311 | # CONFIG_NET_PKTGEN is not set | ||
| 312 | # CONFIG_HAMRADIO is not set | ||
| 313 | # CONFIG_CAN is not set | ||
| 314 | # CONFIG_IRDA is not set | ||
| 315 | CONFIG_BT=m | ||
| 316 | CONFIG_BT_L2CAP=m | ||
| 317 | # CONFIG_BT_SCO is not set | ||
| 318 | CONFIG_BT_RFCOMM=m | ||
| 319 | CONFIG_BT_RFCOMM_TTY=y | ||
| 320 | # CONFIG_BT_BNEP is not set | ||
| 321 | CONFIG_BT_HIDP=m | ||
| 322 | |||
| 323 | # | ||
| 324 | # Bluetooth device drivers | ||
| 325 | # | ||
| 326 | # CONFIG_BT_HCIBTSDIO is not set | ||
| 327 | CONFIG_BT_HCIUART=m | ||
| 328 | CONFIG_BT_HCIUART_H4=y | ||
| 329 | CONFIG_BT_HCIUART_BCSP=y | ||
| 330 | # CONFIG_BT_HCIUART_LL is not set | ||
| 331 | # CONFIG_BT_HCIVHCI is not set | ||
| 332 | # CONFIG_AF_RXRPC is not set | ||
| 333 | # CONFIG_WIRELESS is not set | ||
| 334 | # CONFIG_WIMAX is not set | ||
| 335 | # CONFIG_RFKILL is not set | ||
| 336 | # CONFIG_NET_9P is not set | ||
| 337 | |||
| 338 | # | ||
| 339 | # Device Drivers | ||
| 340 | # | ||
| 341 | |||
| 342 | # | ||
| 343 | # Generic Driver Options | ||
| 344 | # | ||
| 345 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 346 | CONFIG_STANDALONE=y | ||
| 347 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
| 348 | # CONFIG_FW_LOADER is not set | ||
| 349 | # CONFIG_DEBUG_DRIVER is not set | ||
| 350 | # CONFIG_DEBUG_DEVRES is not set | ||
| 351 | # CONFIG_SYS_HYPERVISOR is not set | ||
| 352 | # CONFIG_CONNECTOR is not set | ||
| 353 | CONFIG_MTD=y | ||
| 354 | # CONFIG_MTD_DEBUG is not set | ||
| 355 | # CONFIG_MTD_CONCAT is not set | ||
| 356 | CONFIG_MTD_PARTITIONS=y | ||
| 357 | # CONFIG_MTD_TESTS is not set | ||
| 358 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
| 359 | CONFIG_MTD_CMDLINE_PARTS=y | ||
| 360 | # CONFIG_MTD_AR7_PARTS is not set | ||
| 361 | |||
| 362 | # | ||
| 363 | # User Modules And Translation Layers | ||
| 364 | # | ||
| 365 | CONFIG_MTD_CHAR=y | ||
| 366 | CONFIG_MTD_BLKDEVS=y | ||
| 367 | CONFIG_MTD_BLOCK=y | ||
| 368 | # CONFIG_FTL is not set | ||
| 369 | # CONFIG_NFTL is not set | ||
| 370 | # CONFIG_INFTL is not set | ||
| 371 | # CONFIG_RFD_FTL is not set | ||
| 372 | # CONFIG_SSFDC is not set | ||
| 373 | # CONFIG_MTD_OOPS is not set | ||
| 374 | |||
| 375 | # | ||
| 376 | # RAM/ROM/Flash chip drivers | ||
| 377 | # | ||
| 378 | CONFIG_MTD_CFI=y | ||
| 379 | # CONFIG_MTD_JEDECPROBE is not set | ||
| 380 | CONFIG_MTD_GEN_PROBE=y | ||
| 381 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
| 382 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
| 383 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
| 384 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
| 385 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
| 386 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
| 387 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
| 388 | CONFIG_MTD_CFI_I1=y | ||
| 389 | CONFIG_MTD_CFI_I2=y | ||
| 390 | # CONFIG_MTD_CFI_I4 is not set | ||
| 391 | # CONFIG_MTD_CFI_I8 is not set | ||
| 392 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
| 393 | CONFIG_MTD_CFI_AMDSTD=y | ||
| 394 | # CONFIG_MTD_CFI_STAA is not set | ||
| 395 | CONFIG_MTD_CFI_UTIL=y | ||
| 396 | # CONFIG_MTD_RAM is not set | ||
| 397 | # CONFIG_MTD_ROM is not set | ||
| 398 | # CONFIG_MTD_ABSENT is not set | ||
| 399 | |||
| 400 | # | ||
| 401 | # Mapping drivers for chip access | ||
| 402 | # | ||
| 403 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
| 404 | CONFIG_MTD_PHYSMAP=y | ||
| 405 | # CONFIG_MTD_PHYSMAP_COMPAT is not set | ||
| 406 | # CONFIG_MTD_PLATRAM is not set | ||
| 407 | |||
| 408 | # | ||
| 409 | # Self-contained MTD device drivers | ||
| 410 | # | ||
| 411 | CONFIG_MTD_DATAFLASH=y | ||
| 412 | # CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set | ||
| 413 | # CONFIG_MTD_DATAFLASH_OTP is not set | ||
| 414 | # CONFIG_MTD_M25P80 is not set | ||
| 415 | # CONFIG_MTD_SLRAM is not set | ||
| 416 | # CONFIG_MTD_PHRAM is not set | ||
| 417 | # CONFIG_MTD_MTDRAM is not set | ||
| 418 | # CONFIG_MTD_BLOCK2MTD is not set | ||
| 419 | |||
| 420 | # | ||
| 421 | # Disk-On-Chip Device Drivers | ||
| 422 | # | ||
| 423 | # CONFIG_MTD_DOC2000 is not set | ||
| 424 | # CONFIG_MTD_DOC2001 is not set | ||
| 425 | # CONFIG_MTD_DOC2001PLUS is not set | ||
| 426 | # CONFIG_MTD_NAND is not set | ||
| 427 | # CONFIG_MTD_ONENAND is not set | ||
| 428 | |||
| 429 | # | ||
| 430 | # LPDDR flash memory drivers | ||
| 431 | # | ||
| 432 | # CONFIG_MTD_LPDDR is not set | ||
| 433 | |||
| 434 | # | ||
| 435 | # UBI - Unsorted block images | ||
| 436 | # | ||
| 437 | # CONFIG_MTD_UBI is not set | ||
| 438 | # CONFIG_PARPORT is not set | ||
| 439 | CONFIG_BLK_DEV=y | ||
| 440 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
| 441 | CONFIG_BLK_DEV_LOOP=y | ||
| 442 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
| 443 | # CONFIG_BLK_DEV_NBD is not set | ||
| 444 | # CONFIG_BLK_DEV_RAM is not set | ||
| 445 | # CONFIG_CDROM_PKTCDVD is not set | ||
| 446 | # CONFIG_ATA_OVER_ETH is not set | ||
| 447 | CONFIG_MISC_DEVICES=y | ||
| 448 | CONFIG_ATMEL_PWM=y | ||
| 449 | # CONFIG_ATMEL_TCLIB is not set | ||
| 450 | # CONFIG_ICS932S401 is not set | ||
| 451 | # CONFIG_ATMEL_SSC is not set | ||
| 452 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
| 453 | # CONFIG_ISL29003 is not set | ||
| 454 | # CONFIG_C2PORT is not set | ||
| 455 | |||
| 456 | # | ||
| 457 | # EEPROM support | ||
| 458 | # | ||
| 459 | # CONFIG_EEPROM_AT24 is not set | ||
| 460 | # CONFIG_EEPROM_AT25 is not set | ||
| 461 | # CONFIG_EEPROM_LEGACY is not set | ||
| 462 | # CONFIG_EEPROM_93CX6 is not set | ||
| 463 | |||
| 464 | # | ||
| 465 | # SCSI device support | ||
| 466 | # | ||
| 467 | # CONFIG_RAID_ATTRS is not set | ||
| 468 | # CONFIG_SCSI is not set | ||
| 469 | # CONFIG_SCSI_DMA is not set | ||
| 470 | # CONFIG_SCSI_NETLINK is not set | ||
| 471 | # CONFIG_ATA is not set | ||
| 472 | # CONFIG_MD is not set | ||
| 473 | CONFIG_NETDEVICES=y | ||
| 474 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
| 475 | # CONFIG_DUMMY is not set | ||
| 476 | # CONFIG_BONDING is not set | ||
| 477 | # CONFIG_MACVLAN is not set | ||
| 478 | # CONFIG_EQUALIZER is not set | ||
| 479 | # CONFIG_TUN is not set | ||
| 480 | # CONFIG_VETH is not set | ||
| 481 | CONFIG_PHYLIB=y | ||
| 482 | |||
| 483 | # | ||
| 484 | # MII PHY device drivers | ||
| 485 | # | ||
| 486 | # CONFIG_MARVELL_PHY is not set | ||
| 487 | # CONFIG_DAVICOM_PHY is not set | ||
| 488 | # CONFIG_QSEMI_PHY is not set | ||
| 489 | # CONFIG_LXT_PHY is not set | ||
| 490 | # CONFIG_CICADA_PHY is not set | ||
| 491 | # CONFIG_VITESSE_PHY is not set | ||
| 492 | # CONFIG_SMSC_PHY is not set | ||
| 493 | # CONFIG_BROADCOM_PHY is not set | ||
| 494 | # CONFIG_ICPLUS_PHY is not set | ||
| 495 | # CONFIG_REALTEK_PHY is not set | ||
| 496 | # CONFIG_NATIONAL_PHY is not set | ||
| 497 | # CONFIG_STE10XP is not set | ||
| 498 | # CONFIG_LSI_ET1011C_PHY is not set | ||
| 499 | # CONFIG_FIXED_PHY is not set | ||
| 500 | # CONFIG_MDIO_BITBANG is not set | ||
| 501 | CONFIG_NET_ETHERNET=y | ||
| 502 | # CONFIG_MII is not set | ||
| 503 | CONFIG_MACB=y | ||
| 504 | # CONFIG_ENC28J60 is not set | ||
| 505 | # CONFIG_ETHOC is not set | ||
| 506 | # CONFIG_DNET is not set | ||
| 507 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 508 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 509 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 510 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 511 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
| 512 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
| 513 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
| 514 | # CONFIG_B44 is not set | ||
| 515 | # CONFIG_NETDEV_1000 is not set | ||
| 516 | # CONFIG_NETDEV_10000 is not set | ||
| 517 | |||
| 518 | # | ||
| 519 | # Wireless LAN | ||
| 520 | # | ||
| 521 | # CONFIG_WLAN_PRE80211 is not set | ||
| 522 | # CONFIG_WLAN_80211 is not set | ||
| 523 | |||
| 524 | # | ||
| 525 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
| 526 | # | ||
| 527 | # CONFIG_WAN is not set | ||
| 528 | # CONFIG_PPP is not set | ||
| 529 | # CONFIG_SLIP is not set | ||
| 530 | # CONFIG_NETCONSOLE is not set | ||
| 531 | # CONFIG_NETPOLL is not set | ||
| 532 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
| 533 | # CONFIG_ISDN is not set | ||
| 534 | # CONFIG_PHONE is not set | ||
| 535 | |||
| 536 | # | ||
| 537 | # Input device support | ||
| 538 | # | ||
| 539 | CONFIG_INPUT=y | ||
| 540 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
| 541 | # CONFIG_INPUT_POLLDEV is not set | ||
| 542 | |||
| 543 | # | ||
| 544 | # Userland interfaces | ||
| 545 | # | ||
| 546 | # CONFIG_INPUT_MOUSEDEV is not set | ||
| 547 | # CONFIG_INPUT_JOYDEV is not set | ||
| 548 | CONFIG_INPUT_EVDEV=y | ||
| 549 | # CONFIG_INPUT_EVBUG is not set | ||
| 550 | |||
| 551 | # | ||
| 552 | # Input Device Drivers | ||
| 553 | # | ||
| 554 | CONFIG_INPUT_KEYBOARD=y | ||
| 555 | # CONFIG_KEYBOARD_ATKBD is not set | ||
| 556 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
| 557 | # CONFIG_KEYBOARD_LKKBD is not set | ||
| 558 | # CONFIG_KEYBOARD_XTKBD is not set | ||
| 559 | # CONFIG_KEYBOARD_NEWTON is not set | ||
| 560 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
| 561 | CONFIG_KEYBOARD_GPIO=y | ||
| 562 | # CONFIG_INPUT_MOUSE is not set | ||
| 563 | # CONFIG_INPUT_JOYSTICK is not set | ||
| 564 | # CONFIG_INPUT_TABLET is not set | ||
| 565 | CONFIG_INPUT_TOUCHSCREEN=y | ||
| 566 | CONFIG_TOUCHSCREEN_ADS7846=m | ||
| 567 | # CONFIG_TOUCHSCREEN_FUJITSU is not set | ||
| 568 | # CONFIG_TOUCHSCREEN_GUNZE is not set | ||
| 569 | # CONFIG_TOUCHSCREEN_ELO is not set | ||
| 570 | # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set | ||
| 571 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | ||
| 572 | # CONFIG_TOUCHSCREEN_INEXIO is not set | ||
| 573 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
| 574 | # CONFIG_TOUCHSCREEN_PENMOUNT is not set | ||
| 575 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set | ||
| 576 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | ||
| 577 | # CONFIG_TOUCHSCREEN_WM97XX is not set | ||
| 578 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set | ||
| 579 | # CONFIG_TOUCHSCREEN_TSC2007 is not set | ||
| 580 | # CONFIG_INPUT_MISC is not set | ||
| 581 | |||
| 582 | # | ||
| 583 | # Hardware I/O ports | ||
| 584 | # | ||
| 585 | # CONFIG_SERIO is not set | ||
| 586 | # CONFIG_GAMEPORT is not set | ||
| 587 | |||
| 588 | # | ||
| 589 | # Character devices | ||
| 590 | # | ||
| 591 | CONFIG_VT=y | ||
| 592 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
| 593 | CONFIG_VT_CONSOLE=y | ||
| 594 | CONFIG_HW_CONSOLE=y | ||
| 595 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
| 596 | CONFIG_DEVKMEM=y | ||
| 597 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
| 598 | |||
| 599 | # | ||
| 600 | # Serial drivers | ||
| 601 | # | ||
| 602 | # CONFIG_SERIAL_8250 is not set | ||
| 603 | |||
| 604 | # | ||
| 605 | # Non-8250 serial port support | ||
| 606 | # | ||
| 607 | CONFIG_SERIAL_ATMEL=y | ||
| 608 | CONFIG_SERIAL_ATMEL_CONSOLE=y | ||
| 609 | CONFIG_SERIAL_ATMEL_PDC=y | ||
| 610 | # CONFIG_SERIAL_ATMEL_TTYAT is not set | ||
| 611 | # CONFIG_SERIAL_MAX3100 is not set | ||
| 612 | CONFIG_SERIAL_CORE=y | ||
| 613 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
| 614 | CONFIG_UNIX98_PTYS=y | ||
| 615 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
| 616 | # CONFIG_LEGACY_PTYS is not set | ||
| 617 | # CONFIG_IPMI_HANDLER is not set | ||
| 618 | # CONFIG_HW_RANDOM is not set | ||
| 619 | # CONFIG_R3964 is not set | ||
| 620 | # CONFIG_RAW_DRIVER is not set | ||
| 621 | # CONFIG_TCG_TPM is not set | ||
| 622 | CONFIG_I2C=y | ||
| 623 | CONFIG_I2C_BOARDINFO=y | ||
| 624 | CONFIG_I2C_CHARDEV=y | ||
| 625 | CONFIG_I2C_HELPER_AUTO=y | ||
| 626 | CONFIG_I2C_ALGOBIT=y | ||
| 627 | |||
| 628 | # | ||
| 629 | # I2C Hardware Bus support | ||
| 630 | # | ||
| 631 | |||
| 632 | # | ||
| 633 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
| 634 | # | ||
| 635 | CONFIG_I2C_GPIO=y | ||
| 636 | # CONFIG_I2C_OCORES is not set | ||
| 637 | # CONFIG_I2C_SIMTEC is not set | ||
| 638 | |||
| 639 | # | ||
| 640 | # External I2C/SMBus adapter drivers | ||
| 641 | # | ||
| 642 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
| 643 | # CONFIG_I2C_TAOS_EVM is not set | ||
| 644 | |||
| 645 | # | ||
| 646 | # Other I2C/SMBus bus drivers | ||
| 647 | # | ||
| 648 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
| 649 | # CONFIG_I2C_STUB is not set | ||
| 650 | |||
| 651 | # | ||
| 652 | # Miscellaneous I2C Chip support | ||
| 653 | # | ||
| 654 | # CONFIG_DS1682 is not set | ||
| 655 | # CONFIG_SENSORS_PCF8574 is not set | ||
| 656 | # CONFIG_PCF8575 is not set | ||
| 657 | # CONFIG_SENSORS_PCA9539 is not set | ||
| 658 | # CONFIG_SENSORS_MAX6875 is not set | ||
| 659 | # CONFIG_SENSORS_TSL2550 is not set | ||
| 660 | # CONFIG_I2C_DEBUG_CORE is not set | ||
| 661 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
| 662 | # CONFIG_I2C_DEBUG_BUS is not set | ||
| 663 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
| 664 | CONFIG_SPI=y | ||
| 665 | # CONFIG_SPI_DEBUG is not set | ||
| 666 | CONFIG_SPI_MASTER=y | ||
| 667 | |||
| 668 | # | ||
| 669 | # SPI Master Controller Drivers | ||
| 670 | # | ||
| 671 | CONFIG_SPI_ATMEL=y | ||
| 672 | # CONFIG_SPI_BITBANG is not set | ||
| 673 | # CONFIG_SPI_GPIO is not set | ||
| 674 | |||
| 675 | # | ||
| 676 | # SPI Protocol Masters | ||
| 677 | # | ||
| 678 | CONFIG_SPI_SPIDEV=y | ||
| 679 | # CONFIG_SPI_TLE62X0 is not set | ||
| 680 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
| 681 | CONFIG_GPIOLIB=y | ||
| 682 | # CONFIG_DEBUG_GPIO is not set | ||
| 683 | # CONFIG_GPIO_SYSFS is not set | ||
| 684 | |||
| 685 | # | ||
| 686 | # Memory mapped GPIO expanders: | ||
| 687 | # | ||
| 688 | |||
| 689 | # | ||
| 690 | # I2C GPIO expanders: | ||
| 691 | # | ||
| 692 | # CONFIG_GPIO_MAX732X is not set | ||
| 693 | # CONFIG_GPIO_PCA953X is not set | ||
| 694 | # CONFIG_GPIO_PCF857X is not set | ||
| 695 | |||
| 696 | # | ||
| 697 | # PCI GPIO expanders: | ||
| 698 | # | ||
| 699 | |||
| 700 | # | ||
| 701 | # SPI GPIO expanders: | ||
| 702 | # | ||
| 703 | # CONFIG_GPIO_MAX7301 is not set | ||
| 704 | # CONFIG_GPIO_MCP23S08 is not set | ||
| 705 | # CONFIG_W1 is not set | ||
| 706 | # CONFIG_POWER_SUPPLY is not set | ||
| 707 | CONFIG_HWMON=y | ||
| 708 | # CONFIG_HWMON_VID is not set | ||
| 709 | # CONFIG_SENSORS_AD7414 is not set | ||
| 710 | # CONFIG_SENSORS_AD7418 is not set | ||
| 711 | # CONFIG_SENSORS_ADCXX is not set | ||
| 712 | # CONFIG_SENSORS_ADM1021 is not set | ||
| 713 | # CONFIG_SENSORS_ADM1025 is not set | ||
| 714 | # CONFIG_SENSORS_ADM1026 is not set | ||
| 715 | # CONFIG_SENSORS_ADM1029 is not set | ||
| 716 | # CONFIG_SENSORS_ADM1031 is not set | ||
| 717 | # CONFIG_SENSORS_ADM9240 is not set | ||
| 718 | # CONFIG_SENSORS_ADT7462 is not set | ||
| 719 | # CONFIG_SENSORS_ADT7470 is not set | ||
| 720 | # CONFIG_SENSORS_ADT7473 is not set | ||
| 721 | # CONFIG_SENSORS_ADT7475 is not set | ||
| 722 | # CONFIG_SENSORS_ATXP1 is not set | ||
| 723 | # CONFIG_SENSORS_DS1621 is not set | ||
| 724 | # CONFIG_SENSORS_F71805F is not set | ||
| 725 | # CONFIG_SENSORS_F71882FG is not set | ||
| 726 | # CONFIG_SENSORS_F75375S is not set | ||
| 727 | # CONFIG_SENSORS_G760A is not set | ||
| 728 | # CONFIG_SENSORS_GL518SM is not set | ||
| 729 | # CONFIG_SENSORS_GL520SM is not set | ||
| 730 | # CONFIG_SENSORS_IT87 is not set | ||
| 731 | # CONFIG_SENSORS_LM63 is not set | ||
| 732 | # CONFIG_SENSORS_LM70 is not set | ||
| 733 | # CONFIG_SENSORS_LM75 is not set | ||
| 734 | # CONFIG_SENSORS_LM77 is not set | ||
| 735 | # CONFIG_SENSORS_LM78 is not set | ||
| 736 | # CONFIG_SENSORS_LM80 is not set | ||
| 737 | # CONFIG_SENSORS_LM83 is not set | ||
| 738 | # CONFIG_SENSORS_LM85 is not set | ||
| 739 | # CONFIG_SENSORS_LM87 is not set | ||
| 740 | # CONFIG_SENSORS_LM90 is not set | ||
| 741 | # CONFIG_SENSORS_LM92 is not set | ||
| 742 | # CONFIG_SENSORS_LM93 is not set | ||
| 743 | # CONFIG_SENSORS_LTC4215 is not set | ||
| 744 | # CONFIG_SENSORS_LTC4245 is not set | ||
| 745 | # CONFIG_SENSORS_LM95241 is not set | ||
| 746 | # CONFIG_SENSORS_MAX1111 is not set | ||
| 747 | # CONFIG_SENSORS_MAX1619 is not set | ||
| 748 | # CONFIG_SENSORS_MAX6650 is not set | ||
| 749 | # CONFIG_SENSORS_PC87360 is not set | ||
| 750 | # CONFIG_SENSORS_PC87427 is not set | ||
| 751 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 752 | # CONFIG_SENSORS_DME1737 is not set | ||
| 753 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
| 754 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
| 755 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
| 756 | # CONFIG_SENSORS_ADS7828 is not set | ||
| 757 | # CONFIG_SENSORS_THMC50 is not set | ||
| 758 | # CONFIG_SENSORS_VT1211 is not set | ||
| 759 | # CONFIG_SENSORS_W83781D is not set | ||
| 760 | # CONFIG_SENSORS_W83791D is not set | ||
| 761 | # CONFIG_SENSORS_W83792D is not set | ||
| 762 | # CONFIG_SENSORS_W83793 is not set | ||
| 763 | # CONFIG_SENSORS_W83L785TS is not set | ||
| 764 | # CONFIG_SENSORS_W83L786NG is not set | ||
| 765 | # CONFIG_SENSORS_W83627HF is not set | ||
| 766 | # CONFIG_SENSORS_W83627EHF is not set | ||
| 767 | # CONFIG_SENSORS_LIS3_SPI is not set | ||
| 768 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
| 769 | # CONFIG_THERMAL is not set | ||
| 770 | # CONFIG_THERMAL_HWMON is not set | ||
| 771 | CONFIG_WATCHDOG=y | ||
| 772 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 773 | |||
| 774 | # | ||
| 775 | # Watchdog Device Drivers | ||
| 776 | # | ||
| 777 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 778 | CONFIG_AT32AP700X_WDT=y | ||
| 779 | CONFIG_SSB_POSSIBLE=y | ||
| 780 | |||
| 781 | # | ||
| 782 | # Sonics Silicon Backplane | ||
| 783 | # | ||
| 784 | # CONFIG_SSB is not set | ||
| 785 | |||
| 786 | # | ||
| 787 | # Multifunction device drivers | ||
| 788 | # | ||
| 789 | # CONFIG_MFD_CORE is not set | ||
| 790 | # CONFIG_MFD_SM501 is not set | ||
| 791 | # CONFIG_HTC_PASIC3 is not set | ||
| 792 | # CONFIG_UCB1400_CORE is not set | ||
| 793 | # CONFIG_TPS65010 is not set | ||
| 794 | # CONFIG_TWL4030_CORE is not set | ||
| 795 | # CONFIG_MFD_TMIO is not set | ||
| 796 | # CONFIG_PMIC_DA903X is not set | ||
| 797 | # CONFIG_MFD_WM8400 is not set | ||
| 798 | # CONFIG_MFD_WM8350_I2C is not set | ||
| 799 | # CONFIG_MFD_PCF50633 is not set | ||
| 800 | # CONFIG_REGULATOR is not set | ||
| 801 | |||
| 802 | # | ||
| 803 | # Multimedia devices | ||
| 804 | # | ||
| 805 | |||
| 806 | # | ||
| 807 | # Multimedia core support | ||
| 808 | # | ||
| 809 | # CONFIG_VIDEO_DEV is not set | ||
| 810 | # CONFIG_DVB_CORE is not set | ||
| 811 | # CONFIG_VIDEO_MEDIA is not set | ||
| 812 | |||
| 813 | # | ||
| 814 | # Multimedia drivers | ||
| 815 | # | ||
| 816 | # CONFIG_DAB is not set | ||
| 817 | |||
| 818 | # | ||
| 819 | # Graphics support | ||
| 820 | # | ||
| 821 | # CONFIG_VGASTATE is not set | ||
| 822 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
| 823 | CONFIG_FB=y | ||
| 824 | # CONFIG_FIRMWARE_EDID is not set | ||
| 825 | # CONFIG_FB_DDC is not set | ||
| 826 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
| 827 | CONFIG_FB_CFB_FILLRECT=y | ||
| 828 | CONFIG_FB_CFB_COPYAREA=y | ||
| 829 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
| 830 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
| 831 | # CONFIG_FB_SYS_FILLRECT is not set | ||
| 832 | # CONFIG_FB_SYS_COPYAREA is not set | ||
| 833 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
| 834 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
| 835 | # CONFIG_FB_SYS_FOPS is not set | ||
| 836 | # CONFIG_FB_SVGALIB is not set | ||
| 837 | # CONFIG_FB_MACMODES is not set | ||
| 838 | # CONFIG_FB_BACKLIGHT is not set | ||
| 839 | # CONFIG_FB_MODE_HELPERS is not set | ||
| 840 | # CONFIG_FB_TILEBLITTING is not set | ||
| 841 | |||
| 842 | # | ||
| 843 | # Frame buffer hardware drivers | ||
| 844 | # | ||
| 845 | # CONFIG_FB_S1D13XXX is not set | ||
| 846 | CONFIG_FB_ATMEL=y | ||
| 847 | # CONFIG_FB_VIRTUAL is not set | ||
| 848 | # CONFIG_FB_METRONOME is not set | ||
| 849 | # CONFIG_FB_MB862XX is not set | ||
| 850 | # CONFIG_FB_BROADSHEET is not set | ||
| 851 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
| 852 | CONFIG_LCD_CLASS_DEVICE=y | ||
| 853 | # CONFIG_LCD_LTV350QV is not set | ||
| 854 | # CONFIG_LCD_ILI9320 is not set | ||
| 855 | # CONFIG_LCD_TDO24M is not set | ||
| 856 | # CONFIG_LCD_VGG2432A4 is not set | ||
| 857 | # CONFIG_LCD_PLATFORM is not set | ||
| 858 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
| 859 | # CONFIG_BACKLIGHT_ATMEL_LCDC is not set | ||
| 860 | # CONFIG_BACKLIGHT_ATMEL_PWM is not set | ||
| 861 | CONFIG_BACKLIGHT_GENERIC=y | ||
| 862 | |||
| 863 | # | ||
| 864 | # Display device support | ||
| 865 | # | ||
| 866 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 867 | |||
| 868 | # | ||
| 869 | # Console display driver support | ||
| 870 | # | ||
| 871 | CONFIG_DUMMY_CONSOLE=y | ||
| 872 | # CONFIG_FRAMEBUFFER_CONSOLE is not set | ||
| 873 | # CONFIG_LOGO is not set | ||
| 874 | CONFIG_SOUND=m | ||
| 875 | CONFIG_SOUND_OSS_CORE=y | ||
| 876 | CONFIG_SND=m | ||
| 877 | CONFIG_SND_TIMER=m | ||
| 878 | CONFIG_SND_PCM=m | ||
| 879 | # CONFIG_SND_SEQUENCER is not set | ||
| 880 | CONFIG_SND_OSSEMUL=y | ||
| 881 | CONFIG_SND_MIXER_OSS=m | ||
| 882 | CONFIG_SND_PCM_OSS=m | ||
| 883 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
| 884 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
| 885 | # CONFIG_SND_SUPPORT_OLD_API is not set | ||
| 886 | # CONFIG_SND_VERBOSE_PROCFS is not set | ||
| 887 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
| 888 | # CONFIG_SND_DEBUG is not set | ||
| 889 | CONFIG_SND_VMASTER=y | ||
| 890 | CONFIG_SND_AC97_CODEC=m | ||
| 891 | CONFIG_SND_DRIVERS=y | ||
| 892 | # CONFIG_SND_DUMMY is not set | ||
| 893 | # CONFIG_SND_MTPAV is not set | ||
| 894 | # CONFIG_SND_SERIAL_U16550 is not set | ||
| 895 | # CONFIG_SND_MPU401 is not set | ||
| 896 | # CONFIG_SND_AC97_POWER_SAVE is not set | ||
| 897 | |||
| 898 | # | ||
| 899 | # Atmel devices (AVR32 and AT91) | ||
| 900 | # | ||
| 901 | # CONFIG_SND_ATMEL_ABDAC is not set | ||
| 902 | CONFIG_SND_ATMEL_AC97C=m | ||
| 903 | # CONFIG_SND_SPI is not set | ||
| 904 | # CONFIG_SND_SOC is not set | ||
| 905 | # CONFIG_SOUND_PRIME is not set | ||
| 906 | CONFIG_AC97_BUS=m | ||
| 907 | CONFIG_HID_SUPPORT=y | ||
| 908 | CONFIG_HID=y | ||
| 909 | # CONFIG_HID_DEBUG is not set | ||
| 910 | # CONFIG_HIDRAW is not set | ||
| 911 | # CONFIG_HID_PID is not set | ||
| 912 | |||
| 913 | # | ||
| 914 | # Special HID drivers | ||
| 915 | # | ||
| 916 | # CONFIG_HID_APPLE is not set | ||
| 917 | CONFIG_USB_SUPPORT=y | ||
| 918 | # CONFIG_USB_ARCH_HAS_HCD is not set | ||
| 919 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
| 920 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
| 921 | # CONFIG_USB_OTG_WHITELIST is not set | ||
| 922 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
| 923 | # CONFIG_USB_MUSB_HDRC is not set | ||
| 924 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | ||
| 925 | |||
| 926 | # | ||
| 927 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
| 928 | # | ||
| 929 | CONFIG_USB_GADGET=m | ||
| 930 | # CONFIG_USB_GADGET_DEBUG is not set | ||
| 931 | CONFIG_USB_GADGET_DEBUG_FILES=y | ||
| 932 | # CONFIG_USB_GADGET_DEBUG_FS is not set | ||
| 933 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
| 934 | CONFIG_USB_GADGET_SELECTED=y | ||
| 935 | # CONFIG_USB_GADGET_AT91 is not set | ||
| 936 | CONFIG_USB_GADGET_ATMEL_USBA=y | ||
| 937 | CONFIG_USB_ATMEL_USBA=m | ||
| 938 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
| 939 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
| 940 | # CONFIG_USB_GADGET_OMAP is not set | ||
| 941 | # CONFIG_USB_GADGET_PXA25X is not set | ||
| 942 | # CONFIG_USB_GADGET_PXA27X is not set | ||
| 943 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
| 944 | # CONFIG_USB_GADGET_IMX is not set | ||
| 945 | # CONFIG_USB_GADGET_M66592 is not set | ||
| 946 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
| 947 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
| 948 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
| 949 | # CONFIG_USB_GADGET_NET2280 is not set | ||
| 950 | # CONFIG_USB_GADGET_GOKU is not set | ||
| 951 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
| 952 | CONFIG_USB_GADGET_DUALSPEED=y | ||
| 953 | # CONFIG_USB_ZERO is not set | ||
| 954 | # CONFIG_USB_ETH is not set | ||
| 955 | # CONFIG_USB_GADGETFS is not set | ||
| 956 | CONFIG_USB_FILE_STORAGE=m | ||
| 957 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
| 958 | CONFIG_USB_G_SERIAL=m | ||
| 959 | # CONFIG_USB_MIDI_GADGET is not set | ||
| 960 | # CONFIG_USB_G_PRINTER is not set | ||
| 961 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
| 962 | |||
| 963 | # | ||
| 964 | # OTG and related infrastructure | ||
| 965 | # | ||
| 966 | # CONFIG_USB_GPIO_VBUS is not set | ||
| 967 | # CONFIG_NOP_USB_XCEIV is not set | ||
| 968 | CONFIG_MMC=y | ||
| 969 | # CONFIG_MMC_DEBUG is not set | ||
| 970 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
| 971 | |||
| 972 | # | ||
| 973 | # MMC/SD/SDIO Card Drivers | ||
| 974 | # | ||
| 975 | CONFIG_MMC_BLOCK=y | ||
| 976 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
| 977 | # CONFIG_SDIO_UART is not set | ||
| 978 | # CONFIG_MMC_TEST is not set | ||
| 979 | |||
| 980 | # | ||
| 981 | # MMC/SD/SDIO Host Controller Drivers | ||
| 982 | # | ||
| 983 | # CONFIG_MMC_SDHCI is not set | ||
| 984 | CONFIG_MMC_ATMELMCI=y | ||
| 985 | # CONFIG_MMC_ATMELMCI_DMA is not set | ||
| 986 | # CONFIG_MMC_SPI is not set | ||
| 987 | # CONFIG_MEMSTICK is not set | ||
| 988 | CONFIG_NEW_LEDS=y | ||
| 989 | CONFIG_LEDS_CLASS=y | ||
| 990 | |||
| 991 | # | ||
| 992 | # LED drivers | ||
| 993 | # | ||
| 994 | CONFIG_LEDS_ATMEL_PWM=y | ||
| 995 | # CONFIG_LEDS_PCA9532 is not set | ||
| 996 | CONFIG_LEDS_GPIO=y | ||
| 997 | CONFIG_LEDS_GPIO_PLATFORM=y | ||
| 998 | # CONFIG_LEDS_LP5521 is not set | ||
| 999 | # CONFIG_LEDS_PCA955X is not set | ||
| 1000 | # CONFIG_LEDS_DAC124S085 is not set | ||
| 1001 | # CONFIG_LEDS_BD2802 is not set | ||
| 1002 | |||
| 1003 | # | ||
| 1004 | # LED Triggers | ||
| 1005 | # | ||
| 1006 | CONFIG_LEDS_TRIGGERS=y | ||
| 1007 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
| 1008 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
| 1009 | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set | ||
| 1010 | # CONFIG_LEDS_TRIGGER_GPIO is not set | ||
| 1011 | # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set | ||
| 1012 | |||
| 1013 | # | ||
| 1014 | # iptables trigger is under Netfilter config (LED target) | ||
| 1015 | # | ||
| 1016 | # CONFIG_ACCESSIBILITY is not set | ||
| 1017 | CONFIG_RTC_LIB=m | ||
| 1018 | CONFIG_RTC_CLASS=m | ||
| 1019 | |||
| 1020 | # | ||
| 1021 | # RTC interfaces | ||
| 1022 | # | ||
| 1023 | CONFIG_RTC_INTF_SYSFS=y | ||
| 1024 | CONFIG_RTC_INTF_PROC=y | ||
| 1025 | CONFIG_RTC_INTF_DEV=y | ||
| 1026 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
| 1027 | # CONFIG_RTC_DRV_TEST is not set | ||
| 1028 | |||
| 1029 | # | ||
| 1030 | # I2C RTC drivers | ||
| 1031 | # | ||
| 1032 | # CONFIG_RTC_DRV_DS1307 is not set | ||
| 1033 | # CONFIG_RTC_DRV_DS1374 is not set | ||
| 1034 | # CONFIG_RTC_DRV_DS1672 is not set | ||
| 1035 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
| 1036 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
| 1037 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
| 1038 | # CONFIG_RTC_DRV_X1205 is not set | ||
| 1039 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
| 1040 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
| 1041 | # CONFIG_RTC_DRV_M41T80 is not set | ||
| 1042 | CONFIG_RTC_DRV_S35390A=m | ||
| 1043 | # CONFIG_RTC_DRV_FM3130 is not set | ||
| 1044 | # CONFIG_RTC_DRV_RX8581 is not set | ||
| 1045 | |||
| 1046 | # | ||
| 1047 | # SPI RTC drivers | ||
| 1048 | # | ||
| 1049 | # CONFIG_RTC_DRV_M41T94 is not set | ||
| 1050 | # CONFIG_RTC_DRV_DS1305 is not set | ||
| 1051 | # CONFIG_RTC_DRV_DS1390 is not set | ||
| 1052 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
| 1053 | # CONFIG_RTC_DRV_R9701 is not set | ||
| 1054 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
| 1055 | # CONFIG_RTC_DRV_DS3234 is not set | ||
| 1056 | |||
| 1057 | # | ||
| 1058 | # Platform RTC drivers | ||
| 1059 | # | ||
| 1060 | # CONFIG_RTC_DRV_DS1286 is not set | ||
| 1061 | # CONFIG_RTC_DRV_DS1511 is not set | ||
| 1062 | # CONFIG_RTC_DRV_DS1553 is not set | ||
| 1063 | # CONFIG_RTC_DRV_DS1742 is not set | ||
| 1064 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
| 1065 | # CONFIG_RTC_DRV_M48T86 is not set | ||
| 1066 | # CONFIG_RTC_DRV_M48T35 is not set | ||
| 1067 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 1068 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
| 1069 | # CONFIG_RTC_DRV_V3020 is not set | ||
| 1070 | |||
| 1071 | # | ||
| 1072 | # on-CPU RTC drivers | ||
| 1073 | # | ||
| 1074 | CONFIG_RTC_DRV_AT32AP700X=m | ||
| 1075 | CONFIG_DMADEVICES=y | ||
| 1076 | |||
| 1077 | # | ||
| 1078 | # DMA Devices | ||
| 1079 | # | ||
| 1080 | CONFIG_DW_DMAC=y | ||
| 1081 | CONFIG_DMA_ENGINE=y | ||
| 1082 | |||
| 1083 | # | ||
| 1084 | # DMA Clients | ||
| 1085 | # | ||
| 1086 | # CONFIG_NET_DMA is not set | ||
| 1087 | # CONFIG_ASYNC_TX_DMA is not set | ||
| 1088 | # CONFIG_DMATEST is not set | ||
| 1089 | # CONFIG_AUXDISPLAY is not set | ||
| 1090 | CONFIG_UIO=y | ||
| 1091 | # CONFIG_UIO_PDRV is not set | ||
| 1092 | # CONFIG_UIO_PDRV_GENIRQ is not set | ||
| 1093 | # CONFIG_UIO_SMX is not set | ||
| 1094 | # CONFIG_UIO_SERCOS3 is not set | ||
| 1095 | # CONFIG_STAGING is not set | ||
| 1096 | |||
| 1097 | # | ||
| 1098 | # File systems | ||
| 1099 | # | ||
| 1100 | CONFIG_EXT2_FS=y | ||
| 1101 | CONFIG_EXT2_FS_XATTR=y | ||
| 1102 | # CONFIG_EXT2_FS_POSIX_ACL is not set | ||
| 1103 | # CONFIG_EXT2_FS_SECURITY is not set | ||
| 1104 | # CONFIG_EXT2_FS_XIP is not set | ||
| 1105 | CONFIG_EXT3_FS=y | ||
| 1106 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
| 1107 | CONFIG_EXT3_FS_XATTR=y | ||
| 1108 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
| 1109 | # CONFIG_EXT3_FS_SECURITY is not set | ||
| 1110 | # CONFIG_EXT4_FS is not set | ||
| 1111 | CONFIG_JBD=y | ||
| 1112 | # CONFIG_JBD_DEBUG is not set | ||
| 1113 | CONFIG_FS_MBCACHE=y | ||
| 1114 | # CONFIG_REISERFS_FS is not set | ||
| 1115 | # CONFIG_JFS_FS is not set | ||
| 1116 | # CONFIG_FS_POSIX_ACL is not set | ||
| 1117 | CONFIG_FILE_LOCKING=y | ||
| 1118 | # CONFIG_XFS_FS is not set | ||
| 1119 | # CONFIG_OCFS2_FS is not set | ||
| 1120 | # CONFIG_BTRFS_FS is not set | ||
| 1121 | # CONFIG_DNOTIFY is not set | ||
| 1122 | # CONFIG_INOTIFY is not set | ||
| 1123 | # CONFIG_QUOTA is not set | ||
| 1124 | # CONFIG_AUTOFS_FS is not set | ||
| 1125 | # CONFIG_AUTOFS4_FS is not set | ||
| 1126 | # CONFIG_FUSE_FS is not set | ||
| 1127 | |||
| 1128 | # | ||
| 1129 | # Caches | ||
| 1130 | # | ||
| 1131 | # CONFIG_FSCACHE is not set | ||
| 1132 | |||
| 1133 | # | ||
| 1134 | # CD-ROM/DVD Filesystems | ||
| 1135 | # | ||
| 1136 | # CONFIG_ISO9660_FS is not set | ||
| 1137 | # CONFIG_UDF_FS is not set | ||
| 1138 | |||
| 1139 | # | ||
| 1140 | # DOS/FAT/NT Filesystems | ||
| 1141 | # | ||
| 1142 | CONFIG_FAT_FS=y | ||
| 1143 | CONFIG_MSDOS_FS=y | ||
| 1144 | CONFIG_VFAT_FS=y | ||
| 1145 | CONFIG_FAT_DEFAULT_CODEPAGE=850 | ||
| 1146 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
| 1147 | CONFIG_NTFS_FS=m | ||
| 1148 | # CONFIG_NTFS_DEBUG is not set | ||
| 1149 | CONFIG_NTFS_RW=y | ||
| 1150 | |||
| 1151 | # | ||
| 1152 | # Pseudo filesystems | ||
| 1153 | # | ||
| 1154 | CONFIG_PROC_FS=y | ||
| 1155 | # CONFIG_PROC_KCORE is not set | ||
| 1156 | CONFIG_PROC_SYSCTL=y | ||
| 1157 | CONFIG_PROC_PAGE_MONITOR=y | ||
| 1158 | CONFIG_SYSFS=y | ||
| 1159 | CONFIG_TMPFS=y | ||
| 1160 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
| 1161 | # CONFIG_HUGETLB_PAGE is not set | ||
| 1162 | CONFIG_CONFIGFS_FS=y | ||
| 1163 | CONFIG_MISC_FILESYSTEMS=y | ||
| 1164 | # CONFIG_ADFS_FS is not set | ||
| 1165 | # CONFIG_AFFS_FS is not set | ||
| 1166 | # CONFIG_HFS_FS is not set | ||
| 1167 | # CONFIG_HFSPLUS_FS is not set | ||
| 1168 | # CONFIG_BEFS_FS is not set | ||
| 1169 | # CONFIG_BFS_FS is not set | ||
| 1170 | # CONFIG_EFS_FS is not set | ||
| 1171 | CONFIG_JFFS2_FS=y | ||
| 1172 | CONFIG_JFFS2_FS_DEBUG=0 | ||
| 1173 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
| 1174 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
| 1175 | # CONFIG_JFFS2_SUMMARY is not set | ||
| 1176 | # CONFIG_JFFS2_FS_XATTR is not set | ||
| 1177 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
| 1178 | CONFIG_JFFS2_ZLIB=y | ||
| 1179 | # CONFIG_JFFS2_LZO is not set | ||
| 1180 | CONFIG_JFFS2_RTIME=y | ||
| 1181 | # CONFIG_JFFS2_RUBIN is not set | ||
| 1182 | # CONFIG_CRAMFS is not set | ||
| 1183 | # CONFIG_SQUASHFS is not set | ||
| 1184 | # CONFIG_VXFS_FS is not set | ||
| 1185 | # CONFIG_MINIX_FS is not set | ||
| 1186 | # CONFIG_OMFS_FS is not set | ||
| 1187 | # CONFIG_HPFS_FS is not set | ||
| 1188 | # CONFIG_QNX4FS_FS is not set | ||
| 1189 | # CONFIG_ROMFS_FS is not set | ||
| 1190 | # CONFIG_SYSV_FS is not set | ||
| 1191 | # CONFIG_UFS_FS is not set | ||
| 1192 | # CONFIG_NILFS2_FS is not set | ||
| 1193 | CONFIG_NETWORK_FILESYSTEMS=y | ||
| 1194 | CONFIG_NFS_FS=y | ||
| 1195 | CONFIG_NFS_V3=y | ||
| 1196 | # CONFIG_NFS_V3_ACL is not set | ||
| 1197 | # CONFIG_NFS_V4 is not set | ||
| 1198 | CONFIG_ROOT_NFS=y | ||
| 1199 | # CONFIG_NFSD is not set | ||
| 1200 | CONFIG_LOCKD=y | ||
| 1201 | CONFIG_LOCKD_V4=y | ||
| 1202 | CONFIG_NFS_COMMON=y | ||
| 1203 | CONFIG_SUNRPC=y | ||
| 1204 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
| 1205 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
| 1206 | CONFIG_SMB_FS=m | ||
| 1207 | CONFIG_SMB_NLS_DEFAULT=y | ||
| 1208 | CONFIG_SMB_NLS_REMOTE="cp437" | ||
| 1209 | CONFIG_CIFS=m | ||
| 1210 | CONFIG_CIFS_STATS=y | ||
| 1211 | # CONFIG_CIFS_STATS2 is not set | ||
| 1212 | CONFIG_CIFS_WEAK_PW_HASH=y | ||
| 1213 | CONFIG_CIFS_XATTR=y | ||
| 1214 | CONFIG_CIFS_POSIX=y | ||
| 1215 | # CONFIG_CIFS_DEBUG2 is not set | ||
| 1216 | # CONFIG_CIFS_EXPERIMENTAL is not set | ||
| 1217 | # CONFIG_NCP_FS is not set | ||
| 1218 | # CONFIG_CODA_FS is not set | ||
| 1219 | # CONFIG_AFS_FS is not set | ||
| 1220 | |||
| 1221 | # | ||
| 1222 | # Partition Types | ||
| 1223 | # | ||
| 1224 | # CONFIG_PARTITION_ADVANCED is not set | ||
| 1225 | CONFIG_MSDOS_PARTITION=y | ||
| 1226 | CONFIG_NLS=y | ||
| 1227 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
| 1228 | CONFIG_NLS_CODEPAGE_437=y | ||
| 1229 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
| 1230 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
| 1231 | CONFIG_NLS_CODEPAGE_850=y | ||
| 1232 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
| 1233 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
| 1234 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
| 1235 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
| 1236 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
| 1237 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
| 1238 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
| 1239 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
| 1240 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
| 1241 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
| 1242 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
| 1243 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
| 1244 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
| 1245 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
| 1246 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
| 1247 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
| 1248 | # CONFIG_NLS_ISO8859_8 is not set | ||
| 1249 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
| 1250 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
| 1251 | # CONFIG_NLS_ASCII is not set | ||
| 1252 | CONFIG_NLS_ISO8859_1=y | ||
| 1253 | # CONFIG_NLS_ISO8859_2 is not set | ||
| 1254 | # CONFIG_NLS_ISO8859_3 is not set | ||
| 1255 | # CONFIG_NLS_ISO8859_4 is not set | ||
| 1256 | # CONFIG_NLS_ISO8859_5 is not set | ||
| 1257 | # CONFIG_NLS_ISO8859_6 is not set | ||
| 1258 | # CONFIG_NLS_ISO8859_7 is not set | ||
| 1259 | # CONFIG_NLS_ISO8859_9 is not set | ||
| 1260 | # CONFIG_NLS_ISO8859_13 is not set | ||
| 1261 | # CONFIG_NLS_ISO8859_14 is not set | ||
| 1262 | # CONFIG_NLS_ISO8859_15 is not set | ||
| 1263 | # CONFIG_NLS_KOI8_R is not set | ||
| 1264 | # CONFIG_NLS_KOI8_U is not set | ||
| 1265 | CONFIG_NLS_UTF8=y | ||
| 1266 | # CONFIG_DLM is not set | ||
| 1267 | |||
| 1268 | # | ||
| 1269 | # Kernel hacking | ||
| 1270 | # | ||
| 1271 | # CONFIG_PRINTK_TIME is not set | ||
| 1272 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1273 | CONFIG_ENABLE_MUST_CHECK=y | ||
| 1274 | CONFIG_FRAME_WARN=1024 | ||
| 1275 | CONFIG_MAGIC_SYSRQ=y | ||
| 1276 | # CONFIG_UNUSED_SYMBOLS is not set | ||
| 1277 | CONFIG_DEBUG_FS=y | ||
| 1278 | # CONFIG_HEADERS_CHECK is not set | ||
| 1279 | CONFIG_DEBUG_KERNEL=y | ||
| 1280 | # CONFIG_DEBUG_SHIRQ is not set | ||
| 1281 | CONFIG_DETECT_SOFTLOCKUP=y | ||
| 1282 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
| 1283 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
| 1284 | CONFIG_DETECT_HUNG_TASK=y | ||
| 1285 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
| 1286 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
| 1287 | CONFIG_SCHED_DEBUG=y | ||
| 1288 | # CONFIG_SCHEDSTATS is not set | ||
| 1289 | # CONFIG_TIMER_STATS is not set | ||
| 1290 | # CONFIG_DEBUG_OBJECTS is not set | ||
| 1291 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
| 1292 | # CONFIG_RT_MUTEX_TESTER is not set | ||
| 1293 | # CONFIG_DEBUG_SPINLOCK is not set | ||
| 1294 | # CONFIG_DEBUG_MUTEXES is not set | ||
| 1295 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
| 1296 | # CONFIG_PROVE_LOCKING is not set | ||
| 1297 | # CONFIG_LOCK_STAT is not set | ||
| 1298 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
| 1299 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
| 1300 | # CONFIG_DEBUG_KOBJECT is not set | ||
| 1301 | CONFIG_DEBUG_BUGVERBOSE=y | ||
| 1302 | # CONFIG_DEBUG_INFO is not set | ||
| 1303 | # CONFIG_DEBUG_VM is not set | ||
| 1304 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
| 1305 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
| 1306 | # CONFIG_DEBUG_LIST is not set | ||
| 1307 | # CONFIG_DEBUG_SG is not set | ||
| 1308 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
| 1309 | CONFIG_FRAME_POINTER=y | ||
| 1310 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
| 1311 | # CONFIG_RCU_TORTURE_TEST is not set | ||
| 1312 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
| 1313 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
| 1314 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
| 1315 | # CONFIG_FAULT_INJECTION is not set | ||
| 1316 | # CONFIG_PAGE_POISONING is not set | ||
| 1317 | CONFIG_TRACING_SUPPORT=y | ||
| 1318 | |||
| 1319 | # | ||
| 1320 | # Tracers | ||
| 1321 | # | ||
| 1322 | # CONFIG_IRQSOFF_TRACER is not set | ||
| 1323 | # CONFIG_SCHED_TRACER is not set | ||
| 1324 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
| 1325 | # CONFIG_EVENT_TRACER is not set | ||
| 1326 | # CONFIG_BOOT_TRACER is not set | ||
| 1327 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
| 1328 | # CONFIG_KMEMTRACE is not set | ||
| 1329 | # CONFIG_WORKQUEUE_TRACER is not set | ||
| 1330 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 1331 | # CONFIG_DYNAMIC_DEBUG is not set | ||
| 1332 | # CONFIG_SAMPLES is not set | ||
| 1333 | |||
| 1334 | # | ||
| 1335 | # Security options | ||
| 1336 | # | ||
| 1337 | # CONFIG_KEYS is not set | ||
| 1338 | # CONFIG_SECURITY is not set | ||
| 1339 | # CONFIG_SECURITYFS is not set | ||
| 1340 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
| 1341 | # CONFIG_CRYPTO is not set | ||
| 1342 | # CONFIG_BINARY_PRINTF is not set | ||
| 1343 | |||
| 1344 | # | ||
| 1345 | # Library routines | ||
| 1346 | # | ||
| 1347 | CONFIG_BITREVERSE=y | ||
| 1348 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
| 1349 | CONFIG_CRC_CCITT=y | ||
| 1350 | # CONFIG_CRC16 is not set | ||
| 1351 | # CONFIG_CRC_T10DIF is not set | ||
| 1352 | # CONFIG_CRC_ITU_T is not set | ||
| 1353 | CONFIG_CRC32=y | ||
| 1354 | # CONFIG_CRC7 is not set | ||
| 1355 | # CONFIG_LIBCRC32C is not set | ||
| 1356 | CONFIG_ZLIB_INFLATE=y | ||
| 1357 | CONFIG_ZLIB_DEFLATE=y | ||
| 1358 | CONFIG_DECOMPRESS_GZIP=y | ||
| 1359 | CONFIG_GENERIC_ALLOCATOR=y | ||
| 1360 | CONFIG_HAS_IOMEM=y | ||
| 1361 | CONFIG_HAS_IOPORT=y | ||
| 1362 | CONFIG_HAS_DMA=y | ||
| 1363 | CONFIG_NLATTR=y | ||
diff --git a/arch/avr32/include/asm/hw_irq.h b/arch/avr32/include/asm/hw_irq.h index 218b0a6bfd1b..a36f9fcb8fcd 100644 --- a/arch/avr32/include/asm/hw_irq.h +++ b/arch/avr32/include/asm/hw_irq.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef __ASM_AVR32_HW_IRQ_H | 1 | #ifndef __ASM_AVR32_HW_IRQ_H |
| 2 | #define __ASM_AVR32_HW_IRQ_H | 2 | #define __ASM_AVR32_HW_IRQ_H |
| 3 | 3 | ||
| 4 | static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) | 4 | static inline void hw_resend_irq(struct irq_chip *h, unsigned int i) |
| 5 | { | 5 | { |
| 6 | /* Nothing to do */ | 6 | /* Nothing to do */ |
| 7 | } | 7 | } |
diff --git a/arch/avr32/kernel/traps.c b/arch/avr32/kernel/traps.c index d547c8df157d..6e3d491184ea 100644 --- a/arch/avr32/kernel/traps.c +++ b/arch/avr32/kernel/traps.c | |||
| @@ -75,8 +75,17 @@ void _exception(long signr, struct pt_regs *regs, int code, | |||
| 75 | { | 75 | { |
| 76 | siginfo_t info; | 76 | siginfo_t info; |
| 77 | 77 | ||
| 78 | if (!user_mode(regs)) | 78 | if (!user_mode(regs)) { |
| 79 | const struct exception_table_entry *fixup; | ||
| 80 | |||
| 81 | /* Are we prepared to handle this kernel fault? */ | ||
| 82 | fixup = search_exception_tables(regs->pc); | ||
| 83 | if (fixup) { | ||
| 84 | regs->pc = fixup->fixup; | ||
| 85 | return; | ||
| 86 | } | ||
| 79 | die("Unhandled exception in kernel mode", regs, signr); | 87 | die("Unhandled exception in kernel mode", regs, signr); |
| 88 | } | ||
| 80 | 89 | ||
| 81 | memset(&info, 0, sizeof(info)); | 90 | memset(&info, 0, sizeof(info)); |
| 82 | info.si_signo = signr; | 91 | info.si_signo = signr; |
diff --git a/arch/avr32/mach-at32ap/include/mach/board.h b/arch/avr32/mach-at32ap/include/mach/board.h index 0b8164281899..ddedb471f33e 100644 --- a/arch/avr32/mach-at32ap/include/mach/board.h +++ b/arch/avr32/mach-at32ap/include/mach/board.h | |||
| @@ -29,7 +29,7 @@ extern struct platform_device *atmel_default_console_device; | |||
| 29 | /* Flags for selecting USART extra pins */ | 29 | /* Flags for selecting USART extra pins */ |
| 30 | #define ATMEL_USART_RTS 0x01 | 30 | #define ATMEL_USART_RTS 0x01 |
| 31 | #define ATMEL_USART_CTS 0x02 | 31 | #define ATMEL_USART_CTS 0x02 |
| 32 | #define ATMEL_USART_CLK 0x03 | 32 | #define ATMEL_USART_CLK 0x04 |
| 33 | 33 | ||
| 34 | struct atmel_uart_data { | 34 | struct atmel_uart_data { |
| 35 | short use_dma_tx; /* use transmit DMA? */ | 35 | short use_dma_tx; /* use transmit DMA? */ |
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index cf6a100bb38f..7b603e4b41db 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c | |||
| @@ -177,6 +177,7 @@ struct atmel_mci { | |||
| 177 | * available. | 177 | * available. |
| 178 | * @wp_pin: GPIO pin used for card write protect sending, or negative | 178 | * @wp_pin: GPIO pin used for card write protect sending, or negative |
| 179 | * if not available. | 179 | * if not available. |
| 180 | * @detect_is_active_high: The state of the detect pin when it is active. | ||
| 180 | * @detect_timer: Timer used for debouncing @detect_pin interrupts. | 181 | * @detect_timer: Timer used for debouncing @detect_pin interrupts. |
| 181 | */ | 182 | */ |
| 182 | struct atmel_mci_slot { | 183 | struct atmel_mci_slot { |
| @@ -196,6 +197,7 @@ struct atmel_mci_slot { | |||
| 196 | 197 | ||
| 197 | int detect_pin; | 198 | int detect_pin; |
| 198 | int wp_pin; | 199 | int wp_pin; |
| 200 | bool detect_is_active_high; | ||
| 199 | 201 | ||
| 200 | struct timer_list detect_timer; | 202 | struct timer_list detect_timer; |
| 201 | }; | 203 | }; |
| @@ -924,7 +926,8 @@ static int atmci_get_cd(struct mmc_host *mmc) | |||
| 924 | struct atmel_mci_slot *slot = mmc_priv(mmc); | 926 | struct atmel_mci_slot *slot = mmc_priv(mmc); |
| 925 | 927 | ||
| 926 | if (gpio_is_valid(slot->detect_pin)) { | 928 | if (gpio_is_valid(slot->detect_pin)) { |
| 927 | present = !gpio_get_value(slot->detect_pin); | 929 | present = !(gpio_get_value(slot->detect_pin) ^ |
| 930 | slot->detect_is_active_high); | ||
| 928 | dev_dbg(&mmc->class_dev, "card is %spresent\n", | 931 | dev_dbg(&mmc->class_dev, "card is %spresent\n", |
| 929 | present ? "" : "not "); | 932 | present ? "" : "not "); |
| 930 | } | 933 | } |
| @@ -1028,7 +1031,8 @@ static void atmci_detect_change(unsigned long data) | |||
| 1028 | return; | 1031 | return; |
| 1029 | 1032 | ||
| 1030 | enable_irq(gpio_to_irq(slot->detect_pin)); | 1033 | enable_irq(gpio_to_irq(slot->detect_pin)); |
| 1031 | present = !gpio_get_value(slot->detect_pin); | 1034 | present = !(gpio_get_value(slot->detect_pin) ^ |
| 1035 | slot->detect_is_active_high); | ||
| 1032 | present_old = test_bit(ATMCI_CARD_PRESENT, &slot->flags); | 1036 | present_old = test_bit(ATMCI_CARD_PRESENT, &slot->flags); |
| 1033 | 1037 | ||
| 1034 | dev_vdbg(&slot->mmc->class_dev, "detect change: %d (was %d)\n", | 1038 | dev_vdbg(&slot->mmc->class_dev, "detect change: %d (was %d)\n", |
| @@ -1456,6 +1460,7 @@ static int __init atmci_init_slot(struct atmel_mci *host, | |||
| 1456 | slot->host = host; | 1460 | slot->host = host; |
| 1457 | slot->detect_pin = slot_data->detect_pin; | 1461 | slot->detect_pin = slot_data->detect_pin; |
| 1458 | slot->wp_pin = slot_data->wp_pin; | 1462 | slot->wp_pin = slot_data->wp_pin; |
| 1463 | slot->detect_is_active_high = slot_data->detect_is_active_high; | ||
| 1459 | slot->sdc_reg = sdc_reg; | 1464 | slot->sdc_reg = sdc_reg; |
| 1460 | 1465 | ||
| 1461 | mmc->ops = &atmci_ops; | 1466 | mmc->ops = &atmci_ops; |
| @@ -1477,7 +1482,8 @@ static int __init atmci_init_slot(struct atmel_mci *host, | |||
| 1477 | if (gpio_request(slot->detect_pin, "mmc_detect")) { | 1482 | if (gpio_request(slot->detect_pin, "mmc_detect")) { |
| 1478 | dev_dbg(&mmc->class_dev, "no detect pin available\n"); | 1483 | dev_dbg(&mmc->class_dev, "no detect pin available\n"); |
| 1479 | slot->detect_pin = -EBUSY; | 1484 | slot->detect_pin = -EBUSY; |
| 1480 | } else if (gpio_get_value(slot->detect_pin)) { | 1485 | } else if (gpio_get_value(slot->detect_pin) ^ |
| 1486 | slot->detect_is_active_high) { | ||
| 1481 | clear_bit(ATMCI_CARD_PRESENT, &slot->flags); | 1487 | clear_bit(ATMCI_CARD_PRESENT, &slot->flags); |
| 1482 | } | 1488 | } |
| 1483 | } | 1489 | } |
diff --git a/include/linux/atmel-mci.h b/include/linux/atmel-mci.h index 2f1f95737acb..57b1846a3c87 100644 --- a/include/linux/atmel-mci.h +++ b/include/linux/atmel-mci.h | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | * @bus_width: Number of data lines wired up the slot | 10 | * @bus_width: Number of data lines wired up the slot |
| 11 | * @detect_pin: GPIO pin wired to the card detect switch | 11 | * @detect_pin: GPIO pin wired to the card detect switch |
| 12 | * @wp_pin: GPIO pin wired to the write protect sensor | 12 | * @wp_pin: GPIO pin wired to the write protect sensor |
| 13 | * @detect_is_active_high: The state of the detect pin when it is active | ||
| 13 | * | 14 | * |
| 14 | * If a given slot is not present on the board, @bus_width should be | 15 | * If a given slot is not present on the board, @bus_width should be |
| 15 | * set to 0. The other fields are ignored in this case. | 16 | * set to 0. The other fields are ignored in this case. |
| @@ -24,6 +25,7 @@ struct mci_slot_pdata { | |||
| 24 | unsigned int bus_width; | 25 | unsigned int bus_width; |
| 25 | int detect_pin; | 26 | int detect_pin; |
| 26 | int wp_pin; | 27 | int wp_pin; |
| 28 | bool detect_is_active_high; | ||
| 27 | }; | 29 | }; |
| 28 | 30 | ||
| 29 | /** | 31 | /** |
