MIPS: BCM63XX: add and use a clock for PCIe
authorJonas Gorski <jonas.gorski@gmail.com>
Sun, 28 Oct 2012 11:49:53 +0000 (11:49 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:17 +0000 (11:37 +0100)
commitf2d1035e956052d29c83fe8f8da0d056af6d221a
tree1cb6769113f52ebf6e4457b6ec0adc38e7886e0b
parentb8ebbaff03798180c4d9661105670e03276afe83
MIPS: BCM63XX: add and use a clock for PCIe

Add a PCIe clock and use that instead of directly touching the clock
control register. While at it, fail if there is no such clock.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4452
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/bcm63xx/clk.c
arch/mips/pci/pci-bcm63xx.c