mfd: fusb302: Add EXTCON_USB_VBUS_EN for fusb302
authorBin Yang <yangbin@rock-chips.com>
Fri, 23 Sep 2016 07:22:34 +0000 (15:22 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Sun, 9 Oct 2016 10:20:05 +0000 (18:20 +0800)
commitc5e75fc60d987bf27ce9443d1680c4325e3c393f
treecb8298ec7b88d66c8fa2237da948615d2b6c3ad7
parent4190022d1f5bbc7b87d2052952e403c49ed1e3c8
mfd: fusb302: Add EXTCON_USB_VBUS_EN for fusb302

Some rk3399 board(rk3399 MID or rk3399 VR) is use rk81x generated vbus.
So need fusb302 send a extcon to notify rk818 when OTG or DP cable plugin.

If use EXTCON_USB_HOST, the extcon will notify dwc3 and rk818_charger at
the same time,so need to add a new extcon EXTCON_USB_VBUS_EN.

Change-Id: Ib019ed7c2d4343c50dcef739ab3076f592979ea0
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
drivers/mfd/fusb302.c