commit | 0342bd2d3b749ed930b3488e6f1247714a3ad73e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jan 20 19:43:02 2016 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 21 19:47:29 2016 -0700 |
tree | f7ab2b660954da09ef3cbecd24fb3fa45fb8fe58 | |
parent | 31adfc2da0e319dab6a8538ccfd08834c72e3299 [diff] |
dm: clk: Add support for decoding clocks from the device tree Add a method which can locate a clock for a device, given its index. This uses the normal device tree bindings to return the clock device and the first argument which is normally used as a peripheral ID in U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>