commit | 8f4b612333ee0381eedf767c1c005a830886df27 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Apr 10 11:34:55 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Apr 14 19:38:57 2017 -0600 |
tree | c687de5e960d0bb4c1de07f1b322119e46859349 | |
parent | ddae9fcddc48d1e624c941148d0df5a4fc7d7d5c [diff] |
dm: led: Add support for getting the state of an LED It is useful to be able to read the LED as well as write it. Add this to the uclass and update the GPIO driver. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ziping Chen <techping.chan@gmail.com>