commit | 0dac4d51f50e9252dbc00075cf65eeba57017926 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jan 05 20:05:28 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 29 17:09:50 2015 -0700 |
tree | 2d31e477c73b0de6a3604092b02e4f5b8ef5a06b | |
parent | ae7123f876357a81fc4c393239a378f1058cad5e [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>