commit | e70cc438311c753edc1f19214ffc090061e60880 | [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 | b21e20b255a02393727c93b1927a381ce3008fa4 [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>