linux_dsm_epyc7002/drivers/usb/chipidea
Tuomas Tynkkynen 2cdcec4fed usb: host: add has_tdi_phy_lpm capability bit
The has_hostpc capability bit indicates that the host controller has the
HOSTPC register extensions, but at the same time enables clock disabling
power saving features with the PHY Low Power Clock Disable (PHCD) bit.

However, some host controllers have the HOSTPC extensions but don't
support the low-power feature, so the PHCD bit must not be set on those
controllers. Add a separate capability bit for the low-power feature
instead, and change all existing users of has_hostpc to use this new
capability bit.

The idea for this commit is taken from an old 2012 commit that never got
merged ("disociate chipidea PHY low power suspend control from hostpc")

Inspired-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-08-12 13:29:46 -05:00
..
bits.h usb: chipidea: add PTW, PTS and STS handling 2013-06-17 13:47:09 -07:00
ci_hdrc_imx.c usb: chipidea: ci_hdrc_imx: access phy via private data 2013-06-25 16:41:06 -07:00
ci_hdrc_imx.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci_hdrc_msm.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci_hdrc_pci.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
ci.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
core.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
debug.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c usb: host: add has_tdi_phy_lpm capability bit 2013-08-12 13:29:46 -05:00
host.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
Kconfig usb: chipidea: improve kconfig 2013-06-17 13:45:46 -07:00
Makefile Device tree updates for v3.11 2013-07-04 15:51:45 -07:00
udc.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
udc.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
usbmisc_imx.c usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00