commit | 9754d93a669d36805db3042434c0a8656236353f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:33:43 2015 -0600 |
committer | Hans de Goede <hdegoede@redhat.com> | Mon May 04 16:51:52 2015 +0200 |
tree | dacf2e1292b85ae7bfdd345f54486a34fae0b2e8 | |
parent | e2d3054416b9301fea998ae01e6b3af07108ee1b [diff] |
sunxi: gpio: Add temporary implementation of name_to_gpio() Until sunxi moves to device tree (e.g. for USB) we need to convert named GPIOs to numbers. Add a function to do this. This fixes the USB / EHCI support not working on the LinkSprite pcDuino3 (which uses devicemodel). Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>