usb: mtu3: add a vbus debugfs interface
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 4 Aug 2017 02:32:46 +0000 (10:32 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 9 Aug 2017 10:10:47 +0000 (13:10 +0300)
commit5c33f8f4c30dcc571675f45a131fce5eba8ee25f
treed7da80fcb0131a394ee66a5983cd8b15dacac332
parentc14af973ed863ac82e78259f188f2bc73d69851d
usb: mtu3: add a vbus debugfs interface

Provides a new vbus debugfs interface used to turn on/off vbus
regulator, it also can be used to get/put reference count of
vbus, due to sometimes we need keep it alive when manually switch
mtu3 to device mode.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/mtu3/mtu3_dr.c