]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
mmc: uniphier-sd: Add support for R8A7795 and R7A7796
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Jul 2017 21:24:36 +0000 (23:24 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 22 Sep 2017 14:23:45 +0000 (23:23 +0900)
Add OF match entries and quirks for Renesas RCar Gen3 controllers
into the driver. The IP this driver handles is in fact Matsushita
one and in used both in Socionext and Renesas chips.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/Kconfig
drivers/mmc/uniphier-sd.c

index 6de927b8c6cb98ee71c60b8b6e22ec8ae3a7ffa7..4429292c057b208f1a63337aa6f847216dc5f309 100644 (file)
@@ -162,12 +162,13 @@ config SH_SDHI
          Support for the on-chip SDHI host controller on SuperH/Renesas ARM SoCs platform
 
 config MMC_UNIPHIER
-       bool "UniPhier SD/MMC Host Controller support"
-       depends on ARCH_UNIPHIER
+       bool "UniPhier/RCar SD/MMC Host Controller support"
+       depends on ARCH_UNIPHIER || ARCH_RMOBILE
        depends on BLK && DM_MMC
        depends on OF_CONTROL
        help
-         This selects support for the SD/MMC Host Controller on UniPhier SoCs.
+         This selects support for the Matsushita SD/MMC Host Controller on
+         SocioNext UniPhier and Renesas RCar SoCs.
 
 config MMC_SANDBOX
        bool "Sandbox MMC support"
index c69f79bbebbaab62b4962d0fd1aa8d7e565d9033..0786ad0d5f8cdcc733d6b0042592e41a7418fa55 100644 (file)
@@ -833,6 +833,8 @@ static int uniphier_sd_probe(struct udevice *dev)
 }
 
 static const struct udevice_id uniphier_sd_match[] = {
+       { .compatible = "renesas,sdhi-r8a7795", .data = UNIPHIER_SD_CAP_64BIT },
+       { .compatible = "renesas,sdhi-r8a7796", .data = UNIPHIER_SD_CAP_64BIT },
        { .compatible = "socionext,uniphier-sdhc", .data = 0 },
        { /* sentinel */ }
 };