linux/drivers/phy
Icenowy Zheng 3ecc25e12f phy: sun4i-usb: support automatically switch PHY0 route to MUSB/HCI
On newer Allwinner SoCs (H3 and after), the PHY0 node is routed to both
MUSB controller for peripheral and host support (the host support is
slightly broken), and a pair of EHCI/OHCI controllers, which provide a
better support for host mode.

Add support for automatically switch the route of PHY0 according to the
status of dr_mode and id det pin.

Only H3 have this function enabled in this patch, as further SoCs will
be tested later and then have it enabled.

As H5 is reusing the PHY driver of H3, this function is also enabled.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-04-10 16:42:58 +05:30
..
tegra phy: fix returnvar.cocci warnings 2016-11-18 18:19:16 +05:30
Kconfig phy: qcom-usb-hs: Add depends on EXTCON 2017-03-09 15:29:57 +05:30
Makefile Revert "phy: Add USB3 PHY support for Broadcom NSP SoC" 2017-03-09 15:29:44 +05:30
phy-armada375-usb2.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-bcm-cygnus-pcie.c drivers: phy: constify phy_ops structures 2017-01-16 16:41:51 +05:30
phy-bcm-kona-usb2.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-bcm-ns-usb2.c phy: bcm-ns-usb2: checking the wrong variable 2016-06-17 19:02:08 +05:30
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: fix returnvar.cocci warnings 2016-11-18 18:19:16 +05:30
phy-berlin-usb.c phy: berlin-usb: don't set device's driver_data 2015-12-20 17:43:12 +05:30
phy-brcm-sata.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-core.c phy: Add reset callback 2016-09-10 17:31:39 +05:30
phy-da8xx-usb.c phy: da8xx-usb: Configure CFGCHIP2 to support OTG workaround 2016-11-18 18:19:15 +05:30
phy-dm816x-usb.c phy: dm816x: use __maybe_unused to hide pm functions 2016-03-03 20:37:41 -08:00
phy-exynos-dp-video.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-exynos-mipi-video.c phy: exynos-mipi-video: simplify check for coupled phy status 2016-11-18 18:19:15 +05:30
phy-exynos-pcie.c phy: phy-exynos-pcie: make it explicitly non-modular 2017-04-10 16:42:57 +05:30
phy-exynos4x12-usb2.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
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: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-exynos5250-sata.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-exynos5250-usb2.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-hi6220-usb.c drivers: phy: constify phy_ops structures 2017-01-16 16:41:51 +05:30
phy-hix5hd2-sata.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: fix clock order in phy init 2015-08-10 20:11:58 +05:30
phy-meson8b-usb2.c phy: meson8b-usb2: request a shared reset line 2016-11-18 18:19:14 +05:30
phy-miphy28lp.c phy: miphy28lp: Inform the reset framework that our reset line may be shared 2016-07-01 10:51:30 +01:00
phy-mt65xx-usb3.c drivers: phy: constify phy_ops structures 2017-01-16 16:41:51 +05:30
phy-mvebu-sata.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-omap-control.c New Features 2015-04-10 13:47:50 +02:00
phy-omap-usb2.c phy: omap-usb2: support suspend/resume 2016-09-10 16:48:39 +05:30
phy-pistachio-usb.c PHY: Add driver for Pistachio USB2.0 PHY 2015-06-21 21:53:38 +02:00
phy-pxa-28nm-hsic.c phy: add Marvell HSIC 28nm PHY 2015-06-09 12:20:30 -07:00
phy-pxa-28nm-usb2.c phy: Add Marvell USB 2.0 OTG 28nm PHY 2015-06-09 12:20:30 -07:00
phy-qcom-apq8064-sata.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-qcom-ipq806x-sata.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-qcom-ufs-i.h phy: qcom-ufs: Remove -always-on property 2017-01-27 13:06:52 +05:30
phy-qcom-ufs-qmp-14nm.c phy: qcom-ufs: Suppress extraneous logging 2017-01-27 13:06:53 +05:30
phy-qcom-ufs-qmp-14nm.h phy: qcom-ufs: add support for 14nm phy 2015-01-20 19:43:26 +01:00
phy-qcom-ufs-qmp-20nm.c phy: qcom-ufs: Suppress extraneous logging 2017-01-27 13:06:53 +05:30
phy-qcom-ufs-qmp-20nm.h phy: qcom-ufs: add support for 20nm phy 2015-01-20 19:43:25 +01:00
phy-qcom-ufs.c phy: qcom-ufs: Fix misplaced jump label 2017-01-27 13:59:13 +05:30
phy-qcom-usb-hs.c phy: Add support for Qualcomm's USB HS phy 2017-01-27 13:06:52 +05:30
phy-qcom-usb-hsic.c phy: Add support for Qualcomm's USB HSIC phy 2017-01-27 13:06:52 +05:30
phy-rcar-gen2.c phy: rcar-gen2: add fallback binding 2016-04-29 14:40:07 +05:30
phy-rcar-gen3-usb2.c drivers: phy: constify phy_ops structures 2017-01-16 16:41:51 +05:30
phy-rockchip-dp.c phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe() 2016-06-17 18:44:24 +05:30
phy-rockchip-emmc.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-rockchip-inno-usb2.c phy: rockchip-inno-usb2: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set 2017-01-16 16:41:50 +05:30
phy-rockchip-pcie.c phy-rockchip-pcie: remove deassert of phy_rst from exit callback 2016-11-05 13:45:02 +05:30
phy-rockchip-typec.c phy: rockchip-typec: add pm runtime support 2016-09-10 17:13:29 +05:30
phy-rockchip-usb.c phy: rockchip-usb: use rockchip_usb_phy_reset to reset phy during wakeup 2016-09-10 17:31:40 +05:30
phy-s5pv210-usb2.c phy: fix semicolon.cocci warnings 2016-11-18 18:19:15 +05:30
phy-samsung-usb2.c phy: exynos-usb2: add vbus regulator support 2015-10-06 20:21:47 +05:30
phy-samsung-usb2.h phy: exynos-usb2: add vbus regulator support 2015-10-06 20:21:47 +05:30
phy-spear1310-miphy.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-spear1340-miphy.c phy: Constify struct phy_ops variables 2015-08-03 18:35:09 +05:30
phy-stih407-usb.c phy: phy-stih407-usb: Use explicit reset_control_get_exclusive() API 2016-07-01 10:52:09 +01:00
phy-sun4i-usb.c phy: sun4i-usb: support automatically switch PHY0 route to MUSB/HCI 2017-04-10 16:42:58 +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: Fix ptr_ret.cocci warnings 2016-11-18 18:19:16 +05:30
phy-tusb1210.c This is the bulk of GPIO changes for the v4.3 kernel cycle: 2015-09-04 10:07:45 -07:00
phy-twl4030-usb.c phy: for 4.10 2016-11-28 08:44:54 +01:00
phy-xgene.c phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode" 2016-07-04 17:19:21 +05:30
ulpi_phy.h phy: ulpi_phy: Add const qualifier to ops 2015-08-03 18:35:09 +05:30