]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit8e33f91a0b84ae1964bef77cb92f5d41d97530c8
tree821f7e5517c204d9ee34ca34c3b7dea95baca260
parent874f224cc52d64c912087e68e3724be95ad80ee7
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