diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-20 19:43:02 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-21 19:47:29 -0700 |
commit | e70cc438311c753edc1f19214ffc090061e60880 (patch) | |
tree | f7ab2b660954da09ef3cbecd24fb3fa45fb8fe58 /common/env_fat.c | |
parent | b21e20b255a02393727c93b1927a381ce3008fa4 (diff) | |
download | u-boot-imx-e70cc438311c753edc1f19214ffc090061e60880.zip u-boot-imx-e70cc438311c753edc1f19214ffc090061e60880.tar.gz u-boot-imx-e70cc438311c753edc1f19214ffc090061e60880.tar.bz2 |
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>
Diffstat (limited to 'common/env_fat.c')
0 files changed, 0 insertions, 0 deletions