diff options
author | Gregory Herrero <gregory.herrero@intel.com> | 2015-04-29 23:09:04 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-04-29 23:18:55 +0300 |
commit | a6d249d8373343749f9ae55f5581f3b21e178471 (patch) | |
tree | ac85281513ec76291dadd0527e86da458492c543 /drivers/usb/dwc2/platform.c | |
parent | 3eb42df3ebfbd8d46b831c26ecb90e128ad474a5 (diff) | |
download | linux-a6d249d8373343749f9ae55f5581f3b21e178471.tar.xz |
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>
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
-rw-r--r-- | drivers/usb/dwc2/platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index 4fb058b03eaf..ce39e8a01844 100644 --- a/drivers/usb/dwc2/platform.c +++ b/drivers/usb/dwc2/platform.c @@ -77,6 +77,7 @@ static const struct dwc2_core_params params_bcm2835 = { .reload_ctl = 0, .ahbcfg = 0x10, .uframe_sched = 0, + .external_id_pin_ctl = -1, }; static const struct dwc2_core_params params_rk3066 = { @@ -105,6 +106,7 @@ static const struct dwc2_core_params params_rk3066 = { .reload_ctl = -1, .ahbcfg = 0x7, /* INCR16 */ .uframe_sched = -1, + .external_id_pin_ctl = -1, }; /** |