Commit ddfb773f authored by Bryan O'Donoghue's avatar Bryan O'Donoghue
Browse files

imx7: imx7_clock: usb: Initialize the USB core clocks



This patch initializes USB core clocks for the i.MX7.
Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
parent 5ff1751d
...@@ -22,6 +22,12 @@ static void imx7_clock_wdog_init(void) ...@@ -22,6 +22,12 @@ static void imx7_clock_wdog_init(void)
imx_clock_disable_wdog(i); imx_clock_disable_wdog(i);
} }
static void imx7_clock_usb_init(void)
{
/* Disable the clock root */
imx_clock_target_clr(CCM_TRT_ID_USB_HSIC_CLK_ROOT, 0xFFFFFFFF);
}
void imx_clock_init(void) void imx_clock_init(void)
{ {
/* /*
...@@ -40,5 +46,10 @@ void imx_clock_init(void) ...@@ -40,5 +46,10 @@ void imx_clock_init(void)
imx7_clock_uart_init(); imx7_clock_uart_init();
/* Watchdog clocks */ /* Watchdog clocks */
imx7_clock_wdog_init(); imx7_clock_wdog_init();
/* USB clocks */
imx7_clock_usb_init();
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment