summaryrefslogtreecommitdiffstats
path: root/drivers/usb/mtu3/Makefile
diff options
context:
space:
mode:
authorChunfeng Yun2019-03-21 03:53:46 +0100
committerGreg Kroah-Hartman2019-03-26 08:40:14 +0100
commitae07809255d3e3419205b673aba6d1dce16a0d65 (patch)
treedc2654cbad0618874d5476dcfa84f10ae5e19754 /drivers/usb/mtu3/Makefile
parentusb: mtu3: supports new QMU format (diff)
downloadkernel-qcow2-linux-ae07809255d3e3419205b673aba6d1dce16a0d65.tar.gz
kernel-qcow2-linux-ae07809255d3e3419205b673aba6d1dce16a0d65.tar.xz
kernel-qcow2-linux-ae07809255d3e3419205b673aba6d1dce16a0d65.zip
usb: mtu3: add debugfs interface files
This adds more debugfs consumers. The debugfs entries read some important registers, fifo status, QMU ring, endpoint status, and IPPC probe interface to get internal status. With these entries, users can check the registers, endpoint and GPD used during run time. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/mtu3/Makefile')
-rw-r--r--drivers/usb/mtu3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/mtu3/Makefile b/drivers/usb/mtu3/Makefile
index 4a9715812bf9..7c1826bbcebb 100644
--- a/drivers/usb/mtu3/Makefile
+++ b/drivers/usb/mtu3/Makefile
@@ -17,3 +17,7 @@ endif
ifneq ($(CONFIG_USB_MTU3_DUAL_ROLE),)
mtu3-y += mtu3_dr.o
endif
+
+ifneq ($(CONFIG_DEBUG_FS),)
+ mtu3-y += mtu3_debugfs.o
+endif