summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mxc/mmc.h
blob: 3d904c70db9aa2d713b1f0e26c49d2750c33cb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright 2007-2008 Freescale Semiconductor, Inc. All Rights Reserved.
 */

/*
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */
#ifndef __ASM_ARCH_MXC_MMC_H__
#define __ASM_ARCH_MXC_MMC_H__

#include <linux/mmc/host.h>

struct mxc_mmc_platform_data {
	unsigned int ocr_mask;	/* available voltages */
	unsigned int min_clk;
	unsigned int max_clk;
	unsigned int card_inserted_state;
//      u32 (*translate_vdd)(struct device *, unsigned int);
	unsigned int (*status) (struct device *);
	int (*wp_status) (void);
	char *power_mmc;
	char *clock_mmc;
};

#endif