commit | f677c6f59a04b19332459e661541afaa7f1c0f84 | [log] [tgz] |
---|---|---|
author | Sekhar Nori <nsekhar@ti.com> | Thu Aug 01 19:12:56 2019 +0530 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 12 13:33:39 2019 -0400 |
tree | 696d7835d6784adde746d196fcd455ca59a59401 | |
parent | cf3119d74e137bc8da349b0e1ea50823f488c64d [diff] |
dm: core: add support for getting register address and size Current dev_read_*() API lacks support to get address and size of a "reg" property by name or index. Add support for the same. Livetree support has been added but not tested on real hardware. The existing unit tests testing reading address from device-tree have been updated to test address as well as size. Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>