OSDN Git Service

usb: mtu3: support ip-sleep wakeup for MT8183
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 23 Mar 2021 07:02:52 +0000 (15:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Mar 2021 13:46:14 +0000 (14:46 +0100)
commitb1a344589eeaa52be43fba1bde20d483e01018ff
tree4b0ebe271e3227367b91b7c5b5328bb19e8817cb
parent331c505894e4da9b29ec7d7fa7c945e69823faee
usb: mtu3: support ip-sleep wakeup for MT8183

Add support ip-sleep wakeup for MT8183, it's similar to MT8173,
and it's also a specific one, but not following IPM rule.
Due to the index 2 already used by many DTS, it's better to keep
it unchanged for backward compatibility, treat specific ones without
following IPM rule as revision 1.x, meanwhile reserve 3~10 for later
revision that follows the IPM rule.

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