USB: host: Remove hard-coded octeon platform information for ehci/ohci
authorAndreas Herrmann <andreas.herrmann@caviumnetworks.com>
Tue, 6 Jan 2015 12:48:56 +0000 (13:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 20:29:57 +0000 (12:29 -0800)
commita95cfa6b86a19a822877e75d5a73b2a95d249e70
tree8cf3d3f205e173af62fb9754f5632b9693bd940a
parent314b41b16a71ee824f55e2791fcb92997672da37
USB: host: Remove hard-coded octeon platform information for ehci/ohci

Instead rely on device tree information for ehci and ohci.

This was suggested with
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=1401358203-60225-4-git-send-email-alex.smith%40imgtec.com

  "The device tree will *always* have correct ehci/ohci clock
  configuration, so use it.  This allows us to remove a big chunk of
  platform configuration code from octeon-platform.c."

More or less I rebased that patch on Alan's work to remove ehci-octeon
and ohci-octeon drivers.

Cc: David Daney <david.daney@cavium.com>
Cc: Alex Smith <alex.smith@imgtec.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/cavium-octeon/octeon-platform.c
drivers/usb/host/ehci-platform.c
drivers/usb/host/ohci-platform.c