usb: dwc3: add disable receiver detection in P3 quirk
authorRajesh Bhagat <rajesh.bhagat@nxp.com>
Mon, 14 Mar 2016 09:10:50 +0000 (14:40 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 18 Apr 2016 12:23:44 +0000 (15:23 +0300)
commite58dd357741b93f5bc5487aabba968c76bb099ef
treefde45104da90d9160ad617a51af645c009c57203
parent2c0b98ff29a7452edbbdc503857b74cfaa536808
usb: dwc3: add disable receiver detection in P3 quirk

Some freescale QorIQ platforms require to disable receiver detection
in P3 for correct detection of USB devices. If GUSB3PIPECTL(DISRXDETINP3)
is set, Core will change PHY power state to P2 and then perform receiver
detection. After receiver detection, Core will change PHY power state to
P3. Same quirk would be added in dts file in future patches.

Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/platform_data.h