commit | fe1ef503381c4c03c059de3324271ce21cae3078 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Oct 22 21:37:01 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Oct 23 19:29:07 2014 -0600 |
tree | 47449b3c0a6891985ad772992fcfb9e6cf499746 | |
parent | 5b3ee386fde82a1ba42ff09b95247842c9a1585e [diff] |
dm: gpio: Support numbered GPIOs At present banks must be named and it is not possible to refer to GPIOs by number in driver model. Some boards use numbering - e.g. OMAP. It is fairly easy to support by detecting the absense of a bank name (which starts with a letter). Add support for numbered GPIOs in addition to the existing bank support. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>