]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:20 +0000 (22:35 +0200)
commitfeade3b79532c430ff8795f4dce1a54d104d6a8c
tree20eb997133497716a98d2bb4a7425f11eac8977e
parent02d6202e8e3012ffe45765c287cce628d284ee1c
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