Skip to content
Snippets Groups Projects
Commit 95a260a9 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

dm: Enable gpio command to support driver model


Now that named GPIO banks are supported, along with a way of obtaining
the status of a GPIO (input or output), we can provide an enhanced
GPIO command for driver model. Where the driver provides its own operation
for obtaining the GPIO state, this is used, otherwise a generic version
is sufficient.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent e2d8a714
No related branches found
No related tags found
Loading
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