linux/drivers/phy
JC Kuo 2352fdb0d3 phy: tegra: xusb: Rearrange UPHY init on Tegra210
This commit is a preparation for enabling XUSB SC7 support.
It rearranges Tegra210 XUSB PADCTL UPHY initialization sequence,
for the following reasons:

1. PLLE hardware power sequencer has to be enabled only after both
   PEX UPHY PLL and SATA UPHY PLL are initialized.
   tegra210_uphy_init() -> tegra210_pex_uphy_enable()
                        -> tegra210_sata_uphy_enable()
                        -> tegra210_plle_hw_sequence_start()
                        -> tegra210_aux_mux_lp0_clamp_disable()

2. At cold boot and SC7 exit, the following bits must be cleared after
   PEX/SATA lanes are out of IDDQ (IDDQ_DISABLE=1).
   a. XUSB_PADCTL_ELPG_PROGRAM1_AUX_MUX_LP0_CLAMP_EN,
   b. XUSB_PADCTL_ELPG_PROGRAM1_AUX_MUX_LP0_CLAMP_EN_EARLY
   c. XUSB_PADCTL_ELPG_PROGRAM1_AUX_MUX_LP0_VCORE_DOWN

   tegra210_pex_uphy_enable() and tegra210_sata_uphy_enable() are in
   charge of bringing lanes out of IDDQ, and then AUX_MUX_LP0_* bits
   will be cleared by tegra210_aux_mux_lp0_clamp_disable().

3. Once UPHY PLL hardware power sequencer is enabled, do not assert
   reset to PEX/SATA PLLs, otherwise UPHY PLL operation will be broken.

Signed-off-by: JC Kuo <jckuo@nvidia.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-06-03 14:49:33 +02:00
..
allwinner phy: sun4i-usb: remove enable_pmu_unk1 from sun50i_h6_cfg 2020-11-19 11:49:18 +05:30
amlogic phy: amlogic: replace devm_reset_control_array_get() 2020-11-30 16:32:37 +05:30
broadcom phy: phy-brcm-usb: select SOC_BRCMSTB on brcmstb only 2021-03-15 15:58:24 +05:30
cadence phy: cadence-torrent: Add delay for PIPE clock to be stable 2021-03-31 16:45:47 +05:30
freescale phy: freescale: convert to devm_platform_ioremap_resource 2020-11-16 12:47:46 +05:30
hisilicon phy: hisilicon: Use the correct HiSilicon copyright 2021-04-06 10:35:51 +05:30
ingenic phy: ingenic: Fix a typo in ingenic_usb_phy_probe() 2021-03-30 23:35:17 +05:30
intel phy: intel: Fix a typo 2021-03-25 12:54:24 +05:30
lantiq phy: lantiq: rcu-usb2: wait after clock enable 2021-01-13 19:29:03 +05:30
marvell phy: marvell: phy-mvebu-cp11i-utmi needs USB_COMMON 2021-04-06 10:34:20 +05:30
mediatek phy: second round of phy fixes for v5.11 2021-02-10 10:39:23 +01:00
microchip phy: fix resource_size.cocci warnings 2021-04-06 10:39:20 +05:30
motorola phy-for-5.12 2021-02-09 09:32:35 +01:00
mscc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qualcomm phy: qcom-qmp: add support for sm8250-usb3-dp phy 2021-03-31 21:29:44 +05:30
ralink phy: ralink: phy-mt7621-pci: fix return value check in mt7621_pci_phy_probe() 2021-03-30 23:35:17 +05:30
renesas phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure 2020-12-05 13:36:12 +05:30
rockchip Networking changes for 5.13. 2021-04-29 11:57:23 -07:00
samsung phy: samsung: Merge Kconfig for Exynos5420 and Exynos5250 2020-12-02 12:35:07 +05:30
socionext phy: socionext: Add UniPhier AHCI PHY driver support 2020-08-31 17:07:53 +05:30
st phy: stm32: register usbphyc as clock provider of ck_usbo_48m clock 2021-03-15 15:25:29 +05:30
tegra phy: tegra: xusb: Rearrange UPHY init on Tegra210 2021-06-03 14:49:33 +02:00
ti phy: Revert "phy: ti: j721e-wiz: add missing of_node_put" 2021-04-16 07:27:37 +02:00
xilinx phy: zynqmp: Handle the clock enable/disable properly 2021-03-31 18:25:54 +05:30
Kconfig phy: Add Sparx5 ethernet serdes PHY driver 2021-03-17 12:13:19 +05:30
Makefile phy: Add Sparx5 ethernet serdes PHY driver 2021-03-17 12:13:19 +05:30
phy-core-mipi-dphy.c time64.h: Consolidated PSEC_PER_SEC definition 2021-04-06 16:32:17 -07:00
phy-core.c phy: Add media type and speed serdes configuration interfaces 2021-03-17 12:13:19 +05:30
phy-lgm-usb.c phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: phy-xgene: convert to devm_platform_ioremap_resource 2020-11-16 12:47:47 +05:30