[PATCH v2 1/2] phy: qcom-snps-femto-v2: properly enable ref clock
Andrew Halaney
ahalaney at redhat.com
Wed Jun 21 12:48:33 PDT 2023
On Mon, Jun 05, 2023 at 02:44:53PM -0400, Adrien Thierry wrote:
> 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: 51e8114f80d0 ("phy: qcom-snps: Add SNPS USB PHY driver for QCOM based SOCs")
> Signed-off-by: Adrien Thierry <athierry at redhat.com>
Reviewed-by: Andrew Halaney <ahalaney at redhat.com>
More information about the linux-phy
mailing list