Clock changes for Tegra30 USB Host support
Subsystems (3)
PATCH RESEND 1/1 Clock changes for Tegra30 USB Host support
Hi all,
This patch is required for USB support on Tegra30 due to a likely hardware bug in the PLL_U oscillator which clocks the USB complex.
The other USB patches for Tegra30 and Tegra114 are already on their way to 3.12, this is the only one left for Tegra30.
Peter, Prashant, any comments on this patch?
Tuomas Tynkkynen (1):
clk: tegra30: Don't wait for PLL_U lock bit
drivers/clk/tegra/clk-tegra30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.8.1.5
PATCH RESEND 1/1 clk: tegra30: Don't wait for PLL_U lock bit
The lock bit on PLL_U does not seem to be working correctly and sometimes never gets set when waiting for the PLL to come up. Remove the TEGRA_PLL_USE_LOCK flag to use a constant delay.
--- drivers/clk/tegra/clk-tegra30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/tegra/clk-tegra30.c +1 -1
@@ -971,7 +971,7 @@ static void __init tegra30_pll_init(void)/* PLLU */ clk =tegra_clk_register_pll ("pll_u" ,"pll_ref" , clk_base, pmc_base,0 ,0 , &pll_u_params,TEGRA_PLLU |TEGRA_PLL_HAS_CPCON | -TEGRA_PLL_SET_LFCON |TEGRA_PLL_USE_LOCK , +TEGRA_PLL_SET_LFCON , pll_u_freq_table,NULL );clk_register_clkdev (clk,"pll_u" ,NULL );
Signature · 6 lines
1.8.1.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH RESEND] clk: tegra30: Don't wait for PLL_U lock bit
Quoted 3 lines · Tuomas Tynkkynen
The lock bit on
PLL_Udoes not seem to be working correctly and sometimes never gets set when waiting for the PLL to come up. Remove theTEGRA_PLL_USE_LOCKflag to use a constant delay.
(Mike I assume you'll take this through the clock tree)
I do suspect there's some underlying issue that needs fixing so that PLL_U does report lock as expected. However, this fix does enable USB to work correctly on Tegra30 right now (so I assume it is locking, but just isn't reporting it), and should have zero negative fallout since nothing else uses PLL_U. I'm following up internally to work out why the PLL isn't reporting that it's locking as expected.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html