commit | 95a260a98c010321cdc5f2acd1f4272b9c0a19dc | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Feb 26 15:59:26 2014 -0700 |
committer | Tom Rini <trini@ti.com> | Tue Mar 04 12:15:30 2014 -0500 |
tree | 9bbcd4bcd2749592e9219e27d053eb9373b5952d | |
parent | e2d8a714a7e6047124581b93d1cfe9c7702cedd4 [diff] |
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: Simon Glass <sjg@chromium.org>