aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/dwc3-owl.c
blob: 85f4c646b0707feda6a5ce6a8f8782d4878d23b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
/**
 * Actions OWL SoCs dwc3 driver
 *
 * Copyright (c) 2015 Actions Semiconductor Co., ltd.
 * tangshaoqing <tangshaoqing@actions-semi.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License v2 as published by
 * the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/types.h>
#include <linux/device.h>
#include <linux/pm_runtime.h>
#include <asm/uaccess.h>

#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>

#include "core.h"

#ifdef DEBUG_S700_CLK
void dwc3_owl_printk_power_usage_count(void);
void dwc3_owl_printk_clk_reg(void);

#define PWR_USB3	(1<<10)
#define ACK_USB3	(1<<10)

#define SPS_PG_BASE	0xE01B0100
#define SPS_PG_CTL	(SPS_PG_BASE+0x0000)
#define SPS_PG_ACK	(SPS_PG_BASE+0x0018)

#define USB3_CONTROLLER_CLOCK_ENABLE	(1 << 25)
#define USB3_MOD_RST	(1 << 25)

#define CMU_BASE	0xE0168000
#define CMU_DEVCLKEN0	(CMU_BASE+0x00a0)
#define CMU_DEVRST0	(CMU_BASE+0x00A8)
#define CMU_USBPLL	(CMU_BASE+0x00b0)

#define PLL_LDO_EN	(1<<31)
#define SOFT_VBUS_VALUE	(1<<7)
#define SOFT_VBUS_EN	(1<<6)
#endif

#ifdef DEBUG_S900_CLK
void dwc3_owl_printk_power_usage_count(void);
void dwc3_owl_printk_clk_reg(void);

#define USB3_MOD_RST           (1 << 14)

#define PWR_USB3	(1<<8)
#define ACK_USB3	(1<<8)
#define USB3_AVDD_EN	(1<<17)

#define ASSIST_PLL_EN		(1<<0)
#define USB3_MAC_DIV(n)   ((n)<<12)
#define USB3_MAC_DIV_MASK		(3<<12)

#define SPS_PG_BASE	0xE012e000
#define SPS_PG_CTL	(SPS_PG_BASE+0x0000)
#define SPS_PG_ACK	(SPS_PG_BASE+0x0004)
#define SPS_LDO_CTL	(SPS_PG_BASE+0x0014)

#define CMU_BASE	0xE0160000
#define CMU_USBPLL	(CMU_BASE+0x0080)
#define CMU_ASSISTPLL	(CMU_BASE+0x0084)
#define CMU_DEVRST1	(CMU_BASE+0x00AC)
#endif

#ifdef FPGA_VERIFY
#define S700_SOFTVBUS	(1<<7)
#define S700_SOFTVBUSEN	(1<<6)
#define S700_TIMER_BASE	0xE024C000
#define S700_USB3_ECS	(S700_TIMER_BASE+0x0090)

#define S900_SOFTVBUS	(1<<25)
#define S900_SOFTVBUSEN	(1<<24)
#define S900_TIMER_BASE	0xE0228000
#define S900_USB3_ECS	(S900_TIMER_BASE+0x0090)
#endif

struct dwc3_owl_regs {
#ifdef DEBUG_S700_CLK
	void __iomem *sps_pg_ctl;
	void __iomem *sps_pg_ack;

	void __iomem *usbpll;
	void __iomem *cmu_devclken0;
	void __iomem *devrst;
#endif

#ifdef DEBUG_S900_CLK
	void __iomem *sps_pg_ctl;
	void __iomem *sps_pg_ack;
	void __iomem *sps_ldo_ctl;
	
	void __iomem *usbpll;
	void __iomem *cmu_assistpll;
	void __iomem *devrst;
#endif

#ifdef FPGA_VERIFY
	void __iomem *usbecs;
#endif
};


#define USB3_BACKDOOR    0x0

enum {
	DWC3_S700 = 0,
	DWC3_S900 = 0x100
};

struct dwc3_owl_data {
	int ic_type;
};

struct dwc3_owl {
	struct platform_device	*dwc3;
	struct device		*dev;

	struct dwc3_owl_data  *data;

	struct clk * clk_usb3_480mpll0;
	struct clk * clk_usb3_480mphy0;
	struct clk * clk_usb3_5gphy;
	struct clk * clk_usb3_cce;

	struct clk * clk_usb3_mac;
	
	struct dwc3_owl_regs regs;

	void __iomem        *base;
};

struct dwc3_owl *_dwc3_owl = 0;


#ifdef FPGA_VERIFY
static void dwc3_owl_set_softvbus_for_fpga_verify(struct dwc3_owl *owl)
{
	u32		reg;

	reg = readl(owl->regs.usbecs);

	 if (owl->data->ic_type == DWC3_S700)
		reg |= (S700_SOFTVBUS | S700_SOFTVBUSEN);
	else if (owl->data->ic_type == DWC3_S900)
		reg |= (S900_SOFTVBUS | S900_SOFTVBUSEN);

	writel(reg, owl->regs.usbecs);
}
#endif

static void dwc3_owl_clk_init(struct dwc3_owl *owl)
{
	struct device       *dev = owl->dev;

	pm_runtime_enable(dev);
	pm_runtime_get_sync(dev);

	clk_prepare_enable(owl->clk_usb3_480mpll0);
	clk_prepare_enable(owl->clk_usb3_480mphy0);
	clk_prepare_enable(owl->clk_usb3_5gphy);
	clk_prepare_enable(owl->clk_usb3_cce);
	
	clk_prepare_enable(owl->clk_usb3_mac);

	pr_info("USB3 MAC clk req: %ld", clk_round_rate(owl->clk_usb3_mac, (500000000/4)));
	if (owl->data->ic_type == DWC3_S900)
		clk_set_rate(owl->clk_usb3_mac, clk_round_rate(owl->clk_usb3_mac, (500000000/4)));

	pr_info("USB3 MAC clk req: %ld", clk_get_rate(owl->clk_usb3_mac));
	if (owl->data->ic_type == DWC3_S700) {
		int val;
		val = readl(owl->base + USB3_BACKDOOR);
		val |= (0x1<<27);
		writel(val, owl->base + USB3_BACKDOOR);
	}

#ifdef FPGA_VERIFY
	dwc3_owl_set_softvbus_for_fpga_verify(owl);
#endif
}

static void dwc3_owl_clk_exit(struct dwc3_owl *owl)
{
	struct device       *dev = owl->dev;

	clk_disable_unprepare(owl->clk_usb3_mac);
	
	clk_disable_unprepare(owl->clk_usb3_cce);
	clk_disable_unprepare(owl->clk_usb3_5gphy);
	clk_disable_unprepare(owl->clk_usb3_480mphy0);
	clk_disable_unprepare(owl->clk_usb3_480mpll0);

	pm_runtime_put_sync(dev);
	pm_runtime_disable(dev);
}

void dwc3_owl_clock_init(void)
{
	if (_dwc3_owl)
		dwc3_owl_clk_init(_dwc3_owl);
}
EXPORT_SYMBOL_GPL(dwc3_owl_clock_init);

void dwc3_owl_clock_exit(void)
{
	if (_dwc3_owl)
		dwc3_owl_clk_exit(_dwc3_owl);
}
EXPORT_SYMBOL_GPL(dwc3_owl_clock_exit);

void dwc3_actions_clock_init(void)
{
	dwc3_owl_clock_init();
}
EXPORT_SYMBOL_GPL(dwc3_actions_clock_init);

void dwc3_actions_clock_exit(void)
{
	dwc3_owl_clock_exit();
}
EXPORT_SYMBOL_GPL(dwc3_actions_clock_exit);



static int __dwc3_owl_suspend(struct dwc3_owl *owl)
{
	printk("%s\n", __func__);

	clk_disable_unprepare(owl->clk_usb3_mac);
	
	clk_disable_unprepare(owl->clk_usb3_cce);
	clk_disable_unprepare(owl->clk_usb3_5gphy);
	clk_disable_unprepare(owl->clk_usb3_480mphy0);
	clk_disable_unprepare(owl->clk_usb3_480mpll0);

	return 0;
}

static int __dwc3_owl_resume(struct dwc3_owl *owl)
{
	struct device       *dev = owl->dev;

	printk("%s\n", __func__);

	clk_prepare_enable(owl->clk_usb3_480mpll0);
	clk_prepare_enable(owl->clk_usb3_480mphy0);
	clk_prepare_enable(owl->clk_usb3_5gphy);
	clk_prepare_enable(owl->clk_usb3_cce);
	
	clk_prepare_enable(owl->clk_usb3_mac);
	clk_set_rate(owl->clk_usb3_mac, clk_round_rate(owl->clk_usb3_mac, (500000000/4)) );

	pm_runtime_disable(dev);
	pm_runtime_set_active(dev);
	pm_runtime_enable(dev);

	return 0;
}


void dwc3_owl_plug_suspend(void)
{
	if (_dwc3_owl)
		__dwc3_owl_suspend(_dwc3_owl);
		
}
EXPORT_SYMBOL_GPL(dwc3_owl_plug_suspend);

void dwc3_owl_plug_resume(void)
{
	if (_dwc3_owl)
		__dwc3_owl_resume(_dwc3_owl);
}
EXPORT_SYMBOL_GPL(dwc3_owl_plug_resume);


#ifdef DEBUG_S700_CLK
static int dwc3_owl_debug_regs_remap(struct dwc3_owl	*owl)
{
	struct device       *dev = owl->dev;

	owl->regs.sps_pg_ctl = devm_ioremap_nocache(dev, SPS_PG_CTL, 4);
	owl->regs.sps_pg_ack = devm_ioremap_nocache(dev, SPS_PG_ACK, 4);

	owl->regs.usbpll = devm_ioremap_nocache(dev, CMU_USBPLL, 4);
	owl->regs.cmu_devclken0  = devm_ioremap_nocache(dev, CMU_DEVCLKEN0, 4);
	owl->regs.devrst = devm_ioremap_nocache(dev, CMU_DEVRST0, 4);

	if ((!owl->regs.sps_pg_ctl) || (!owl->regs.sps_pg_ack)
		|| (!owl->regs.usbpll) || (!owl->regs.cmu_devclken0) || (!owl->regs.devrst)) {
		dev_err(dev, "%s %d ioremap failed\n", __func__, __LINE__);
		return -ENOMEM;
	}

	return 0;
}

void dwc3_owl_printk_power_usage_count(void)
{
	struct device       *dev;

	if (!_dwc3_owl)
		return;

	dev = _dwc3_owl->dev;

	printk("dwc3 owl dev: disable_depth=%d usage_count=%d\n",
		dev->power.disable_depth, dev->power.usage_count.counter);
}
EXPORT_SYMBOL_GPL(dwc3_owl_printk_power_usage_count);

void dwc3_owl_printk_clk_reg(void)
{
	struct dwc3_owl	*owl = _dwc3_owl;

	if (!owl)
		return;

	printk("owl->regs.sps_pg_ctl:0x%x\n", readl(owl->regs.sps_pg_ctl));
	printk("owl->regs.sps_pg_ack:0x%x\n", readl(owl->regs.sps_pg_ack));

	printk("owl->regs.usbpll:0x%x\n", readl(owl->regs.usbpll));
	printk("owl->regs.cmu_devclken0:0x%x\n", readl(owl->regs.cmu_devclken0));
	printk("owl->regs.devrst:0x%x\n", readl(owl->regs.devrst));
}
EXPORT_SYMBOL_GPL(dwc3_owl_printk_clk_reg);
#endif


#ifdef DEBUG_S900_CLK
static int dwc3_owl_debug_regs_remap(struct dwc3_owl	*owl)
{
	struct device       *dev = owl->dev;

	owl->regs.sps_pg_ctl = devm_ioremap_nocache(dev, SPS_PG_CTL, 4);
	owl->regs.sps_pg_ack = devm_ioremap_nocache(dev, SPS_PG_ACK, 4);
	owl->regs.sps_ldo_ctl = devm_ioremap_nocache(dev, SPS_LDO_CTL, 4);

	owl->regs.usbpll = devm_ioremap_nocache(dev, CMU_USBPLL, 4);
	owl->regs.cmu_assistpll  = devm_ioremap_nocache(dev, CMU_ASSISTPLL, 4);
	owl->regs.devrst = devm_ioremap_nocache(dev, CMU_DEVRST1, 4);

	if ((!owl->regs.sps_pg_ctl) || (!owl->regs.sps_pg_ack) || (!owl->regs.sps_ldo_ctl)
		|| (!owl->regs.usbpll) || (!owl->regs.cmu_assistpll) || (!owl->regs.devrst)) {
		dev_err(dev, "%s %d ioremap failed\n", __func__, __LINE__);
		return -ENOMEM;
	}

	return 0;
}

void dwc3_owl_printk_power_usage_count(void)
{
	struct device       *dev;

	if (!_dwc3_owl)
		return;

	dev = _dwc3_owl->dev;

	printk("dwc3 owl dev: disable_depth=%d usage_count=%d\n",
		dev->power.disable_depth, dev->power.usage_count.counter);
}
EXPORT_SYMBOL_GPL(dwc3_owl_printk_power_usage_count);

void dwc3_owl_printk_clk_reg(void)
{
	struct dwc3_owl	*owl = _dwc3_owl;

	if (!owl)
		return;

	printk("owl->regs.sps_pg_ctl:0x%x\n", readl(owl->regs.sps_pg_ctl));
	printk("owl->regs.sps_pg_ack:0x%x\n", readl(owl->regs.sps_pg_ack));
	printk("owl->regs.sps_ldo_ctl:0x%x\n", readl(owl->regs.sps_ldo_ctl));

	printk("owl->regs.usbpll:0x%x\n", readl(owl->regs.usbpll));
	printk("owl->regs.cmu_assistpll:0x%x\n", readl(owl->regs.cmu_assistpll));
	printk("owl->regs.devrst:0x%x\n", readl(owl->regs.devrst));
}
EXPORT_SYMBOL_GPL(dwc3_owl_printk_clk_reg);
#endif




static const struct of_device_id owl_dwc3_match[];
static u64 dwc3_dma_mask = DMA_BIT_MASK(32);
static int dwc3_owl_probe(struct platform_device *pdev)
{
	const struct of_device_id *of_id =
			of_match_device(owl_dwc3_match, &pdev->dev);
	struct device_node	*node = pdev->dev.of_node;
	struct device       *dev = &pdev->dev;
	struct dwc3_owl	*owl;
	struct resource		*res;
	void __iomem        *base;
	int			ret = -ENOMEM;

	
	if (!node) {
		dev_err(dev, "device node not found\n");
		return -EINVAL;
	}

	if (!of_id) {
		dev_err(dev, "no compatible OF match\n");
		return -EINVAL;
	}

	dev->dma_mask		= &dwc3_dma_mask;
	dev->coherent_dma_mask	= DMA_BIT_MASK(32);

	owl = devm_kzalloc(dev,sizeof(*owl), GFP_KERNEL);
	if (!owl) {
		dev_err(dev, "not enough memory\n");
		return -ENOMEM;
	}

	platform_set_drvdata(pdev, owl);
	owl->dwc3 = pdev;
	owl->dev	= &pdev->dev;
	owl->data	= (struct dwc3_owl_data  *)of_id->data;

	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
	if (!res) {
		dev_err(dev, "missing memory base resource\n");
		return -EINVAL;
	}

	res = devm_request_mem_region(dev, res->start,resource_size(res),
				      dev_name(dev));
	if (!res) {
		dev_err(dev, "can't request mem region\n");
		return -ENOMEM;
	}

	base = devm_ioremap_nocache(dev, res->start, resource_size(res));
	if (!base) {
		dev_err(dev, "ioremap failed\n");
		return -ENOMEM;
	}

	owl->base	= base;

#ifdef FPGA_VERIFY
	if (owl->data->ic_type == DWC3_S700)
		owl->regs.usbecs = devm_ioremap_nocache(dev, S700_USB3_ECS, 4);
	else if (owl->data->ic_type == DWC3_S900)
		owl->regs.usbecs = devm_ioremap_nocache(dev, S900_USB3_ECS, 4);

	if (!owl->regs.usbecs) {
		dev_err(dev, "ioremap failed\n");
		return -ENOMEM;
	}
#endif

#if defined(DEBUG_S700_CLK)  || defined(DEBUG_S900_CLK)
	if (dwc3_owl_debug_regs_remap(owl))
		return -ENOMEM;
#endif

	//"usb3_480mpll0", "usb3_480mphy0", "usb3_5gphy", "usb3_cce", "usb3_mac";
	owl->clk_usb3_480mpll0 = devm_clk_get(dev, "usb3_480mpll0");
	if (IS_ERR(owl->clk_usb3_480mpll0)) {
		dev_err(&pdev->dev, "unable to get clk_usb3_480mpll0\n");
		return -EINVAL;
	}

	owl->clk_usb3_480mphy0 = devm_clk_get(dev, "usb3_480mphy0");
	if (IS_ERR(owl->clk_usb3_480mphy0)) {
		dev_err(&pdev->dev, "unable to get usb3_480mphy0\n");
		return -EINVAL;
	}

	owl->clk_usb3_5gphy = devm_clk_get(dev, "usb3_5gphy");
	if (IS_ERR(owl->clk_usb3_5gphy)) {
		dev_err(&pdev->dev, "unable to get usb3_5gphy\n");
		return -EINVAL;
	}

	owl->clk_usb3_cce = devm_clk_get(dev, "usb3_cce");
	if (IS_ERR(owl->clk_usb3_cce)) {
		dev_err(&pdev->dev, "unable to get usb3_cce\n");
		return -EINVAL;
	}

	owl->clk_usb3_mac = devm_clk_get(dev, "usb3_mac");
	if (IS_ERR(owl->clk_usb3_mac)) {
		dev_err(&pdev->dev, "unable to get usb3_mac\n");
		return -EINVAL;
	}

	dwc3_owl_clk_init(owl);
	
	ret = of_platform_populate(node, NULL, NULL, dev);
	if (ret) {
		dev_err(&pdev->dev, "failed to create dwc3 core\n");
		goto err;
	}

	_dwc3_owl = owl;

	printk("%s %d success\n", __FUNCTION__, __LINE__);

	return 0;

err:
	dwc3_owl_clk_exit(owl);

	return ret;
}


static int dwc3_owl_remove_core(struct device *dev, void *c)
{
	struct platform_device *pdev = to_platform_device(dev);

	platform_device_unregister(pdev);

	return 0;
}

static int dwc3_owl_remove(struct platform_device *pdev)
{
	struct dwc3_owl	*owl = platform_get_drvdata(pdev);

	_dwc3_owl = 0;
	
	dwc3_owl_clk_exit(owl);
	device_for_each_child(&pdev->dev, NULL, dwc3_owl_remove_core);

	return 0;
}


#ifdef CONFIG_PM_SLEEP
static int dwc3_owl_suspend(struct device *dev)
{
	printk("%s\n", __func__);

	return 0;
}

static int dwc3_owl_resume(struct device *dev)
{
	printk("%s\n", __func__);
	
	return 0;
}

static const struct dev_pm_ops dwc3_owl_dev_pm_ops = {
	SET_SYSTEM_SLEEP_PM_OPS(dwc3_owl_suspend, dwc3_owl_resume)
};

#define DEV_PM_OPS	(&dwc3_owl_dev_pm_ops)
#else
#define DEV_PM_OPS	NULL
#endif /* CONFIG_PM_SLEEP */


