summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/clock-sh7367.c
diff options
context:
space:
mode:
authorMagnus Damm2010-02-10 12:13:31 +0100
committerPaul Mundt2010-02-12 06:10:48 +0100
commit3a7b802d1a8c279876ec74094d71f3c6c45d8030 (patch)
tree22a433940280039b35d1f5222f53d190d49bc2db /arch/arm/mach-shmobile/clock-sh7367.c
parentARM: mach-shmobile: sh7367 and G3EVM pinmux support (diff)
downloadkernel-qcow2-linux-3a7b802d1a8c279876ec74094d71f3c6c45d8030.tar.gz
kernel-qcow2-linux-3a7b802d1a8c279876ec74094d71f3c6c45d8030.tar.xz
kernel-qcow2-linux-3a7b802d1a8c279876ec74094d71f3c6c45d8030.zip
ARM: mach-shmobile: G3EVM USBHS support
Add G3EVM platform data and a magic setup sequence to initialize the r8a66597 block aka USBHS in sh7367. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/clock-sh7367.c')
-rw-r--r--arch/arm/mach-shmobile/clock-sh7367.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/clock-sh7367.c b/arch/arm/mach-shmobile/clock-sh7367.c
index 3b2e3f2fc7ea..58bd54e1113a 100644
--- a/arch/arm/mach-shmobile/clock-sh7367.c
+++ b/arch/arm/mach-shmobile/clock-sh7367.c
@@ -70,11 +70,18 @@ static struct clk r_clk = {
.rate = 32768,
};
+/* a static usb0 for now - enough to get r8a66597 working */
+static struct clk usb0_clk = {
+ .name = "usb0",
+};
+
static struct clk_lookup lookups[] = {
{
.clk = &peripheral_clk,
}, {
.clk = &r_clk,
+ }, {
+ .clk = &usb0_clk,
}
};