MIPS: Alchemy: usb: use clk framework
authorManuel Lauss <manuel.lauss@gmail.com>
Wed, 23 Jul 2014 14:36:50 +0000 (16:36 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 12:09:21 +0000 (14:09 +0200)
commit3feae78416ae2c30f12c0a4bbe2e5dddf029510d
tree8c4c9394e1a58526815c05f17ff09d34c770eb7d
parent5a2fb71e7329dbcefbd08db8e44055c72ed52e90
MIPS: Alchemy: usb: use clk framework

Add use of the common clock framework to set and enable the 48MHz
clock source for the onchip OHCI and UDC blocks.

Tested on a DB1500.  (Au1200 and Au1300 use an external 48MHz crystal).

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/7467/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/usb.c