OSDN Git Service

ARM: integrator: switch to fetch clocks from device tree
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 10 Jan 2014 14:57:27 +0000 (15:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Feb 2014 10:20:42 +0000 (11:20 +0100)
commit09c978bc7bdcfc3db91801454273a4330e1933bf
treef823a7d102900acb711ec831574a04f3ff36f45c
parent9cf31380598466a6ce1d95e68a3f89582eaddc13
ARM: integrator: switch to fetch clocks from device tree

This atomic commit changes the Integrator clock implementation
and the machines to register clocks from the device tree and
use these instead of the previous hard-coded clocks.

In the clock implementation all hard-coded clocks and the
special initialization function call goes away, and is
replaced by two compatible strings for the two clocks
available on the core module.

Cc: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/clock/arm-integrator.txt [new file with mode: 0644]
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_cp.c
drivers/clk/versatile/clk-integrator.c
include/linux/platform_data/clk-integrator.h