^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Toshiba TC6387XB support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Copyright (c) 2005 Ian Molton
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * This file contains TC6387XB base support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <linux/module.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/platform_device.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/clk.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <linux/err.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <linux/mfd/core.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include <linux/mfd/tmio.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #include <linux/mfd/tc6387xb.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #include <linux/slab.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) enum {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) TC6387XB_CELL_MMC,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) struct tc6387xb {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) void __iomem *scr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) struct clk *clk32k;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) struct resource rscr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) static struct resource tc6387xb_mmc_resources[] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) .start = 0x800,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) .end = 0x9ff,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) .flags = IORESOURCE_MEM,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) .start = 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) .end = 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) .flags = IORESOURCE_IRQ,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) /*--------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #ifdef CONFIG_PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) static int tc6387xb_suspend(struct platform_device *dev, pm_message_t state)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) struct tc6387xb *tc6387xb = platform_get_drvdata(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) struct tc6387xb_platform_data *pdata = dev_get_platdata(&dev->dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) if (pdata && pdata->suspend)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) pdata->suspend(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) clk_disable_unprepare(tc6387xb->clk32k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) static int tc6387xb_resume(struct platform_device *dev)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) struct tc6387xb *tc6387xb = platform_get_drvdata(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) struct tc6387xb_platform_data *pdata = dev_get_platdata(&dev->dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) clk_prepare_enable(tc6387xb->clk32k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) if (pdata && pdata->resume)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) pdata->resume(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) tmio_core_mmc_resume(tc6387xb->scr + 0x200, 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) tc6387xb_mmc_resources[0].start & 0xfffe);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) #define tc6387xb_suspend NULL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) #define tc6387xb_resume NULL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) /*--------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) static void tc6387xb_mmc_pwr(struct platform_device *mmc, int state)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) struct tc6387xb *tc6387xb = dev_get_drvdata(mmc->dev.parent);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) tmio_core_mmc_pwr(tc6387xb->scr + 0x200, 0, state);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) static void tc6387xb_mmc_clk_div(struct platform_device *mmc, int state)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) struct tc6387xb *tc6387xb = dev_get_drvdata(mmc->dev.parent);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) tmio_core_mmc_clk_div(tc6387xb->scr + 0x200, 0, state);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) static int tc6387xb_mmc_enable(struct platform_device *mmc)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) struct tc6387xb *tc6387xb = dev_get_drvdata(mmc->dev.parent);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) clk_prepare_enable(tc6387xb->clk32k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) tmio_core_mmc_enable(tc6387xb->scr + 0x200, 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) tc6387xb_mmc_resources[0].start & 0xfffe);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) static int tc6387xb_mmc_disable(struct platform_device *mmc)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) struct tc6387xb *tc6387xb = dev_get_drvdata(mmc->dev.parent);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) clk_disable_unprepare(tc6387xb->clk32k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) static struct tmio_mmc_data tc6387xb_mmc_data = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) .hclk = 24000000,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) .set_pwr = tc6387xb_mmc_pwr,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) .set_clk_div = tc6387xb_mmc_clk_div,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) /*--------------------------------------------------------------------------*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) static const struct mfd_cell tc6387xb_cells[] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) [TC6387XB_CELL_MMC] = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) .name = "tmio-mmc",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) .enable = tc6387xb_mmc_enable,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) .disable = tc6387xb_mmc_disable,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) .platform_data = &tc6387xb_mmc_data,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) .pdata_size = sizeof(tc6387xb_mmc_data),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) .num_resources = ARRAY_SIZE(tc6387xb_mmc_resources),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) .resources = tc6387xb_mmc_resources,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) static int tc6387xb_probe(struct platform_device *dev)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) struct tc6387xb_platform_data *pdata = dev_get_platdata(&dev->dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) struct resource *iomem, *rscr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) struct clk *clk32k;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) struct tc6387xb *tc6387xb;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) int irq, ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) iomem = platform_get_resource(dev, IORESOURCE_MEM, 0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) if (!iomem)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) return -EINVAL;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) tc6387xb = kzalloc(sizeof(*tc6387xb), GFP_KERNEL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) if (!tc6387xb)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) return -ENOMEM;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) ret = platform_get_irq(dev, 0);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) if (ret >= 0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) irq = ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) goto err_no_irq;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) clk32k = clk_get(&dev->dev, "CLK_CK32K");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) if (IS_ERR(clk32k)) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) ret = PTR_ERR(clk32k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) goto err_no_clk;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) rscr = &tc6387xb->rscr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) rscr->name = "tc6387xb-core";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) rscr->start = iomem->start;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) rscr->end = iomem->start + 0xff;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) rscr->flags = IORESOURCE_MEM;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) ret = request_resource(iomem, rscr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) if (ret)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) goto err_resource;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) tc6387xb->scr = ioremap(rscr->start, resource_size(rscr));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) if (!tc6387xb->scr) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) ret = -ENOMEM;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) goto err_ioremap;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) tc6387xb->clk32k = clk32k;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) platform_set_drvdata(dev, tc6387xb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) if (pdata && pdata->enable)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) pdata->enable(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) dev_info(&dev->dev, "Toshiba tc6387xb initialised\n");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) ARRAY_SIZE(tc6387xb_cells), iomem, irq, NULL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) if (!ret)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) iounmap(tc6387xb->scr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) err_ioremap:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) release_resource(&tc6387xb->rscr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) err_resource:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) clk_put(clk32k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) err_no_clk:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) err_no_irq:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) kfree(tc6387xb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) return ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) static int tc6387xb_remove(struct platform_device *dev)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) struct tc6387xb *tc6387xb = platform_get_drvdata(dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) mfd_remove_devices(&dev->dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) iounmap(tc6387xb->scr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) release_resource(&tc6387xb->rscr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) clk_disable_unprepare(tc6387xb->clk32k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) clk_put(tc6387xb->clk32k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) kfree(tc6387xb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) static struct platform_driver tc6387xb_platform_driver = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) .driver = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) .name = "tc6387xb",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) .probe = tc6387xb_probe,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) .remove = tc6387xb_remove,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) .suspend = tc6387xb_suspend,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) .resume = tc6387xb_resume,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) module_platform_driver(tc6387xb_platform_driver);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) MODULE_DESCRIPTION("Toshiba TC6387XB core driver");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) MODULE_LICENSE("GPL v2");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) MODULE_AUTHOR("Ian Molton");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) MODULE_ALIAS("platform:tc6387xb");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233)