summaryrefslogtreecommitdiffstats
path: root/drivers/usb/mtu3/mtu3_debug.h
Commit message (Collapse)AuthorAgeFilesLines
* usb: mtu3: add tracepoints to help debugChunfeng Yun2019-03-261-0/+8
| | | | | | | | | This patch implements a few initial tracepoints for the mtu3 driver. More traces can be added as necessary in order to ease the task of debugging. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* usb: mtu3: move vbus and mode debugfs interfaces into mtu3_debugfs.cChunfeng Yun2019-03-261-0/+2
| | | | | | | | | Due to the separated debugfs files are added, move vbus and mode debugfs interfaces related with dual-role switch from mtu3_dr.c into mtu3_debugfs.c Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* usb: mtu3: add debugfs interface filesChunfeng Yun2019-03-261-0/+40
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>