summaryrefslogtreecommitdiff
path: root/drivers/gpio/sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-05 20:05:28 -0700
committerSimon Glass <sjg@chromium.org>2015-01-29 17:09:50 -0700
commit0dac4d51f50e9252dbc00075cf65eeba57017926 (patch)
tree2d31e477c73b0de6a3604092b02e4f5b8ef5a06b /drivers/gpio/sandbox.c
parentae7123f876357a81fc4c393239a378f1058cad5e (diff)
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/sandbox.c')
0 files changed, 0 insertions, 0 deletions