mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
7d5b17cca6
Update boards to use the USB power supply driver, as referenced in the device tree, instead of a virtual GPIO. This removes the need for some DM-incompatible special cases in the GPIO driver. The following five boards used AXP0-VBUS-DETECT in their config, but are missing the "usb0_vbus_power-supply" property in their device tree: - Ainol_AW1_defconfig / sun7i-a20-ainol-aw1 - Cubieboard4_defconfig / sun9i-a80-cubieboard4 - Merrii_A80_Optimus_defconfig / sun9i-a80-optimus - Yones_Toptech_BD1078_defconfig / sun7i-a20-yones-toptech-bd1078 - Yones_Toptech_BS1078_V2_defconfig / sun6i-a31s-yones-toptech-bs1078-v2 None of those five boards have the MUSB controller (USB OTG) enabled in their device trees, so this change should not break anything for them. Additionally, the following board intentionally omits the property because VBUS is always enabled: - Nintendo_NES_Classic_Edition_defconfig / sun8i-r16-nintendo-nes-classic The PHY driver already assumes VBUS is enabled when no detection method is available, so again this will not cause any problems. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
22 lines
700 B
Text
22 lines
700 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-inet-d978-rev2"
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN8I_A33=y
|
|
CONFIG_DRAM_CLK=456
|
|
CONFIG_DRAM_ZQ=15291
|
|
CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
|
|
CONFIG_USB0_ID_DET="PH8"
|
|
CONFIG_AXP_GPIO=y
|
|
CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:18,pclk_khz:65000,le:120,ri:180,up:22,lo:13,hs:20,vs:3,sync:3,vmode:0"
|
|
CONFIG_VIDEO_LCD_DCLK_PHASE=0
|
|
CONFIG_VIDEO_LCD_POWER="PH7"
|
|
CONFIG_VIDEO_LCD_BL_EN="PH6"
|
|
CONFIG_VIDEO_LCD_BL_PWM="PH0"
|
|
CONFIG_VIDEO_LCD_PANEL_LVDS=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_REGULATOR_AXP_USB_POWER=y
|
|
CONFIG_AXP_DLDO1_VOLT=3300
|
|
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
|
CONFIG_CONS_INDEX=5
|
|
CONFIG_USB_MUSB_HOST=y
|