Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC
Browse files Browse the repository at this point in the history
Marvell Xenon eMMC/SD/SDIO Host Controller contains PHY.
Multiple types of PHYs are supported.

Add support to multiple types of PHYs init and configuration.
Add register definitions of PHYs.

Xenon PHY cannot fit in kernel common PHY framework.
Xenon SDHC PHY register is a part of Xenon SDHC register set.
Besides, MMC initialization has to call several PHY functions to
complete timing setting.
Those PHY setting functions have to access SDHC registers and know
current MMC setting, such as bus width, clock frequency and
speed mode.
As a result, implement Xenon PHY in MMC host directory.

Signed-off-by: Hu Ziji <huziji@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  • Loading branch information
huziji authored and storulf committed Apr 24, 2017
1 parent 3a3748d commit 06c8b66
Show file tree
Hide file tree
Showing 4 changed files with 774 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/mmc/host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ ifeq ($(CONFIG_CB710_DEBUG),y)
endif

obj-$(CONFIG_MMC_SDHCI_XENON) += sdhci-xenon-driver.o
sdhci-xenon-driver-y += sdhci-xenon.o
sdhci-xenon-driver-y += sdhci-xenon.o sdhci-xenon-phy.o
Loading

0 comments on commit 06c8b66

Please sign in to comment.