usb: mtu3: dump a status register of IPPC
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 28 May 2021 06:10:58 +0000 (14:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 11:53:04 +0000 (13:53 +0200)
Add a SSUSB_IP_PW_STS1 register to show ip sleep status

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1622182260-23767-3-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_debugfs.c

index 7537bfd..d27de64 100644 (file)
@@ -30,6 +30,7 @@ static const struct debugfs_reg32 mtu3_ippc_regs[] = {
        dump_register(SSUSB_IP_PW_CTRL1),
        dump_register(SSUSB_IP_PW_CTRL2),
        dump_register(SSUSB_IP_PW_CTRL3),
+       dump_register(SSUSB_IP_PW_STS1),
        dump_register(SSUSB_OTG_STS),
        dump_register(SSUSB_IP_XHCI_CAP),
        dump_register(SSUSB_IP_DEV_CAP),