mmc: sdhci-cadence: Add support for Cadence sdmmc v6
PATCH v2 1/1 mmc: sdhci-cadence: Add support for Cadence sdmmc v6
Cadence SDMMC v6 controller has a lot of changes on initialize compared to v4 controller. PHY is needed by v6 controller.
---
Changes in v2
- Rename file sdhci-cadence6-phy.c to sdhci-cadence6.c
- Remove CONFIG_MMC_SDHCI_CADENCE_V6
- Rewrite code of v6 configuration part
- Add sdhci_cdns6_phy_init() function
--- drivers/mmc/Makefile | 1 + drivers/mmc/sdhci-cadence.c | 63 ++------ drivers/mmc/sdhci-cadence.h | 69 ++++++++ drivers/mmc/sdhci-cadence6.c | 294 +++++++++++++++++++++++++++++++++++ 4 files changed, 376 insertions(+), 51 deletions(-) create mode 100644 drivers/mmc/sdhci-cadence.h create mode 100644 drivers/mmc/sdhci-cadence6.c
drivers/mmc/Makefile +1 -0
@@ -61,6 +61,7 @@ obj-$(CONFIG_MMC_SDHCI_ATMEL) += atmel_sdhci.o obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o obj-$(CONFIG_MMC_SDHCI_BCMSTB) += bcmstb_sdhci.o obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o +obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence6.o obj-$(CONFIG_MMC_SDHCI_AM654) += am654_sdhci.o obj-$(CONFIG_MMC_SDHCI_IPROC) += iproc_sdhci.o obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o
drivers/mmc/sdhci-cadence.c +12 -51
93 lines not on this page · raw message
drivers/mmc/sdhci-cadence.h new file +69 -0
69 lines not on this page · raw message
drivers/mmc/sdhci-cadence6.c new file +294 -0
294 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 6 lines · Kuan Lim Lee
Cadence SDMMC v6 controller has a lot of changes on initialize compared to v4 controller. PHY is needed by v6 controller.
Signed-off-by Kuan Lim Lee <[email protected]>Co-developed-by Alex Soo <[email protected]>Signed-off-by Wei Liang Lim <[email protected]>
Best Regards,
Jaehoon Chung
Quoted 14 lines
---
Changes in v2
- Rename filesdhci-cadence6-phy.ctosdhci-cadence6.c
- RemoveCONFIG_MMC_SDHCI_CADENCE_V6
- Rewrite code of v6 configuration part
- Addsdhci_cdns6_phy_init()function--- drivers/mmc/Makefile | 1 + drivers/mmc/sdhci-cadence.c | 63 ++------ drivers/mmc/sdhci-cadence.h | 69 ++++++++ drivers/mmc/sdhci-cadence6.c | 294 +++++++++++++++++++++++++++++++++++ 4 files changed, 376 insertions(+), 51 deletions(-) create mode 100644 drivers/mmc/sdhci-cadence.h create mode 100644 drivers/mmc/sdhci-cadence6.c
Quoted 7 lines · Kuan Lim Lee
Cadence SDMMC v6 controller has a lot of changes on initialize compared to v4 controller. PHY is needed by v6 controller.
Signed-off-by Kuan Lim Lee <[email protected]>Co-developed-by Alex Soo <[email protected]>Signed-off-by Wei Liang Lim <[email protected]>Reviewed-by Jaehoon Chung <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom