diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-18 11:33:43 -0600 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-05-04 16:51:52 +0200 |
commit | a5ab8838c6b096ba6e4ba57fdb169cb8ecfea295 (patch) | |
tree | dacf2e1292b85ae7bfdd345f54486a34fae0b2e8 /drivers/gpio/mvgpio.c | |
parent | 07ce60f3cd21de20576e69ba10beabc905643500 (diff) | |
download | u-boot-imx-a5ab8838c6b096ba6e4ba57fdb169cb8ecfea295.zip u-boot-imx-a5ab8838c6b096ba6e4ba57fdb169cb8ecfea295.tar.gz u-boot-imx-a5ab8838c6b096ba6e4ba57fdb169cb8ecfea295.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpio/mvgpio.c')
0 files changed, 0 insertions, 0 deletions