USB: s3c-hsotg: Add support for external USB clock
authorMaurus Cuelenaere <mcuelenaere@gmail.com>
Mon, 19 Jul 2010 08:40:50 +0000 (09:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:43 +0000 (14:35 -0700)
commite50bf385bfadeaacfb8af07b9b78dcfdef339981
tree22814cd0fb63f6bf0e10966685b50af14d3db13e
parenta33e7136e9652374f7d54ded3cff8062d8e1e84f
USB: s3c-hsotg: Add support for external USB clock

The PLL that drives the USB clock supports 3 input clocks: 12, 24 and 48Mhz.
This patch adds support to the USB driver for setting the correct register bit
according to the given clock.

This depends on the following patch:
[PATCH] ARM: S3C64XX: Add USB external clock definition

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/s3c-hsotg.c