]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
usb: dwc3: Dump LSP and BMU debug info
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Fri, 16 Mar 2018 22:35:51 +0000 (15:35 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 22 Mar 2018 08:49:02 +0000 (10:49 +0200)
Dump LSP and BMU debug info.

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/debugfs.c

index 28d6f6511f6f91aa0b8a16143133bfaf193f4ed7..4f3b43809917407efc64db6a548154aa8f0dc2d4 100644 (file)
 #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
 #define DWC3_GPRTBIMAP_HS0     0xc180
 #define DWC3_GPRTBIMAP_HS1     0xc184
 #define DWC3_GPRTBIMAP_FS0     0xc188
index c4c0dcb3f58969cdcd9215773c523393984ccaef..2f07be1e1f3196d3a528e782cfaf84a865b8a9d4 100644 (file)
@@ -81,6 +81,11 @@ static const struct debugfs_reg32 dwc3_regs[] = {
        dump_register(GHWPARAMS7),
        dump_register(GDBGFIFOSPACE),
        dump_register(GDBGLTSSM),
+       dump_register(GDBGBMU),
+       dump_register(GDBGLSPMUX),
+       dump_register(GDBGLSP),
+       dump_register(GDBGEPINFO0),
+       dump_register(GDBGEPINFO1),
        dump_register(GPRTBIMAP_HS0),
        dump_register(GPRTBIMAP_HS1),
        dump_register(GPRTBIMAP_FS0),