Skip to contentSkip to conversation

drivers: mmc: add driver for Microchip PIC32, SDHCI controller.

PATCH Superseded Purna Chandra Mandal 1 participant 1 message Dec 17, 2015 MMC, SD and SDIO

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 15/18 drivers: mmc: add driver for Microchip PIC32, SDHCI controller.

From: Andrei Pistirica <[email protected]>

This driver implements platform specific glue and fix-ups for SDHCI host controller.

---

 drivers/mmc/Kconfig       |   6 +++
 drivers/mmc/Makefile      |   2 +-
 drivers/mmc/pic32_sdhci.c | 110 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 117 insertions(+), 1 deletion(-)
 create mode 100644 drivers/mmc/pic32_sdhci.c
drivers/mmc/Kconfig +6 -0
index ceae7bc..0b6f54b 100644
@@ -31,4 +31,10 @@ config SH_SDHI
     help
       Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
 
+config PIC32_SDHCI
+    bool "Microchip PIC32 on-chip SDHCI support"
+    depends on DM_MMC && MACH_PIC32
+    help
+      Support for the on-chip SDHCI support on Microchip PIC32 platforms.
+
 endmenu
drivers/mmc/Makefile +1 -1
index 5d35705..c9c3e3e 100644
@@ -48,4 +48,4 @@ obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
 else
 obj-$(CONFIG_GENERIC_MMC) += mmc_write.o
 endif
-
+obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o
drivers/mmc/pic32_sdhci.c new file +110 -0

110 lines not on this page · raw message

Signature · 1 line
1.8.3.1