summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mmc-esdhc-mcf.h
blob: 85cb786a62feebe57b47473f762f1142a4d74c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __LINUX_PLATFORM_DATA_MCF_ESDHC_H__
#define __LINUX_PLATFORM_DATA_MCF_ESDHC_H__

enum cd_types {
	ESDHC_CD_NONE,		/* no CD, neither controller nor gpio */
	ESDHC_CD_CONTROLLER,	/* mmc controller internal CD */
	ESDHC_CD_PERMANENT,	/* no CD, card permanently wired to host */
};

struct mcf_esdhc_platform_data {
	int max_bus_width;
	int cd_type;
};

#endif /* __LINUX_PLATFORM_DATA_MCF_ESDHC_H__ */