aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-08-28 04:07:19 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-09-09 07:59:19 -0400
commita638640335d86549da2b7d38f82d584294333512 (patch)
tree3c392aaa22c2bcfc8a80d83d5935ff6725a9362f
parent3cf890fc42b2d3bd5a3a7e4c1f61b0637efbe2ec (diff)
mmc: tmio-mmc: Add support for SDHI on new R-Car Gen2 SoCs
- r8a7792 (R-Car V2H) - r8a7793 (R-Car M2-N) - r8a7794 (R-Car E2) Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/mmc/tmio_mmc.txt3
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
index fa0f327cde01..400b640fabc7 100644
--- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
+++ b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
@@ -19,6 +19,9 @@ Required properties:
19 "renesas,sdhi-r8a7779" - SDHI IP on R8A7779 SoC 19 "renesas,sdhi-r8a7779" - SDHI IP on R8A7779 SoC
20 "renesas,sdhi-r8a7790" - SDHI IP on R8A7790 SoC 20 "renesas,sdhi-r8a7790" - SDHI IP on R8A7790 SoC
21 "renesas,sdhi-r8a7791" - SDHI IP on R8A7791 SoC 21 "renesas,sdhi-r8a7791" - SDHI IP on R8A7791 SoC
22 "renesas,sdhi-r8a7792" - SDHI IP on R8A7792 SoC
23 "renesas,sdhi-r8a7793" - SDHI IP on R8A7793 SoC
24 "renesas,sdhi-r8a7794" - SDHI IP on R8A7794 SoC
22 25
23Optional properties: 26Optional properties:
24- toshiba,mmc-wrprotect-disable: write-protect detection is unavailable 27- toshiba,mmc-wrprotect-disable: write-protect detection is unavailable
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index d5d493719491..f2585b6c1414 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -72,6 +72,9 @@ static const struct of_device_id sh_mobile_sdhi_of_match[] = {
72 { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, }, 72 { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, },
73 { .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, }, 73 { .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },
74 { .compatible = "renesas,sdhi-r8a7791", .data = &of_rcar_gen2_compatible, }, 74 { .compatible = "renesas,sdhi-r8a7791", .data = &of_rcar_gen2_compatible, },
75 { .compatible = "renesas,sdhi-r8a7792", .data = &of_rcar_gen2_compatible, },
76 { .compatible = "renesas,sdhi-r8a7793", .data = &of_rcar_gen2_compatible, },
77 { .compatible = "renesas,sdhi-r8a7794", .data = &of_rcar_gen2_compatible, },
75 {}, 78 {},
76}; 79};
77MODULE_DEVICE_TABLE(of, sh_mobile_sdhi_of_match); 80MODULE_DEVICE_TABLE(of, sh_mobile_sdhi_of_match);