commit | a5ab8838c6b096ba6e4ba57fdb169cb8ecfea295 | [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 | 07ce60f3cd21de20576e69ba10beabc905643500 [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>