clk: add clock-indices support
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 13 Feb 2014 18:02:49 +0000 (18:02 +0000)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:16:21 +0000 (11:16 +0100)
commitd408b0e7fae54dc7636525cf5287cd5deb53f813
treea2da77da4b7be8426309b160a01fffd2faf7ac4e
parentad94d9a624fefdcdfc5f1aff6423993569cbecc2
clk: add clock-indices support

Add a property called clock-indices to allow clock-output-names
to be used where the index used to lookup a clock is not a 1:1
mapping to the array position in the clock-output-names

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
(cherry picked from commit 7a0fc1a3df82d29e00b4c9f88a6b37450d6711f1)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Documentation/devicetree/bindings/clock/clock-bindings.txt
drivers/clk/clk.c