03d2bfc878
SDHCI driver for Tegra. This driver plugs in as a new variant of sdhci-pltfm, using the platform data structure passed in to specify the GPIOs to use for card detect, write protect and card power enablement. Original driver (of which only the header file is left): Signed-off-by: Yvonne Yip <y@palm.com> The rest, which has been rewritten by now: Signed-off-by: Olof Johansson <olof@lixom.net> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Chris Ball <cjb@laptop.org>
30 lines
799 B
C
30 lines
799 B
C
/*
|
|
* include/asm-arm/arch-tegra/include/mach/sdhci.h
|
|
*
|
|
* Copyright (C) 2009 Palm, Inc.
|
|
* Author: Yvonne Yip <y@palm.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
#ifndef __ASM_ARM_ARCH_TEGRA_SDHCI_H
|
|
#define __ASM_ARM_ARCH_TEGRA_SDHCI_H
|
|
|
|
#include <linux/mmc/host.h>
|
|
|
|
struct tegra_sdhci_platform_data {
|
|
int cd_gpio;
|
|
int wp_gpio;
|
|
int power_gpio;
|
|
int is_8bit;
|
|
};
|
|
|
|
#endif
|