#ifdef CONFIG_OF
static  struct dwc3_owl_data  dwc3_owl_s700_data = {
	.ic_type = DWC3_S700,
};

static  struct dwc3_owl_data  dwc3_owl_s900_data = {
	.ic_type = DWC3_S900,
};

static const struct of_device_id owl_dwc3_match[] = {
	{ .compatible = "actions,s700-dwc3", .data = &dwc3_owl_s700_data,},
	{ .compatible = "actions,s900-dwc3", .data = &dwc3_owl_s900_data,},
	{},
};
MODULE_DEVICE_TABLE(of, owl_dwc3_match);
#endif


static struct platform_driver dwc3_owl_driver = {
	.probe		= dwc3_owl_probe,
	.remove		= dwc3_owl_remove,
	.driver		= {
		.name	= "owl-dwc3",
		.of_match_table = of_match_ptr(owl_dwc3_match),
		.pm	= DEV_PM_OPS,
	},
};

module_platform_driver(dwc3_owl_driver);

#if 0
static int __init  dwc3_owl_init(void)
{
	printk("%s %d %s %s\n", __FUNCTION__, __LINE__, __DATE__, __TIME__);
	return platform_driver_register(&dwc3_owl_driver);
}
module_init(dwc3_owl_init);

static void __exit dwc3_owl_exit(void)
{
	platform_driver_unregister(&dwc3_owl_driver);
}
module_exit(dwc3_owl_exit);
#endif

MODULE_ALIAS("platform:owl-dwc3");
MODULE_AUTHOR("tangshaoqing <tangshaoqing@actions-semi.com>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("DesignWare USB3 actions Glue Layer");