commit | f5b904796fa876bbfdf6eb9d2b311f9d01d80f5a | [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 | acbb7cd4d34caec36ff6d044a8f55325fa27459f [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>