]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5fe4995aebf7c5372979b0c9fde104b42cd9e973
treeac85281513ec76291dadd0527e86da458492c543
parent1b964770c653f0babec143b07e07027516cf3989
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