From: Boris BREZILLON Date: Fri, 18 Oct 2013 19:26:51 +0000 (+0200) Subject: USB: ehci-atmel: add usb_clk for transition to CCF X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d768fcfc01098ae0e676c78746c9f4fd8228cd7;p=pandora-kernel.git 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-diff-tree failed