Thomas Gleixner | 84a14ae | 2019-05-28 09:57:07 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 2 | /* |
| 3 | * linux/drivers/mfd/mcp-sa11x0.c |
| 4 | * |
| 5 | * Copyright (C) 2001-2005 Russell King |
| 6 | * |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 7 | * SA11x0 MCP (Multimedia Communications Port) driver. |
| 8 | * |
| 9 | * MCP read/write timeouts from Jordi Colomer, rehacked by rmk. |
| 10 | */ |
| 11 | #include <linux/module.h> |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 12 | #include <linux/io.h> |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 13 | #include <linux/errno.h> |
| 14 | #include <linux/kernel.h> |
| 15 | #include <linux/delay.h> |
| 16 | #include <linux/spinlock.h> |
Russell King | d052d1b | 2005-10-29 19:07:23 +0100 | [diff] [blame] | 17 | #include <linux/platform_device.h> |
Russell King | 2796e39 | 2012-01-21 09:34:30 +0000 | [diff] [blame] | 18 | #include <linux/pm.h> |
Thomas Kunze | c8602ed | 2009-02-10 14:54:57 +0100 | [diff] [blame] | 19 | #include <linux/mfd/mcp.h> |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 20 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 21 | #include <mach/hardware.h> |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 22 | #include <asm/mach-types.h> |
Arnd Bergmann | a1fd844 | 2012-08-24 15:17:38 +0200 | [diff] [blame] | 23 | #include <linux/platform_data/mfd-mcp-sa11x0.h> |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 24 | |
Russell King | c4592ce | 2012-01-20 22:30:15 +0000 | [diff] [blame] | 25 | #define DRIVER_NAME "sa11x0-mcp" |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 26 | |
| 27 | struct mcp_sa11x0 { |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 28 | void __iomem *base0; |
| 29 | void __iomem *base1; |
| 30 | u32 mccr0; |
| 31 | u32 mccr1; |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 32 | }; |
| 33 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 34 | /* Register offsets */ |
| 35 | #define MCCR0(m) ((m)->base0 + 0x00) |
| 36 | #define MCDR0(m) ((m)->base0 + 0x08) |
| 37 | #define MCDR1(m) ((m)->base0 + 0x0c) |
| 38 | #define MCDR2(m) ((m)->base0 + 0x10) |
| 39 | #define MCSR(m) ((m)->base0 + 0x18) |
| 40 | #define MCCR1(m) ((m)->base1 + 0x00) |
| 41 | |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 42 | #define priv(mcp) ((struct mcp_sa11x0 *)mcp_priv(mcp)) |
| 43 | |
| 44 | static void |
| 45 | mcp_sa11x0_set_telecom_divisor(struct mcp *mcp, unsigned int divisor) |
| 46 | { |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 47 | struct mcp_sa11x0 *m = priv(mcp); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 48 | |
| 49 | divisor /= 32; |
| 50 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 51 | m->mccr0 &= ~0x00007f00; |
| 52 | m->mccr0 |= divisor << 8; |
| 53 | writel_relaxed(m->mccr0, MCCR0(m)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | static void |
| 57 | mcp_sa11x0_set_audio_divisor(struct mcp *mcp, unsigned int divisor) |
| 58 | { |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 59 | struct mcp_sa11x0 *m = priv(mcp); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 60 | |
| 61 | divisor /= 32; |
| 62 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 63 | m->mccr0 &= ~0x0000007f; |
| 64 | m->mccr0 |= divisor; |
| 65 | writel_relaxed(m->mccr0, MCCR0(m)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | /* |
| 69 | * Write data to the device. The bit should be set after 3 subframe |
| 70 | * times (each frame is 64 clocks). We wait a maximum of 6 subframes. |
| 71 | * We really should try doing something more productive while we |
| 72 | * wait. |
| 73 | */ |
| 74 | static void |
| 75 | mcp_sa11x0_write(struct mcp *mcp, unsigned int reg, unsigned int val) |
| 76 | { |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 77 | struct mcp_sa11x0 *m = priv(mcp); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 78 | int ret = -ETIME; |
| 79 | int i; |
| 80 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 81 | writel_relaxed(reg << 17 | MCDR2_Wr | (val & 0xffff), MCDR2(m)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 82 | |
| 83 | for (i = 0; i < 2; i++) { |
| 84 | udelay(mcp->rw_timeout); |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 85 | if (readl_relaxed(MCSR(m)) & MCSR_CWC) { |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 86 | ret = 0; |
| 87 | break; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | if (ret < 0) |
| 92 | printk(KERN_WARNING "mcp: write timed out\n"); |
| 93 | } |
| 94 | |
| 95 | /* |
| 96 | * Read data from the device. The bit should be set after 3 subframe |
| 97 | * times (each frame is 64 clocks). We wait a maximum of 6 subframes. |
| 98 | * We really should try doing something more productive while we |
| 99 | * wait. |
| 100 | */ |
| 101 | static unsigned int |
| 102 | mcp_sa11x0_read(struct mcp *mcp, unsigned int reg) |
| 103 | { |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 104 | struct mcp_sa11x0 *m = priv(mcp); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 105 | int ret = -ETIME; |
| 106 | int i; |
| 107 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 108 | writel_relaxed(reg << 17 | MCDR2_Rd, MCDR2(m)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 109 | |
| 110 | for (i = 0; i < 2; i++) { |
| 111 | udelay(mcp->rw_timeout); |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 112 | if (readl_relaxed(MCSR(m)) & MCSR_CRC) { |
| 113 | ret = readl_relaxed(MCDR2(m)) & 0xffff; |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 114 | break; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | if (ret < 0) |
| 119 | printk(KERN_WARNING "mcp: read timed out\n"); |
| 120 | |
| 121 | return ret; |
| 122 | } |
| 123 | |
| 124 | static void mcp_sa11x0_enable(struct mcp *mcp) |
| 125 | { |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 126 | struct mcp_sa11x0 *m = priv(mcp); |
| 127 | |
| 128 | writel(-1, MCSR(m)); |
| 129 | m->mccr0 |= MCCR0_MCE; |
| 130 | writel_relaxed(m->mccr0, MCCR0(m)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 131 | } |
| 132 | |
| 133 | static void mcp_sa11x0_disable(struct mcp *mcp) |
| 134 | { |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 135 | struct mcp_sa11x0 *m = priv(mcp); |
| 136 | |
| 137 | m->mccr0 &= ~MCCR0_MCE; |
| 138 | writel_relaxed(m->mccr0, MCCR0(m)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 139 | } |
| 140 | |
| 141 | /* |
| 142 | * Our methods. |
| 143 | */ |
| 144 | static struct mcp_ops mcp_sa11x0 = { |
| 145 | .set_telecom_divisor = mcp_sa11x0_set_telecom_divisor, |
| 146 | .set_audio_divisor = mcp_sa11x0_set_audio_divisor, |
| 147 | .reg_write = mcp_sa11x0_write, |
| 148 | .reg_read = mcp_sa11x0_read, |
| 149 | .enable = mcp_sa11x0_enable, |
| 150 | .disable = mcp_sa11x0_disable, |
| 151 | }; |
| 152 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 153 | static int mcp_sa11x0_probe(struct platform_device *dev) |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 154 | { |
Jingoo Han | 334a41ce | 2013-07-30 17:10:05 +0900 | [diff] [blame] | 155 | struct mcp_plat_data *data = dev_get_platdata(&dev->dev); |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 156 | struct resource *mem0, *mem1; |
| 157 | struct mcp_sa11x0 *m; |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 158 | struct mcp *mcp; |
| 159 | int ret; |
| 160 | |
Russell King | 323cdfc | 2005-08-18 10:10:46 +0100 | [diff] [blame] | 161 | if (!data) |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 162 | return -ENODEV; |
| 163 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 164 | mem0 = platform_get_resource(dev, IORESOURCE_MEM, 0); |
| 165 | mem1 = platform_get_resource(dev, IORESOURCE_MEM, 1); |
| 166 | if (!mem0 || !mem1) |
| 167 | return -ENXIO; |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 168 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 169 | if (!request_mem_region(mem0->start, resource_size(mem0), |
| 170 | DRIVER_NAME)) { |
| 171 | ret = -EBUSY; |
| 172 | goto err_mem0; |
| 173 | } |
| 174 | |
| 175 | if (!request_mem_region(mem1->start, resource_size(mem1), |
| 176 | DRIVER_NAME)) { |
| 177 | ret = -EBUSY; |
| 178 | goto err_mem1; |
| 179 | } |
| 180 | |
| 181 | mcp = mcp_host_alloc(&dev->dev, sizeof(struct mcp_sa11x0)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 182 | if (!mcp) { |
| 183 | ret = -ENOMEM; |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 184 | goto err_alloc; |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 185 | } |
| 186 | |
| 187 | mcp->owner = THIS_MODULE; |
| 188 | mcp->ops = &mcp_sa11x0; |
Russell King | 323cdfc | 2005-08-18 10:10:46 +0100 | [diff] [blame] | 189 | mcp->sclk_rate = data->sclk_rate; |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 190 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 191 | m = priv(mcp); |
| 192 | m->mccr0 = data->mccr0 | 0x7f7f; |
| 193 | m->mccr1 = data->mccr1; |
| 194 | |
| 195 | m->base0 = ioremap(mem0->start, resource_size(mem0)); |
| 196 | m->base1 = ioremap(mem1->start, resource_size(mem1)); |
| 197 | if (!m->base0 || !m->base1) { |
| 198 | ret = -ENOMEM; |
| 199 | goto err_ioremap; |
| 200 | } |
| 201 | |
| 202 | platform_set_drvdata(dev, mcp); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 203 | |
Russell King | 216f63c | 2012-01-20 17:37:21 +0000 | [diff] [blame] | 204 | /* |
Russell King | 323cdfc | 2005-08-18 10:10:46 +0100 | [diff] [blame] | 205 | * Initialise device. Note that we initially |
| 206 | * set the sampling rate to minimum. |
| 207 | */ |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 208 | writel_relaxed(-1, MCSR(m)); |
| 209 | writel_relaxed(m->mccr1, MCCR1(m)); |
| 210 | writel_relaxed(m->mccr0, MCCR0(m)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 211 | |
| 212 | /* |
| 213 | * Calculate the read/write timeout (us) from the bit clock |
| 214 | * rate. This is the period for 3 64-bit frames. Always |
| 215 | * round this time up. |
| 216 | */ |
Zheng Yongjun | ab099cc | 2020-12-22 21:33:26 +0800 | [diff] [blame] | 217 | mcp->rw_timeout = DIV_ROUND_UP(64 * 3 * 1000000, mcp->sclk_rate); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 218 | |
Russell King | abe0608 | 2012-01-20 22:13:52 +0000 | [diff] [blame] | 219 | ret = mcp_host_add(mcp, data->codec_pdata); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 220 | if (ret == 0) |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 221 | return 0; |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 222 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 223 | err_ioremap: |
| 224 | iounmap(m->base1); |
| 225 | iounmap(m->base0); |
Russell King | 30816ac | 2012-01-20 22:51:07 +0000 | [diff] [blame] | 226 | mcp_host_free(mcp); |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 227 | err_alloc: |
| 228 | release_mem_region(mem1->start, resource_size(mem1)); |
| 229 | err_mem1: |
| 230 | release_mem_region(mem0->start, resource_size(mem0)); |
| 231 | err_mem0: |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 232 | return ret; |
| 233 | } |
| 234 | |
Russell King | 216f63c | 2012-01-20 17:37:21 +0000 | [diff] [blame] | 235 | static int mcp_sa11x0_remove(struct platform_device *dev) |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 236 | { |
Russell King | 216f63c | 2012-01-20 17:37:21 +0000 | [diff] [blame] | 237 | struct mcp *mcp = platform_get_drvdata(dev); |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 238 | struct mcp_sa11x0 *m = priv(mcp); |
| 239 | struct resource *mem0, *mem1; |
| 240 | |
Russell King | a4b54ac | 2012-01-21 18:26:17 +0000 | [diff] [blame] | 241 | if (m->mccr0 & MCCR0_MCE) |
| 242 | dev_warn(&dev->dev, |
| 243 | "device left active (missing disable call?)\n"); |
| 244 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 245 | mem0 = platform_get_resource(dev, IORESOURCE_MEM, 0); |
| 246 | mem1 = platform_get_resource(dev, IORESOURCE_MEM, 1); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 247 | |
Russell King | 30816ac | 2012-01-20 22:51:07 +0000 | [diff] [blame] | 248 | mcp_host_del(mcp); |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 249 | iounmap(m->base1); |
| 250 | iounmap(m->base0); |
Russell King | 30816ac | 2012-01-20 22:51:07 +0000 | [diff] [blame] | 251 | mcp_host_free(mcp); |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 252 | release_mem_region(mem1->start, resource_size(mem1)); |
| 253 | release_mem_region(mem0->start, resource_size(mem0)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 254 | |
| 255 | return 0; |
| 256 | } |
| 257 | |
Russell King | 2796e39 | 2012-01-21 09:34:30 +0000 | [diff] [blame] | 258 | #ifdef CONFIG_PM_SLEEP |
| 259 | static int mcp_sa11x0_suspend(struct device *dev) |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 260 | { |
Russell King | 2796e39 | 2012-01-21 09:34:30 +0000 | [diff] [blame] | 261 | struct mcp_sa11x0 *m = priv(dev_get_drvdata(dev)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 262 | |
Russell King | a4b54ac | 2012-01-21 18:26:17 +0000 | [diff] [blame] | 263 | if (m->mccr0 & MCCR0_MCE) |
| 264 | dev_warn(dev, "device left active (missing disable call?)\n"); |
| 265 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 266 | writel(m->mccr0 & ~MCCR0_MCE, MCCR0(m)); |
Russell King | 9480e30 | 2005-10-28 09:52:56 -0700 | [diff] [blame] | 267 | |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 268 | return 0; |
| 269 | } |
| 270 | |
Russell King | 2796e39 | 2012-01-21 09:34:30 +0000 | [diff] [blame] | 271 | static int mcp_sa11x0_resume(struct device *dev) |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 272 | { |
Russell King | 2796e39 | 2012-01-21 09:34:30 +0000 | [diff] [blame] | 273 | struct mcp_sa11x0 *m = priv(dev_get_drvdata(dev)); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 274 | |
Russell King | 45c7f75 | 2012-01-20 23:09:42 +0000 | [diff] [blame] | 275 | writel_relaxed(m->mccr1, MCCR1(m)); |
| 276 | writel_relaxed(m->mccr0, MCCR0(m)); |
Russell King | 9480e30 | 2005-10-28 09:52:56 -0700 | [diff] [blame] | 277 | |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 278 | return 0; |
| 279 | } |
Russell King | 2796e39 | 2012-01-21 09:34:30 +0000 | [diff] [blame] | 280 | #endif |
| 281 | |
| 282 | static const struct dev_pm_ops mcp_sa11x0_pm_ops = { |
Russell King | a6aecae | 2012-01-21 18:03:00 +0000 | [diff] [blame] | 283 | #ifdef CONFIG_PM_SLEEP |
| 284 | .suspend = mcp_sa11x0_suspend, |
| 285 | .freeze = mcp_sa11x0_suspend, |
| 286 | .poweroff = mcp_sa11x0_suspend, |
| 287 | .resume_noirq = mcp_sa11x0_resume, |
| 288 | .thaw_noirq = mcp_sa11x0_resume, |
| 289 | .restore_noirq = mcp_sa11x0_resume, |
| 290 | #endif |
Russell King | 2796e39 | 2012-01-21 09:34:30 +0000 | [diff] [blame] | 291 | }; |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 292 | |
Russell King | 3ae5eae | 2005-11-09 22:32:44 +0000 | [diff] [blame] | 293 | static struct platform_driver mcp_sa11x0_driver = { |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 294 | .probe = mcp_sa11x0_probe, |
| 295 | .remove = mcp_sa11x0_remove, |
Russell King | 3ae5eae | 2005-11-09 22:32:44 +0000 | [diff] [blame] | 296 | .driver = { |
Russell King | c4592ce | 2012-01-20 22:30:15 +0000 | [diff] [blame] | 297 | .name = DRIVER_NAME, |
Russell King | 2796e39 | 2012-01-21 09:34:30 +0000 | [diff] [blame] | 298 | .pm = &mcp_sa11x0_pm_ops, |
Russell King | 3ae5eae | 2005-11-09 22:32:44 +0000 | [diff] [blame] | 299 | }, |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 300 | }; |
| 301 | |
| 302 | /* |
| 303 | * This needs re-working |
| 304 | */ |
Mark Brown | 65349d6 | 2011-11-23 22:58:34 +0000 | [diff] [blame] | 305 | module_platform_driver(mcp_sa11x0_driver); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 306 | |
Russell King | c4592ce | 2012-01-20 22:30:15 +0000 | [diff] [blame] | 307 | MODULE_ALIAS("platform:" DRIVER_NAME); |
Russell King | 5e742ad | 2005-08-18 10:08:15 +0100 | [diff] [blame] | 308 | MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>"); |
| 309 | MODULE_DESCRIPTION("SA11x0 multimedia communications port driver"); |
| 310 | MODULE_LICENSE("GPL"); |