commit | 4dada2cf18e5dae147e79369a7afdaa267a3b131 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Sat Aug 26 01:12:30 2017 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Aug 29 23:56:17 2017 +0900 |
tree | 9b1ac4d2f29914b2b6202f6b476b801d106fa2d1 | |
parent | fd0dd1cae8c9516122b7db767a066f8dc9031b52 [diff] |
ofnode: add {ofnode, dev}_read_resource_byname() Linux supports platform_get_resource_byname() to look up a resource by name. We want a similar helper. It is useful when a device node has named register regions. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>