Star64_linux/drivers/phy
Sekhar Nori 80fc6660ca phy: omap-usb2: support suspend/resume
Relying on PM-ops for shutting down PHY clocks was a
bad idea since the users (e.g. USB DWC3) might not
have been suspended by then.

Get rid of all PM-ops. It is the sole responsibility
of the PHY user to properly turn OFF and de-initialize
the PHY as part of its suspend routine.

Enable/disable PHY clock as part of ->init()/->exit()
call respectively. With this phy_init() and phy_exit()
can be called by PHY user during suspend/resume.

This is similar to what is done for ti-pipe3 driver.
See 31c8954efb1b ("phy: ti-pipe3: fix suspend")

The pm_runtime_enable() call in omap_usb2_probe()
is still required because without it, phy_create()
will not enable runtime PM on the phy device it
creates and phy_init() will not call
pm_runtime_get_sync().

Without pm_runtime_get_sync(), ocp2scp hwmod will
_not_ enable the IP and, thus, we will have abort
exceptions.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2016-09-10 16:48:39 +05:30
..
tegra phy: tegra: mark tegra_xusb_lane_lookup_function() static 2016-09-10 16:48:35 +05:30
Kconfig phy: add a driver for the Rockchip SoC internal PCIe PHY 2016-09-10 16:48:33 +05:30
Makefile phy: add a driver for the Rockchip SoC internal PCIe PHY 2016-09-10 16:48:33 +05:30
phy-armada375-usb2.c
phy-bcm-cygnus-pcie.c
phy-bcm-kona-usb2.c
phy-bcm-ns-usb2.c
phy-bcm-ns-usb3.c phy: bcm-ns-usb3: new driver for USB 3.0 PHY on Northstar 2016-09-10 16:48:28 +05:30
phy-bcm-ns2-pcie.c phy: bcm-ns2-pcie: Set missing .owner field in ns2_pci_phy_ops 2016-09-10 16:48:36 +05:30
phy-berlin-sata.c
phy-berlin-usb.c
phy-brcm-sata.c phy: brcm-sata: Return proper error if brcm_sata_phy_init fails 2016-08-12 14:59:10 +05:30
phy-core.c
phy-da8xx-usb.c
phy-dm816x-usb.c
phy-exynos-dp-video.c
phy-exynos-mipi-video.c
phy-exynos4x12-usb2.c
phy-exynos5-usbdrd.c phy: exynos5-usbdrd: Remove "static" from local variable 2016-09-10 16:48:25 +05:30
phy-exynos4210-usb2.c
phy-exynos5250-sata.c
phy-exynos5250-usb2.c
phy-hi6220-usb.c
phy-hix5hd2-sata.c
phy-lpc18xx-usb-otg.c
phy-miphy28lp.c
phy-miphy365x.c
phy-mt65xx-usb3.c
phy-mvebu-sata.c
phy-omap-control.c
phy-omap-usb2.c phy: omap-usb2: support suspend/resume 2016-09-10 16:48:39 +05:30
phy-pistachio-usb.c
phy-pxa-28nm-hsic.c
phy-pxa-28nm-usb2.c
phy-qcom-apq8064-sata.c
phy-qcom-ipq806x-sata.c
phy-qcom-ufs-i.h
phy-qcom-ufs-qmp-14nm.c
phy-qcom-ufs-qmp-14nm.h
phy-qcom-ufs-qmp-20nm.c
phy-qcom-ufs-qmp-20nm.h
phy-qcom-ufs.c phy: qcom-ufs: use of_property_read_bool 2016-09-10 16:48:29 +05:30
phy-rcar-gen2.c
phy-rcar-gen3-usb2.c phy: rcar-gen3-usb2: Add a compatible string for r8a7796 2016-09-10 16:48:38 +05:30
phy-rockchip-dp.c
phy-rockchip-emmc.c
phy-rockchip-inno-usb2.c phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy 2016-09-10 16:48:31 +05:30
phy-rockchip-pcie.c phy: add a driver for the Rockchip SoC internal PCIe PHY 2016-09-10 16:48:33 +05:30
phy-rockchip-usb.c
phy-s5pv210-usb2.c
phy-samsung-usb2.c
phy-samsung-usb2.h
phy-spear1310-miphy.c
phy-spear1340-miphy.c
phy-stih41x-usb.c
phy-stih407-usb.c
phy-sun4i-usb.c phy: sun4i: add support for A64 usb phy 2016-09-10 16:48:27 +05:30
phy-sun9i-usb.c phy: sun9i-usb: fix error handling 2016-08-12 14:59:10 +05:30
phy-ti-pipe3.c
phy-tusb1210.c
phy-twl4030-usb.c
phy-xgene.c
ulpi_phy.h