[PATCH 21/33 v2] clk: ux500: Add Device Tree support for the PRCC Kernel clock

Arnd Bergmann arnd at arndb.de
Wed Jun 12 10:46:30 EDT 2013


On Tuesday 11 June 2013, Lee Jones wrote:
> This patch enables clocks to be specified from Device Tree via phandles
> to the "prcc-kernel-clock" node.
> 
> Cc: Mike Turquette <mturquette at linaro.org>
> Cc: Ulf Hansson <ulf.hansson at linaro.org>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
> 

I don't understand the design of the common clock subsystem here, but is it really
necessary to hardcode all the clocks using clk_reg_prcc_kclk() here *and* register
a clkdev *and* store the pointer in an array, when you can get all that information
from the device tree?

Mike?

	Arnd



More information about the linux-arm-kernel mailing list