clk: at91: add PMC usb clock
This patch adds new at91 usb clock implementation using common clk framework. This clock is used to clock usb ports (ohci, ehci and udc). Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> Acked-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:

committed by
Nicolas Ferre

parent
f090fb37de
commit
c84a61d872
@@ -299,6 +299,21 @@ static const struct of_device_id pmc_clk_ids[] __initdata = {
|
||||
.compatible = "atmel,at91sam9x5-clk-utmi",
|
||||
.data = of_at91sam9x5_clk_utmi_setup,
|
||||
},
|
||||
#endif
|
||||
/* USB clock */
|
||||
#if defined(CONFIG_HAVE_AT91_USB_CLK)
|
||||
{
|
||||
.compatible = "atmel,at91rm9200-clk-usb",
|
||||
.data = of_at91rm9200_clk_usb_setup,
|
||||
},
|
||||
{
|
||||
.compatible = "atmel,at91sam9x5-clk-usb",
|
||||
.data = of_at91sam9x5_clk_usb_setup,
|
||||
},
|
||||
{
|
||||
.compatible = "atmel,at91sam9n12-clk-usb",
|
||||
.data = of_at91sam9n12_clk_usb_setup,
|
||||
},
|
||||
#endif
|
||||
{ /*sentinel*/ }
|
||||
};
|
||||
|
Reference in New Issue
Block a user