Skip to content
Snippets Groups Projects
Commit 8f4b6123 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarZiping Chen <techping.chan@gmail.com>
parent ddae9fcd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment