mmc: sh_mobile_sdhi: Add r7s72100 support
Add support for r7s72100 SoC. Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
8185e51f35
commit
0963dd56b1
|
@ -13,6 +13,7 @@ Required properties:
|
||||||
- compatible: "renesas,sdhi-shmobile" - a generic sh-mobile SDHI unit
|
- compatible: "renesas,sdhi-shmobile" - a generic sh-mobile SDHI unit
|
||||||
"renesas,sdhi-sh7372" - SDHI IP on SH7372 SoC
|
"renesas,sdhi-sh7372" - SDHI IP on SH7372 SoC
|
||||||
"renesas,sdhi-sh73a0" - SDHI IP on SH73A0 SoC
|
"renesas,sdhi-sh73a0" - SDHI IP on SH73A0 SoC
|
||||||
|
"renesas,sdhi-r7s72100" - SDHI IP on R7S72100 SoC
|
||||||
"renesas,sdhi-r8a73a4" - SDHI IP on R8A73A4 SoC
|
"renesas,sdhi-r8a73a4" - SDHI IP on R8A73A4 SoC
|
||||||
"renesas,sdhi-r8a7740" - SDHI IP on R8A7740 SoC
|
"renesas,sdhi-r8a7740" - SDHI IP on R8A7740 SoC
|
||||||
"renesas,sdhi-r8a7778" - SDHI IP on R8A7778 SoC
|
"renesas,sdhi-r8a7778" - SDHI IP on R8A7778 SoC
|
||||||
|
|
|
@ -61,6 +61,12 @@ static const struct sh_mobile_sdhi_of_data of_default_cfg = {
|
||||||
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,
|
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct sh_mobile_sdhi_of_data of_rz_compatible = {
|
||||||
|
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT | TMIO_MMC_32BIT_DATA_PORT,
|
||||||
|
.tmio_ocr_mask = MMC_VDD_32_33,
|
||||||
|
.capabilities = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct sh_mobile_sdhi_of_data of_rcar_gen1_compatible = {
|
static const struct sh_mobile_sdhi_of_data of_rcar_gen1_compatible = {
|
||||||
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT | TMIO_MMC_WRPROTECT_DISABLE |
|
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT | TMIO_MMC_WRPROTECT_DISABLE |
|
||||||
TMIO_MMC_CLK_ACTUAL,
|
TMIO_MMC_CLK_ACTUAL,
|
||||||
|
@ -87,6 +93,7 @@ static const struct of_device_id sh_mobile_sdhi_of_match[] = {
|
||||||
{ .compatible = "renesas,sdhi-sh73a0", .data = &of_default_cfg, },
|
{ .compatible = "renesas,sdhi-sh73a0", .data = &of_default_cfg, },
|
||||||
{ .compatible = "renesas,sdhi-r8a73a4", .data = &of_default_cfg, },
|
{ .compatible = "renesas,sdhi-r8a73a4", .data = &of_default_cfg, },
|
||||||
{ .compatible = "renesas,sdhi-r8a7740", .data = &of_default_cfg, },
|
{ .compatible = "renesas,sdhi-r8a7740", .data = &of_default_cfg, },
|
||||||
|
{ .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, },
|
||||||
{ .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, },
|
{ .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, },
|
||||||
{ .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, },
|
{ .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, },
|
||||||
{ .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },
|
{ .compatible = "renesas,sdhi-r8a7790", .data = &of_rcar_gen2_compatible, },
|
||||||
|
|
Loading…
Reference in New Issue