mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-05-07 04:21:33 -04:00
m68k: mcf5441x: add support for esdhc mmc controller
Add support for sdhci-edshc mmc controller. Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com> Acked-by: Greg Ungerer <gerg@linux-m68k.org> Link: https://lore.kernel.org/r/20200518191742.1251440-1-angelo.dureghello@timesys.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
committed by
Ulf Hansson
parent
1f8153ee03
commit
991f5c4dd2
17
include/linux/platform_data/mmc-esdhc-mcf.h
Normal file
17
include/linux/platform_data/mmc-esdhc-mcf.h
Normal file
@@ -0,0 +1,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__ */
|
||||
Reference in New Issue
Block a user