usb: dwc2: add external_id_pin_ctl core parameter
authorGregory Herrero <gregory.herrero@intel.com>
Wed, 29 Apr 2015 20:09:04 +0000 (22:09 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Apr 2015 20:18:55 +0000 (15:18 -0500)
commita6d249d8373343749f9ae55f5581f3b21e178471
treeac85281513ec76291dadd0527e86da458492c543
parent3eb42df3ebfbd8d46b831c26ecb90e128ad474a5
usb: dwc2: add external_id_pin_ctl core parameter

This is required due to an Intel specific hardware issue. Where id-
pin setup causes glitches on the interrupt line when CONIDSTSCHG
interrupt is enabled.

Specify external_id_pin_ctl when an external driver (for example phy)
can handle id change, so that CONIDSTSCHG interrupt can be disabled
from the controller.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/platform.c