commit | 43b2e1ac0a1415fa40907141d1dd36c8ca32cdd9 | [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 | dc1baa2665f250db71f065b6cfef3dd9d3ddaf5a [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>