]> git.baikalelectronics.ru Git - kernel.git/commit
clk: shmobile: clk-mstp: change to using clock-indices
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 15 Apr 2014 16:06:34 +0000 (17:06 +0100)
committerMike Turquette <mturquette@linaro.org>
Mon, 12 May 2014 23:53:37 +0000 (16:53 -0700)
commit83c120e643e2e8be13d9d9ddca8542116d691b16
tree821f7e5517c204d9ee34ca34c3b7dea95baca260
parent16fea365e8b4689943b98df075d562e05dc4fd82
clk: shmobile: clk-mstp: change to using clock-indices

With the addition of clock-indices, we need to change the renesas
clock implementation to use these instead of the local definition
of "renesas,clock-indices".

Since this will break booting with older device trees, we add a
simple auto-detection of which properties are present.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt
drivers/clk/shmobile/clk-mstp.c