diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2013-10-18 23:26:51 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-30 20:41:49 +0400 |
commit | 0d768fcfc01098ae0e676c78746c9f4fd8228cd7 (patch) | |
tree | dc952daa17af977f0436513459ff31f4e548bc51 /drivers/zorro | |
parent | 9983d6dc4e8a8a1ce599cb426c0ec9384219b476 (diff) | |
download | linux-0d768fcfc01098ae0e676c78746c9f4fd8228cd7.tar.xz |
USB: ehci-atmel: add usb_clk for transition to CCF
The AT91 PMC (Power Management Controller) provides a USB clock used by
the different USB controllers (ehci, ohci and udc).
The atmel-ehci driver must configure the usb clock rate to 48Mhz in order
to get a fully functionnal USB host controller.
This configuration was formely done in mach-at91/clock.c, but will be
bypassed when moving to common clk framework.
This patch adds support for usb clock retrieval and configuration only if
CCF is enabled (CONFIG_COMMON_CLK).
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions