]> git.sur5r.net Git - u-boot/commit
sunxi: axp: Add driver-model support to the axp_gpio code
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Apr 2015 09:31:22 +0000 (11:31 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 14:51:53 +0000 (16:51 +0200)
commitf9b7a04bc8aae9b1ffe35c8cc90e1a59f618a9ab
tree9a076843fd7ae13a1b1564c8af8175e442c69aa1
parent2fcf033d36618da4c86de135a0d447fd3bbaf8ea
sunxi: axp: Add driver-model support to the axp_gpio code

Add driver-model support to the axp_gpio code, note that this needs a small
tweak to the driver-model version of sunxi_name_to_gpio to deal with the
vbus detect and enable pins which are not standard numbered gpios.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/include/asm/arch-sunxi/gpio.h
drivers/gpio/axp_gpio.c
drivers/gpio/sunxi_gpio.c