mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00
imx7: imx7_clock: usb: Initialize the USB core clocks
This patch initializes USB core clocks for the i.MX7. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
This commit is contained in:
parent
5ff1751d07
commit
ddfb773fb0
1 changed files with 11 additions and 0 deletions
|
@ -22,6 +22,12 @@ static void imx7_clock_wdog_init(void)
|
|||
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)
|
||||
{
|
||||
/*
|
||||
|
@ -40,5 +46,10 @@ void imx_clock_init(void)
|
|||
imx7_clock_uart_init();
|
||||
|
||||
/* Watchdog clocks */
|
||||
|
||||
imx7_clock_wdog_init();
|
||||
|
||||
/* USB clocks */
|
||||
imx7_clock_usb_init();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue