linux/drivers/phy/qualcomm
Adrien Thierry cf52320a39 phy: qcom-snps-femto-v2: properly enable ref clock
[ Upstream commit 8a0eb8f9b9 ]

The driver is not enabling the ref clock, which thus gets disabled by
the clk_disable_unused() initcall. This leads to the dwc3 controller
failing to initialize if probed after clk_disable_unused() is called,
for instance when the driver is built as a module.

To fix this, switch to the clk_bulk API to handle both cfg_ahb and ref
clocks at the proper places.

Note that the cfg_ahb clock is currently not used by any device tree
instantiation of the PHY. Work needs to be done separately to fix this.

Link: https://lore.kernel.org/linux-arm-msm/ZEqvy+khHeTkC2hf@fedora/
Fixes: 51e8114f80 ("phy: qcom-snps: Add SNPS USB PHY driver for QCOM based SOCs")
Signed-off-by: Adrien Thierry <athierry@redhat.com>
Link: https://lore.kernel.org/r/20230629144542.14906-3-athierry@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-03 10:23:57 +02:00
..
Kconfig
Makefile
phy-ath79-usb.c
phy-qcom-apq8064-sata.c
phy-qcom-edp.c
phy-qcom-ipq806x-sata.c
phy-qcom-ipq806x-usb.c
phy-qcom-ipq4019-usb.c
phy-qcom-pcie2.c
phy-qcom-qmp-combo.c phy: qcom-qmp-combo: fix init-count imbalance 2023-06-09 10:34:23 +02:00
phy-qcom-qmp-pcie-msm8996.c phy: qcom-qmp-pcie-msm8996: fix init-count imbalance 2023-06-09 10:34:23 +02:00
phy-qcom-qmp-pcie-qhp.h
phy-qcom-qmp-pcie.c phy: qcom-qmp-pcie: sc8180x PCIe PHY has 2 lanes 2023-05-11 23:02:59 +09:00
phy-qcom-qmp-pcs-misc-v3.h
phy-qcom-qmp-pcs-pcie-v4_20.h
phy-qcom-qmp-pcs-pcie-v4.h
phy-qcom-qmp-pcs-pcie-v5_20.h phy: qcom-qmp-pcie: Fix high latency with 4x2 PHY when ASPM is enabled 2022-12-31 13:32:48 +01:00
phy-qcom-qmp-pcs-pcie-v5.h
phy-qcom-qmp-pcs-ufs-v3.h
phy-qcom-qmp-pcs-ufs-v4.h
phy-qcom-qmp-pcs-ufs-v5.h
phy-qcom-qmp-pcs-usb-v4.h
phy-qcom-qmp-pcs-usb-v5.h
phy-qcom-qmp-pcs-v2.h
phy-qcom-qmp-pcs-v3.h
phy-qcom-qmp-pcs-v4_20.h
phy-qcom-qmp-pcs-v4.h
phy-qcom-qmp-pcs-v5_20.h phy: qcom-qmp-pcie: Fix sm8450_qmp_gen4x2_pcie_pcs_tbl[] register names 2022-12-31 13:32:48 +01:00
phy-qcom-qmp-pcs-v5.h
phy-qcom-qmp-qserdes-com-v3.h
phy-qcom-qmp-qserdes-com-v4.h
phy-qcom-qmp-qserdes-com-v5.h
phy-qcom-qmp-qserdes-com.h
phy-qcom-qmp-qserdes-pll.h
phy-qcom-qmp-qserdes-txrx-v3.h
phy-qcom-qmp-qserdes-txrx-v4_20.h
phy-qcom-qmp-qserdes-txrx-v4.h
phy-qcom-qmp-qserdes-txrx-v5_5nm.h
phy-qcom-qmp-qserdes-txrx-v5_20.h
phy-qcom-qmp-qserdes-txrx-v5.h
phy-qcom-qmp-qserdes-txrx.h
phy-qcom-qmp-ufs.c
phy-qcom-qmp-usb.c phy: qcom-qmp-usb: fix sc8280xp PCS_USB offset 2022-12-31 13:32:48 +01:00
phy-qcom-qmp.h phy: qcom-qmp-pcie: Fix sm8450_qmp_gen4x2_pcie_pcs_tbl[] register names 2022-12-31 13:32:48 +01:00
phy-qcom-qusb2.c
phy-qcom-snps-femto-v2.c phy: qcom-snps-femto-v2: properly enable ref clock 2023-08-03 10:23:57 +02:00
phy-qcom-usb-hs-28nm.c
phy-qcom-usb-hs.c
phy-qcom-usb-hsic.c
phy-qcom-usb-ss.c