Skip to content
Snippets Groups Projects
Commit a5ab8838 authored by Simon Glass's avatar Simon Glass Committed by Hans de Goede
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 07ce60f3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment