usb: chipidea: debug: add debug file for controller registers dump
authorLi Jun <B47624@freescale.com>
Wed, 23 Apr 2014 07:56:40 +0000 (15:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 19:56:34 +0000 (12:56 -0700)
commitc4a8b6392a3f131259aa2392cfc6bb6d0ca549f9
treeabc57237d4eb19b7d1fb22186e8fccdf2cfdd715
parent36304b0616280809a58ebdd69d74f7c61286f9b5
usb: chipidea: debug: add debug file for controller registers dump

This patch adds below registers dump for debug:
- USBINTR
- USBSTS
- USBMODE
- USBCMD
- PORTSC
- OTGSC

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <b47624@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/debug.c