Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1396994
| From | William Wu <william.wu@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug |
| Date | 2016-05-09 14:10 +0200 |
| Message-ID | <rwSaD-5og-49@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Signed-off-by: William Wu <william.wu@rock-chips.com>
---
drivers/usb/dwc3/core.h | 1 +
drivers/usb/dwc3/debugfs.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index e15e307..f268869 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -86,6 +86,7 @@
#define DWC3_GCTL 0xc110
#define DWC3_GEVTEN 0xc114
#define DWC3_GSTS 0xc118
+#define DWC3_GUCTL1 0xc11c
#define DWC3_GSNPSID 0xc120
#define DWC3_GGPIO 0xc124
#define DWC3_GUID 0xc128
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c
index b1dd3c6..f3c9f44 100644
--- a/drivers/usb/dwc3/debugfs.c
+++ b/drivers/usb/dwc3/debugfs.c
@@ -47,6 +47,7 @@ static const struct debugfs_reg32 dwc3_regs[] = {
dump_register(GCTL),
dump_register(GEVTEN),
dump_register(GSTS),
+ dump_register(GUCTL1),
dump_register(GSNPSID),
dump_register(GGPIO),
dump_register(GUID),
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug William Wu <william.wu@rock-chips.com> - 2016-05-09 14:10 +0200
Re: [PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug Greg KH <gregkh@linuxfoundation.org> - 2016-05-09 14:10 +0200
Re: [PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug Felipe Balbi <balbi@kernel.org> - 2016-05-09 14:20 +0200
Re: [PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug William Wu <william.wu@rock-chips.com> - 2016-05-09 15:30 +0200
Re: [PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug Felipe Balbi <balbi@kernel.org> - 2016-05-09 15:40 +0200
csiph-web