aboutsummaryrefslogtreecommitdiff
path: root/drivers/led/led_gpio.c
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2019-08-01 19:12:56 +0530
committerTom Rini <trini@konsulko.com>2019-08-12 13:33:39 -0400
commitf5b904796fa876bbfdf6eb9d2b311f9d01d80f5a (patch)
tree696d7835d6784adde746d196fcd455ca59a59401 /drivers/led/led_gpio.c
parentacbb7cd4d34caec36ff6d044a8f55325fa27459f (diff)
downloadu-boot-f5b904796fa876bbfdf6eb9d2b311f9d01d80f5a.zip
u-boot-f5b904796fa876bbfdf6eb9d2b311f9d01d80f5a.tar.gz
u-boot-f5b904796fa876bbfdf6eb9d2b311f9d01d80f5a.tar.bz2
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>
Diffstat (limited to 'drivers/led/led_gpio.c')
0 files changed, 0 insertions, 0 deletions