Skip to contentSkip to conversation

usb: dwc3: Dump LSP and BMU debug info

PATCH Superseded Felipe Balbi 1 participant 1 message Jan 8, 2018 USB

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 12/15 usb: dwc3: Dump LSP and BMU debug info

Hi,

Quoted 13 lines · Thinh Nguyen

Dump LSP and BMU debug info.

---
 drivers/usb/dwc3/core.h    | 5 +++++
 drivers/usb/dwc3/debugfs.c | 5 +++++
 2 files changed, 10 insertions(+)
drivers/usb/dwc3/core.h +0 -0
index 83a74d10fa82..21a6dcd379f1 100644

drivers/usb/dwc3/core.h line 107

Quoted 8 lines
drivers/usb/dwc3/core.h +5 -0
@@ -100,6 +100,11 @@
 #define DWC3_GHWPARAMS7		0xc15c
 #define DWC3_GDBGFIFOSPACE	0xc160
 #define DWC3_GDBGLTSSM		0xc164
+#define DWC3_GDBGBMU		0xc16c
+#define DWC3_GDBGLSPMUX		0xc170
+#define DWC3_GDBGLSP		0xc174
+#define DWC3_GDBGEPINFO0	0xc178
+#define DWC3_GDBGEPINFO1	0xc17c

wheren't these registers accessed with a write followed by a read? IIRC, just writing them doesn't give us much information, no?