diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-08-22 15:36:27 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-09-08 03:30:19 +0200 |
commit | 494bfec99922d54054d2d0873f1017680cfc3f13 (patch) | |
tree | 45697d25099ec0a8790ab77451254d29b2b6ce21 /arch/arm/mach-s5pv210/common.c | |
parent | clk: ux500: Define smp_twd clock for u8500 (diff) | |
download | linux-494bfec99922d54054d2d0873f1017680cfc3f13.tar.xz linux-494bfec99922d54054d2d0873f1017680cfc3f13.zip |
clk: add of_clk_src_onecell_get() support
For those SoCs that have hundreds of clock outputs, their clock
DT bindings could reasonably define #clock-cells as 1 and require
the client device specify the index of the clock it consumes in the
cell of its "clocks" phandle.
Add a generic of_clk_src_onecell_get() function for this purpose.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'arch/arm/mach-s5pv210/common.c')
0 files changed, 0 insertions, 0 deletions