Skip to content
Commit 0dac4d51 authored by Simon Glass's avatar Simon Glass
Browse files

dm: gpio: Add a driver GPIO translation method



Only the GPIO driver knows about the full GPIO device tree binding used by
a device. Add a method to allow the driver to provide this information to the
uclass, including the GPIO offset within the device and flags such as the
polarity.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent ae7123f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment