commit | d3322bb98a9881d9dc5f645e980dcfeaa167fec6 | [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 | ce555294f106bb6c4d096e43ad89c6c34420f578 [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>