diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-04-25 17:25:14 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-05-04 16:51:53 +0200 |
commit | 2fcf033d36618da4c86de135a0d447fd3bbaf8ea (patch) | |
tree | 0439c47cc2e63fa98e4c347f233c9dafcaa12c7b /configs/TZX-Q8-713B7_defconfig | |
parent | a536077def0295966452f290f7ce8f391e079966 (diff) | |
download | u-boot-imx-2fcf033d36618da4c86de135a0d447fd3bbaf8ea.zip u-boot-imx-2fcf033d36618da4c86de135a0d447fd3bbaf8ea.tar.gz u-boot-imx-2fcf033d36618da4c86de135a0d447fd3bbaf8ea.tar.bz2 |
sunxi: axp: Move axp gpio code to a separate axpi-gpio driver
Move the axp-gpio code out of the drivers/power/axp*.c code, and into
a new separate axpi-gpio driver.
This change drops supports for the gpio3 pin on the axp209, as that requires
special handling, and no boards are using it.
Besides cleaning things up by moving the code to a separate driver, as
a bonus this change also adds support for the (non vusb) gpio pins on the
axp221 and the gpio pins on the axp152.
The new axp-gpio driver gets its own Kconfig option, and is only enabled
on boards which need it. Besides that it only gets enabled in the regular
u-boot build and not for the SPL as we never need it in the SPL.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'configs/TZX-Q8-713B7_defconfig')
-rw-r--r-- | configs/TZX-Q8-713B7_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/TZX-Q8-713B7_defconfig b/configs/TZX-Q8-713B7_defconfig index 0953554..f229526 100644 --- a/configs/TZX-Q8-713B7_defconfig +++ b/configs/TZX-Q8-713B7_defconfig @@ -9,6 +9,7 @@ CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:87,ri:40,up:31,lo: CONFIG_VIDEO_LCD_POWER="AXP0-0" CONFIG_VIDEO_LCD_BL_EN="AXP0-1" CONFIG_VIDEO_LCD_BL_PWM="PB2" +CONFIG_AXP_GPIO=y CONFIG_ARM=y CONFIG_ARCH_SUNXI=y CONFIG_MACH_SUN5I=y |