OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work
PATCH v3 1/1 OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work
USB TLL clocks do not support 'explicit_en', only 'hw_auto' control (R. Sricharan). cm_l3init_hsusbtll_clkctrl has to be moved to the clk_modules_hw_auto_essential[] array in order to make the clock work.
This fix is needed (but not sufficient) for USB EHCI operation in U-Boot.
---
V3 updates commit comments only.
V2 fixes line wrap issue of the patch itself.
arch/arm/cpu/armv7/omap5/hw_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv7/omap5/hw_data.c +1 -1
@@ -403,6 +403,7 @@ void enable_basic_uboot_clocks(void) };u32 const clk_modules_hw_auto_essential[] = { + (*prcm)->cm_l3init_hsusbtll_clkctrl,0 };
@@ -411,7 +412,6 @@ void enable_basic_uboot_clocks(void) (*prcm)->cm_l4per_i2c2_clkctrl, (*prcm)->cm_l4per_i2c3_clkctrl, (*prcm)->cm_l4per_i2c4_clkctrl, - (*prcm)->cm_l3init_hsusbtll_clkctrl, (*prcm)->cm_l3init_hsusbhost_clkctrl, (*prcm)->cm_l3init_fsusb_clkctrl,0
Signature · 1 line
1.7.9.5
PATCH v3 1/1 OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work
Quoted 9 lines · Lubomir Popov
USB TLL clocks do not support '
explicit_en', only 'hw_auto' control (R. Sricharan).cm_l3init_hsusbtll_clkctrlhas to be moved to the clk_modules_hw_auto_essential[] array in order to make the clock work.This fix is needed (but not sufficient) for USB EHCI operation in U-Boot.
Signed-off-by Lubomir Popov <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130429/151ca447/attachment.pgp>