Pratik Patel | 17f3b82 | 2011-11-21 12:41:47 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #include <linux/kernel.h> |
| 14 | #include <linux/module.h> |
Pratik Patel | cf41862 | 2011-09-22 11:15:11 -0700 | [diff] [blame] | 15 | #include <linux/init.h> |
| 16 | #include <linux/types.h> |
| 17 | #include <linux/device.h> |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 18 | #include <linux/platform_device.h> |
| 19 | #include <linux/io.h> |
| 20 | #include <linux/err.h> |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 21 | #include <linux/slab.h> |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 22 | #include <linux/clk.h> |
Pratik Patel | 1746b8f | 2012-06-02 21:11:41 -0700 | [diff] [blame] | 23 | #include <linux/coresight.h> |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 24 | |
Pratik Patel | 1746b8f | 2012-06-02 21:11:41 -0700 | [diff] [blame] | 25 | #include "coresight-priv.h" |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 26 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 27 | #define funnel_writel(drvdata, id, val, off) \ |
| 28 | __raw_writel((val), drvdata->base + (SZ_4K * id) + off) |
| 29 | #define funnel_readl(drvdata, id, off) \ |
| 30 | __raw_readl(drvdata->base + (SZ_4K * id) + off) |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 31 | |
Pratik Patel | 61de730 | 2012-03-07 12:06:10 -0800 | [diff] [blame] | 32 | #define FUNNEL_FUNCTL (0x000) |
| 33 | #define FUNNEL_PRICTL (0x004) |
| 34 | #define FUNNEL_ITATBDATA0 (0xEEC) |
| 35 | #define FUNNEL_ITATBCTR2 (0xEF0) |
| 36 | #define FUNNEL_ITATBCTR1 (0xEF4) |
| 37 | #define FUNNEL_ITATBCTR0 (0xEF8) |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 38 | |
| 39 | |
| 40 | #define FUNNEL_LOCK(id) \ |
| 41 | do { \ |
| 42 | mb(); \ |
Pratik Patel | 6fb3834 | 2012-06-03 14:51:38 -0700 | [diff] [blame] | 43 | funnel_writel(drvdata, id, 0x0, CORESIGHT_LAR); \ |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 44 | } while (0) |
| 45 | #define FUNNEL_UNLOCK(id) \ |
| 46 | do { \ |
Pratik Patel | 6fb3834 | 2012-06-03 14:51:38 -0700 | [diff] [blame] | 47 | funnel_writel(drvdata, id, CORESIGHT_UNLOCK, CORESIGHT_LAR); \ |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 48 | mb(); \ |
| 49 | } while (0) |
| 50 | |
Pratik Patel | 61de730 | 2012-03-07 12:06:10 -0800 | [diff] [blame] | 51 | #define FUNNEL_HOLDTIME_MASK (0xF00) |
| 52 | #define FUNNEL_HOLDTIME_SHFT (0x8) |
| 53 | #define FUNNEL_HOLDTIME (0x7 << FUNNEL_HOLDTIME_SHFT) |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 54 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 55 | struct funnel_drvdata { |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 56 | void __iomem *base; |
| 57 | bool enabled; |
Pratik Patel | 783408a | 2012-03-21 10:28:12 -0700 | [diff] [blame] | 58 | struct mutex mutex; |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 59 | struct device *dev; |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 60 | struct kobject *kobj; |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 61 | struct clk *clk; |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 62 | uint32_t priority; |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 63 | }; |
| 64 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 65 | static struct funnel_drvdata *drvdata; |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 66 | |
| 67 | static void __funnel_enable(uint8_t id, uint32_t port_mask) |
| 68 | { |
| 69 | uint32_t functl; |
| 70 | |
| 71 | FUNNEL_UNLOCK(id); |
| 72 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 73 | functl = funnel_readl(drvdata, id, FUNNEL_FUNCTL); |
Pratik Patel | 61de730 | 2012-03-07 12:06:10 -0800 | [diff] [blame] | 74 | functl &= ~FUNNEL_HOLDTIME_MASK; |
| 75 | functl |= FUNNEL_HOLDTIME; |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 76 | functl |= port_mask; |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 77 | funnel_writel(drvdata, id, functl, FUNNEL_FUNCTL); |
| 78 | funnel_writel(drvdata, id, drvdata->priority, FUNNEL_PRICTL); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 79 | |
| 80 | FUNNEL_LOCK(id); |
| 81 | } |
| 82 | |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 83 | int funnel_enable(uint8_t id, uint32_t port_mask) |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 84 | { |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 85 | int ret; |
| 86 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 87 | ret = clk_prepare_enable(drvdata->clk); |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 88 | if (ret) |
| 89 | return ret; |
| 90 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 91 | mutex_lock(&drvdata->mutex); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 92 | __funnel_enable(id, port_mask); |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 93 | drvdata->enabled = true; |
| 94 | dev_info(drvdata->dev, "FUNNEL port mask 0x%lx enabled\n", |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 95 | (unsigned long) port_mask); |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 96 | mutex_unlock(&drvdata->mutex); |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 97 | |
| 98 | return 0; |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 99 | } |
| 100 | |
| 101 | static void __funnel_disable(uint8_t id, uint32_t port_mask) |
| 102 | { |
| 103 | uint32_t functl; |
| 104 | |
| 105 | FUNNEL_UNLOCK(id); |
| 106 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 107 | functl = funnel_readl(drvdata, id, FUNNEL_FUNCTL); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 108 | functl &= ~port_mask; |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 109 | funnel_writel(drvdata, id, functl, FUNNEL_FUNCTL); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 110 | |
| 111 | FUNNEL_LOCK(id); |
| 112 | } |
| 113 | |
| 114 | void funnel_disable(uint8_t id, uint32_t port_mask) |
| 115 | { |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 116 | mutex_lock(&drvdata->mutex); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 117 | __funnel_disable(id, port_mask); |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 118 | drvdata->enabled = false; |
| 119 | dev_info(drvdata->dev, "FUNNEL port mask 0x%lx disabled\n", |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 120 | (unsigned long) port_mask); |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 121 | mutex_unlock(&drvdata->mutex); |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 122 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 123 | clk_disable_unprepare(drvdata->clk); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 124 | } |
| 125 | |
Pratik Patel | a9c0e06 | 2012-05-28 13:45:35 -0700 | [diff] [blame] | 126 | static ssize_t funnel_show_priority(struct device *dev, |
| 127 | struct device_attribute *attr, char *buf) |
| 128 | { |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 129 | unsigned long val = drvdata->priority; |
Pratik Patel | a9c0e06 | 2012-05-28 13:45:35 -0700 | [diff] [blame] | 130 | return scnprintf(buf, PAGE_SIZE, "%#lx\n", val); |
| 131 | } |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 132 | |
Pratik Patel | a9c0e06 | 2012-05-28 13:45:35 -0700 | [diff] [blame] | 133 | static ssize_t funnel_store_priority(struct device *dev, |
| 134 | struct device_attribute *attr, |
| 135 | const char *buf, size_t size) |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 136 | { |
| 137 | unsigned long val; |
| 138 | |
| 139 | if (sscanf(buf, "%lx", &val) != 1) |
| 140 | return -EINVAL; |
| 141 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 142 | drvdata->priority = val; |
Pratik Patel | a9c0e06 | 2012-05-28 13:45:35 -0700 | [diff] [blame] | 143 | return size; |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 144 | } |
Pratik Patel | a9c0e06 | 2012-05-28 13:45:35 -0700 | [diff] [blame] | 145 | static DEVICE_ATTR(priority, S_IRUGO | S_IWUSR, funnel_show_priority, |
| 146 | funnel_store_priority); |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 147 | |
Stephen Boyd | a951050 | 2012-04-24 16:23:34 -0700 | [diff] [blame] | 148 | static int __devinit funnel_sysfs_init(void) |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 149 | { |
| 150 | int ret; |
| 151 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 152 | drvdata->kobj = kobject_create_and_add("funnel", qdss_get_modulekobj()); |
| 153 | if (!drvdata->kobj) { |
| 154 | dev_err(drvdata->dev, "failed to create FUNNEL sysfs kobject\n"); |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 155 | ret = -ENOMEM; |
| 156 | goto err_create; |
| 157 | } |
| 158 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 159 | ret = sysfs_create_file(drvdata->kobj, &dev_attr_priority.attr); |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 160 | if (ret) { |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 161 | dev_err(drvdata->dev, "failed to create FUNNEL sysfs priority" |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 162 | " attribute\n"); |
| 163 | goto err_file; |
| 164 | } |
| 165 | |
| 166 | return 0; |
| 167 | err_file: |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 168 | kobject_put(drvdata->kobj); |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 169 | err_create: |
| 170 | return ret; |
| 171 | } |
| 172 | |
Stephen Boyd | a951050 | 2012-04-24 16:23:34 -0700 | [diff] [blame] | 173 | static void __devexit funnel_sysfs_exit(void) |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 174 | { |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 175 | sysfs_remove_file(drvdata->kobj, &dev_attr_priority.attr); |
| 176 | kobject_put(drvdata->kobj); |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 177 | } |
| 178 | |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 179 | static int __devinit funnel_probe(struct platform_device *pdev) |
| 180 | { |
| 181 | int ret; |
| 182 | struct resource *res; |
| 183 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 184 | drvdata = kzalloc(sizeof(*drvdata), GFP_KERNEL); |
| 185 | if (!drvdata) { |
| 186 | ret = -ENOMEM; |
| 187 | goto err_kzalloc_drvdata; |
| 188 | } |
| 189 | |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 190 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
| 191 | if (!res) { |
| 192 | ret = -EINVAL; |
| 193 | goto err_res; |
| 194 | } |
| 195 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 196 | drvdata->base = ioremap_nocache(res->start, resource_size(res)); |
| 197 | if (!drvdata->base) { |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 198 | ret = -EINVAL; |
| 199 | goto err_ioremap; |
| 200 | } |
| 201 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 202 | drvdata->dev = &pdev->dev; |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 203 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 204 | mutex_init(&drvdata->mutex); |
Pratik Patel | 783408a | 2012-03-21 10:28:12 -0700 | [diff] [blame] | 205 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 206 | drvdata->clk = clk_get(drvdata->dev, "core_clk"); |
| 207 | if (IS_ERR(drvdata->clk)) { |
| 208 | ret = PTR_ERR(drvdata->clk); |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 209 | goto err_clk_get; |
| 210 | } |
| 211 | |
Pratik Patel | 6fb3834 | 2012-06-03 14:51:38 -0700 | [diff] [blame] | 212 | ret = clk_set_rate(drvdata->clk, CORESIGHT_CLK_RATE_TRACE); |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 213 | if (ret) |
| 214 | goto err_clk_rate; |
| 215 | |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 216 | funnel_sysfs_init(); |
| 217 | |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 218 | dev_info(drvdata->dev, "FUNNEL initialized\n"); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 219 | return 0; |
| 220 | |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 221 | err_clk_rate: |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 222 | clk_put(drvdata->clk); |
Pratik Patel | f17b147 | 2012-05-25 22:23:52 -0700 | [diff] [blame] | 223 | err_clk_get: |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 224 | mutex_destroy(&drvdata->mutex); |
| 225 | iounmap(drvdata->base); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 226 | err_ioremap: |
| 227 | err_res: |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 228 | kfree(drvdata); |
| 229 | err_kzalloc_drvdata: |
| 230 | dev_err(drvdata->dev, "FUNNEL init failed\n"); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 231 | return ret; |
| 232 | } |
| 233 | |
Pratik Patel | f6fe918 | 2012-03-20 14:04:18 -0700 | [diff] [blame] | 234 | static int __devexit funnel_remove(struct platform_device *pdev) |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 235 | { |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 236 | if (drvdata->enabled) |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 237 | funnel_disable(0x0, 0xFF); |
Pratik Patel | 6630ebe | 2012-03-06 16:44:22 -0800 | [diff] [blame] | 238 | funnel_sysfs_exit(); |
Pratik Patel | 16aefdb | 2012-05-30 10:41:23 -0700 | [diff] [blame] | 239 | clk_put(drvdata->clk); |
| 240 | mutex_destroy(&drvdata->mutex); |
| 241 | iounmap(drvdata->base); |
| 242 | kfree(drvdata); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 243 | |
| 244 | return 0; |
| 245 | } |
| 246 | |
Pratik Patel | 9eae482 | 2012-05-14 17:34:53 -0700 | [diff] [blame] | 247 | static struct of_device_id funnel_match[] = { |
| 248 | {.compatible = "qcom,msm-funnel"}, |
| 249 | {} |
| 250 | }; |
| 251 | |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 252 | static struct platform_driver funnel_driver = { |
| 253 | .probe = funnel_probe, |
Pratik Patel | f6fe918 | 2012-03-20 14:04:18 -0700 | [diff] [blame] | 254 | .remove = __devexit_p(funnel_remove), |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 255 | .driver = { |
| 256 | .name = "msm_funnel", |
Pratik Patel | 9eae482 | 2012-05-14 17:34:53 -0700 | [diff] [blame] | 257 | .owner = THIS_MODULE, |
| 258 | .of_match_table = funnel_match, |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 259 | }, |
| 260 | }; |
| 261 | |
Pratik Patel | f6fe918 | 2012-03-20 14:04:18 -0700 | [diff] [blame] | 262 | static int __init funnel_init(void) |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 263 | { |
| 264 | return platform_driver_register(&funnel_driver); |
| 265 | } |
Pratik Patel | f6fe918 | 2012-03-20 14:04:18 -0700 | [diff] [blame] | 266 | module_init(funnel_init); |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 267 | |
Pratik Patel | f6fe918 | 2012-03-20 14:04:18 -0700 | [diff] [blame] | 268 | static void __exit funnel_exit(void) |
Pratik Patel | 7831c08 | 2011-06-08 21:44:37 -0700 | [diff] [blame] | 269 | { |
| 270 | platform_driver_unregister(&funnel_driver); |
| 271 | } |
Pratik Patel | f6fe918 | 2012-03-20 14:04:18 -0700 | [diff] [blame] | 272 | module_exit(funnel_exit); |
| 273 | |
| 274 | MODULE_LICENSE("GPL v2"); |
| 275 | MODULE_DESCRIPTION("CoreSight Funnel driver"); |