-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Angelo Dureghello
authored and
Ulf Hansson
committed
May 28, 2020
1 parent
1f8153e
commit 991f5c4
Showing
6 changed files
with
91 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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__ */ |