]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
mmc: uniphier-sd: Add compatible strings for RCar Gen2
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 17 Jan 2018 22:59:47 +0000 (23:59 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 22 Feb 2018 23:06:05 +0000 (00:06 +0100)
Add DT compatible strings for RCar Gen2 SoCs, so that this driver
can bind with them. Unlike Gen3, which uses 64bit FIFO, the Gen2
uses 16bit FIFO.

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

index 741f9dfd9cd45141e450357b2d8faa1b687bf42a..a080674c8aa247dc55167f80ad12c2d2cd91969b 100644 (file)
@@ -847,6 +847,11 @@ static int uniphier_sd_probe(struct udevice *dev)
 }
 
 static const struct udevice_id uniphier_sd_match[] = {
 }
 
 static const struct udevice_id uniphier_sd_match[] = {
+       { .compatible = "renesas,sdhi-r8a7790", .data = 0 },
+       { .compatible = "renesas,sdhi-r8a7791", .data = 0 },
+       { .compatible = "renesas,sdhi-r8a7792", .data = 0 },
+       { .compatible = "renesas,sdhi-r8a7793", .data = 0 },
+       { .compatible = "renesas,sdhi-r8a7794", .data = 0 },
        { .compatible = "renesas,sdhi-r8a7795", .data = UNIPHIER_SD_CAP_64BIT },
        { .compatible = "renesas,sdhi-r8a7796", .data = UNIPHIER_SD_CAP_64BIT },
        { .compatible = "renesas,sdhi-r8a77970", .data = UNIPHIER_SD_CAP_64BIT },
        { .compatible = "renesas,sdhi-r8a7795", .data = UNIPHIER_SD_CAP_64BIT },
        { .compatible = "renesas,sdhi-r8a7796", .data = UNIPHIER_SD_CAP_64BIT },
        { .compatible = "renesas,sdhi-r8a77970", .data = UNIPHIER_SD_CAP_64BIT },