From 0d768fcfc01098ae0e676c78746c9f4fd8228cd7 Mon Sep 17 00:00:00 2001 From: Boris BREZILLON Date: Fri, 18 Oct 2013 21:26:51 +0200 Subject: [PATCH] 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 Cc: Nicolas Ferre Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed