mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
2fcf033d36
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>
22 lines
645 B
Text
22 lines
645 B
Text
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
|
|
CONFIG_FDTFILE="sun5i-a13-utoo-p66.dtb"
|
|
CONFIG_USB_MUSB_SUNXI=y
|
|
CONFIG_USB0_VBUS_PIN="PB04"
|
|
CONFIG_USB0_VBUS_DET="PG01"
|
|
CONFIG_VIDEO_LCD_MODE="x:480,y:800,depth:18,pclk_khz:25000,le:2,ri:93,up:2,lo:93,hs:1,vs:1,sync:3,vmode:0"
|
|
CONFIG_VIDEO_LCD_DCLK_PHASE=0
|
|
CONFIG_VIDEO_LCD_POWER="PG4"
|
|
CONFIG_VIDEO_LCD_RESET="PG11"
|
|
CONFIG_VIDEO_LCD_BL_EN="AXP0-1"
|
|
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
|
CONFIG_VIDEO_LCD_TL059WV5C0=y
|
|
CONFIG_AXP_GPIO=y
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
CONFIG_MMC0_CD_PIN="PG0"
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN5I=y
|
|
CONFIG_DRAM_CLK=432
|
|
CONFIG_DRAM_ZQ=123
|
|
CONFIG_DRAM_EMR1=0
|