On 27 March 2017 at 08:38, <techping.c...@gmail.com> wrote: > From: Ziping Chen <techping.c...@gmail.com> > > The status of a GPIO-connected LED can be read back by reading the GPO > value. > > Add the support for get_status function in led_gpio driver. > > Signed-off-by: Ziping Chen <techping.c...@gmail.com> > --- > drivers/led/led_gpio.c | 11 +++++++++++ > 1 file changed, 11 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org> (although I have a version of this patch which expands status to return the blink state also) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot