MIPS: Octeon: Use I/O clock rate for calculations.
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 7 Oct 2010 23:03:50 +0000 (16:03 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:41 +0000 (19:08 +0100)
commit4b8bca7028fbed182c78b4f86769e365f2075d8e
tree7dc9523d3ce671e708a2d3d199e768357cb2d07b
parente195aa3039c5c4eeb60c415a7a0f3006d5cdcd3b
MIPS: Octeon: Use I/O clock rate for calculations.

The I2C and UARTS are clocked by the I/O clock, use its rate for these
devices.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1670/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon-platform.c
arch/mips/cavium-octeon/serial.c