sunxi: usb: Move setup of host controller clocks to the host controller drivers
authorHans de Goede <hdegoede@redhat.com>
Mon, 27 Apr 2015 09:44:22 +0000 (11:44 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 14:51:54 +0000 (16:51 +0200)
commit375de01702f4b0b1a27715ca1a18110d6dbfdebe
tree76d808f5d177d7debdc68ccaa1ac03d0f19e51ee
parent421b32b8808a4d3dc59e84c69fc23b5d62302272
sunxi: usb: Move setup of host controller clocks to the host controller drivers

The sunxi "usbc" code is mostly about phy setup, but currently also sets up
the host controller clocks, which is something which really belongs in the
host controller drivers, so move it there.

This is a preparation patch for moving the sunxi ehci code to the driver
model and for adding ohci support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/usbc.c
drivers/usb/host/ehci-sunxi.c
drivers/usb/musb-new/sunxi.c