Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: arch/arm/mach-tegra/board-seaboard-sdhci.c

Issue 6474032: mach-tegra: Adding MMC_KEEP_POWER to support suspend/resume for wifi SDIO slot (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/kernel-next.git@chromeos-2.6.37
Patch Set: always assign pm_cap Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | arch/arm/mach-tegra/include/mach/sdhci.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * arch/arm/mach-tegra/board-harmony-sdhci.c 2 * arch/arm/mach-tegra/board-harmony-sdhci.c
3 * 3 *
4 * Copyright (C) 2010 Google, Inc. 4 * Copyright (C) 2010 Google, Inc.
5 * 5 *
6 * This software is licensed under the terms of the GNU General Public 6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and 7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms. 8 * may be copied, distributed, and modified under those terms.
9 * 9 *
10 * This program is distributed in the hope that it will be useful, 10 * This program is distributed in the hope that it will be useful,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 .start = TEGRA_SDMMC4_BASE, 63 .start = TEGRA_SDMMC4_BASE,
64 .end = TEGRA_SDMMC4_BASE + TEGRA_SDMMC4_SIZE-1, 64 .end = TEGRA_SDMMC4_BASE + TEGRA_SDMMC4_SIZE-1,
65 .flags = IORESOURCE_MEM, 65 .flags = IORESOURCE_MEM,
66 }, 66 },
67 }; 67 };
68 68
69 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data0 = { 69 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data0 = {
70 .cd_gpio = -1, 70 .cd_gpio = -1,
71 .wp_gpio = -1, 71 .wp_gpio = -1,
72 .power_gpio = -1, 72 .power_gpio = -1,
73 .pm_flags = MMC_PM_KEEP_POWER,
73 }; 74 };
74 75
75 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = { 76 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = {
76 .cd_gpio = TEGRA_GPIO_PI5, 77 .cd_gpio = TEGRA_GPIO_PI5,
77 .wp_gpio = TEGRA_GPIO_PH1, 78 .wp_gpio = TEGRA_GPIO_PH1,
78 .power_gpio = TEGRA_GPIO_PI6, 79 .power_gpio = TEGRA_GPIO_PI6,
79 }; 80 };
80 81
81 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data3 = { 82 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data3 = {
82 .cd_gpio = -1, 83 .cd_gpio = -1,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 .platform_data = &tegra_sdhci_platform_data3, 115 .platform_data = &tegra_sdhci_platform_data3,
115 }, 116 },
116 }; 117 };
117 118
118 void __init seaboard_sdhci_init(void) 119 void __init seaboard_sdhci_init(void)
119 { 120 {
120 platform_device_register(&tegra_sdhci_device3); 121 platform_device_register(&tegra_sdhci_device3);
121 platform_device_register(&tegra_sdhci_device2); 122 platform_device_register(&tegra_sdhci_device2);
122 platform_device_register(&tegra_sdhci_device0); 123 platform_device_register(&tegra_sdhci_device0);
123 } 124 }
OLDNEW
« no previous file with comments | « no previous file | arch/arm/mach-tegra/include/mach/sdhci.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698