From: Shinobu Uehara <[email protected]>

This patch adds DT support for r8a7794.

Signed-off-by: Shinobu Uehara <[email protected]>
[uli: added bindings documentation]
Signed-off-by: Ulrich Hecht <[email protected]>
Cc: [email protected]
---
 Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 2 ++
 drivers/mmc/host/sh_mobile_sdhi.c                  | 1 +
 2 files changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt 
b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
index 6a2a116..924e516 100644
--- a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
+++ b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
@@ -18,6 +18,8 @@ Required properties:
                "renesas,sdhi-r8a7778" - SDHI IP on R8A7778 SoC
                "renesas,sdhi-r8a7779" - SDHI IP on R8A7779 SoC
                "renesas,sdhi-r8a7790" - SDHI IP on R8A7790 SoC
+               "renesas,sdhi-r8a7791" - SDHI IP on R8A7791 SoC
+               "renesas,sdhi-r8a7794" - SDHI IP on R8A7794 SoC
 
 Optional properties:
 - 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 91058da..7591447 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -68,6 +68,7 @@ static const struct of_device_id sh_mobile_sdhi_of_match[] = {
        { .compatible = "renesas,sdhi-r8a7779", .data = 
&of_rcar_gen1_compatible, },
        { .compatible = "renesas,sdhi-r8a7790", .data = 
&of_rcar_gen2_compatible, },
        { .compatible = "renesas,sdhi-r8a7791", .data = 
&of_rcar_gen2_compatible, },
+       { .compatible = "renesas,sdhi-r8a7794", .data = 
&of_rcar_gen2_compatible, },
        {},
 };
 MODULE_DEVICE_TABLE(of, sh_mobile_sdhi_of_match);
-- 
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to