[RFC/PATCH] usb: chipidea: Emulate OTGSC interrupt enable path

2016-09-13 Thread Stephen Boyd
In the case of an extcon-usb-gpio device being used with the chipidea driver we'll sometimes miss the BSVIS event in the OTGSC register. Consider the case where we don't have a cable attached and the id pin is indicating "host" mode. When we plug in the usb cable for "device" mode a gpio goes high

[RFC/PATCH] usb: chipidea: Emulate OTGSC interrupt enable path

2016-09-13 Thread Stephen Boyd
In the case of an extcon-usb-gpio device being used with the chipidea driver we'll sometimes miss the BSVIS event in the OTGSC register. Consider the case where we don't have a cable attached and the id pin is indicating "host" mode. When we plug in the usb cable for "device" mode a gpio goes high