]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:21 +0000 (22:35 +0200)
commite0cf5d1ff11b8a9e964cef733ff67d443ce7e7eb
tree11127303f013ab2fa3592703ffd39fcd66808818
parented0a1df6c3c34a5eabfbe92473e7cb5f7618ba90
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