^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Driver for the MMC / SD / SDIO cell found in:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * TC6393XB TC6391XB TC6387XB T7L66XB ASIC3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Copyright (C) 2017 Renesas Electronics Corporation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * Copyright (C) 2017 Horms Solutions, Simon Horman
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * Copyright (C) 2007 Ian Molton
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * Copyright (C) 2004 Ian Molton
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <linux/delay.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include <linux/device.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #include <linux/mfd/core.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #include <linux/mfd/tmio.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #include <linux/mmc/host.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #include <linux/module.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #include <linux/pagemap.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #include <linux/scatterlist.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #include "tmio_mmc.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) /* Registers specific to this variant */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define CTL_SDIO_REGS 0x100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #define CTL_CLK_AND_WAIT_CTL 0x138
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define CTL_RESET_SDIO 0x1e0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) static void tmio_mmc_clk_start(struct tmio_mmc_host *host)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, CLK_CTL_SCLKEN |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) sd_ctrl_read16(host, CTL_SD_CARD_CLK_CTL));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) usleep_range(10000, 11000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) sd_ctrl_write16(host, CTL_CLK_AND_WAIT_CTL, 0x0100);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) usleep_range(10000, 11000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) static void tmio_mmc_clk_stop(struct tmio_mmc_host *host)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) sd_ctrl_write16(host, CTL_CLK_AND_WAIT_CTL, 0x0000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) usleep_range(10000, 11000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~CLK_CTL_SCLKEN &
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) sd_ctrl_read16(host, CTL_SD_CARD_CLK_CTL));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) usleep_range(10000, 11000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) static void tmio_mmc_set_clock(struct tmio_mmc_host *host,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) unsigned int new_clock)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) unsigned int divisor;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) u32 clk = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) int clk_sel;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) if (new_clock == 0) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) tmio_mmc_clk_stop(host);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) return;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) divisor = host->pdata->hclk / new_clock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) /* bit7 set: 1/512, ... bit0 set: 1/4, all bits clear: 1/2 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) clk_sel = (divisor <= 1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) clk = clk_sel ? 0 : (roundup_pow_of_two(divisor) >> 2);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) host->pdata->set_clk_div(host->pdev, clk_sel);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, ~CLK_CTL_SCLKEN &
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) sd_ctrl_read16(host, CTL_SD_CARD_CLK_CTL));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) sd_ctrl_write16(host, CTL_SD_CARD_CLK_CTL, clk & CLK_CTL_DIV_MASK);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) usleep_range(10000, 11000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) tmio_mmc_clk_start(host);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) static void tmio_mmc_reset(struct tmio_mmc_host *host)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) usleep_range(10000, 11000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) sd_ctrl_write16(host, CTL_RESET_SDIO, 0x0001);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) usleep_range(10000, 11000);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) #ifdef CONFIG_PM_SLEEP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) static int tmio_mmc_suspend(struct device *dev)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) struct platform_device *pdev = to_platform_device(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) const struct mfd_cell *cell = mfd_get_cell(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) int ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) ret = pm_runtime_force_suspend(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) /* Tell MFD core it can disable us now.*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) if (!ret && cell->disable)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) cell->disable(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) return ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) static int tmio_mmc_resume(struct device *dev)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) struct platform_device *pdev = to_platform_device(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) const struct mfd_cell *cell = mfd_get_cell(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) int ret = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) /* Tell the MFD core we are ready to be enabled */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) if (cell->resume)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) ret = cell->resume(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) if (!ret)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) ret = pm_runtime_force_resume(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) return ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) static int tmio_mmc_probe(struct platform_device *pdev)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) const struct mfd_cell *cell = mfd_get_cell(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) struct tmio_mmc_data *pdata;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) struct tmio_mmc_host *host;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) struct resource *res;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) int ret = -EINVAL, irq;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) if (pdev->num_resources != 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) goto out;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) pdata = pdev->dev.platform_data;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) if (!pdata || !pdata->hclk)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) goto out;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) irq = platform_get_irq(pdev, 0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) if (irq < 0) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) ret = irq;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) goto out;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) /* Tell the MFD core we are ready to be enabled */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) if (cell->enable) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) ret = cell->enable(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) if (ret)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) goto out;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) if (!res) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) ret = -EINVAL;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) goto cell_disable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) host = tmio_mmc_host_alloc(pdev, pdata);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) if (IS_ERR(host)) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) ret = PTR_ERR(host);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) goto cell_disable;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) /* SD control register space size is 0x200, 0x400 for bus_shift=1 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) host->bus_shift = resource_size(res) >> 10;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) host->set_clock = tmio_mmc_set_clock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) host->reset = tmio_mmc_reset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) host->mmc->f_max = pdata->hclk;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) host->mmc->f_min = pdata->hclk / 512;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) ret = tmio_mmc_host_probe(host);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) if (ret)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) goto host_free;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) ret = devm_request_irq(&pdev->dev, irq, tmio_mmc_irq,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) IRQF_TRIGGER_FALLING,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) dev_name(&pdev->dev), host);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) if (ret)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) goto host_remove;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) pr_info("%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) (unsigned long)host->ctl, irq);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) host_remove:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) tmio_mmc_host_remove(host);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) host_free:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) tmio_mmc_host_free(host);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) cell_disable:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) if (cell->disable)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) cell->disable(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) out:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) return ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) static int tmio_mmc_remove(struct platform_device *pdev)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) const struct mfd_cell *cell = mfd_get_cell(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) struct tmio_mmc_host *host = platform_get_drvdata(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) tmio_mmc_host_remove(host);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) if (cell->disable)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) cell->disable(pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) /* ------------------- device registration ----------------------- */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) static const struct dev_pm_ops tmio_mmc_dev_pm_ops = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) SET_SYSTEM_SLEEP_PM_OPS(tmio_mmc_suspend, tmio_mmc_resume)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) SET_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) tmio_mmc_host_runtime_resume, NULL)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) static struct platform_driver tmio_mmc_driver = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) .driver = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) .name = "tmio-mmc",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) .probe_type = PROBE_PREFER_ASYNCHRONOUS,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) .pm = &tmio_mmc_dev_pm_ops,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) .probe = tmio_mmc_probe,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) .remove = tmio_mmc_remove,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) module_platform_driver(tmio_mmc_driver);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) MODULE_DESCRIPTION("Toshiba TMIO SD/MMC driver");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) MODULE_AUTHOR("Ian Molton <spyro@f2s.com>");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) MODULE_LICENSE("GPL v2");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) MODULE_ALIAS("platform:tmio-mmc");