[U-Boot] [PATCH 0/2] arm: meson: Fix khadas-vim2 USB

This patchset : - fixes the MESON_GXL_USB_PHY dependency to also allow MESON_GXM - fixes the khadas-vim2 defconfig
Tom, I know it's _very_ late in the cycle, is it still OK for final 2019.04 release ?
Neil Armstrong (2): phy: Also allow MESON_GXM for MESON_GXL_USB_PHY configs: khadas_vim2: Fix defconfig
configs/khadas-vim2_defconfig | 3 +++ drivers/phy/Kconfig | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)

The MESON_GXL_USB_PHY is also used on the Amlogic Meson GXM SoCs.
Fixes: 2960e27e38 ("phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers") Signed-off-by: Neil Armstrong narmstrong@baylibre.com --- drivers/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index 825ee7c3be..32bbf41dd1 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -141,7 +141,7 @@ config PHY_STM32_USBPHYC
config MESON_GXL_USB_PHY bool "Amlogic Meson GXL USB PHYs" - depends on PHY && ARCH_MESON && MESON_GXL + depends on PHY && ARCH_MESON && (MESON_GXL || MESON_GXM) imply REGMAP help This is the generic phy driver for the Amlogic Meson GXL

On Wed, Apr 03, 2019 at 01:46:36PM +0200, Neil Armstrong wrote:
The MESON_GXL_USB_PHY is also used on the Amlogic Meson GXM SoCs.
Fixes: 2960e27e38 ("phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers") Signed-off-by: Neil Armstrong narmstrong@baylibre.com
Applied to u-boot/master, thanks!

The Khadas VIM2 defconfig was missing the USB PHY config and two other misc configs to setup dram banks and call misc_init_r. Align it on the other Amlogic SoC based boards defconfig.
Signed-off-by: Neil Armstrong narmstrong@baylibre.com --- configs/khadas-vim2_defconfig | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/configs/khadas-vim2_defconfig b/configs/khadas-vim2_defconfig index 0f738cbb90..080dd19590 100644 --- a/configs/khadas-vim2_defconfig +++ b/configs/khadas-vim2_defconfig @@ -6,8 +6,10 @@ CONFIG_DEBUG_UART_BASE=0xc81004c0 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_IDENT_STRING=" khadas-vim2" CONFIG_DEBUG_UART=y +CONFIG_NR_DRAM_BANKS=1 CONFIG_OF_BOARD_SETUP=y CONFIG_CONSOLE_MUX=y +CONFIG_MISC_INIT_R=y # CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_BOARDINFO is not set # CONFIG_CMD_BDI is not set @@ -30,6 +32,7 @@ CONFIG_MTD=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_PHY=y +CONFIG_MESON_GXL_USB_PHY=y CONFIG_PINCTRL=y CONFIG_PINCTRL_MESON_GXL=y CONFIG_DM_REGULATOR_FIXED=y

On Wed, Apr 03, 2019 at 01:46:37PM +0200, Neil Armstrong wrote:
The Khadas VIM2 defconfig was missing the USB PHY config and two other misc configs to setup dram banks and call misc_init_r. Align it on the other Amlogic SoC based boards defconfig.
Signed-off-by: Neil Armstrong narmstrong@baylibre.com
Applied to u-boot/master, thanks!

On 4/3/19 1:46 PM, Neil Armstrong wrote:
This patchset :
- fixes the MESON_GXL_USB_PHY dependency to also allow MESON_GXM
- fixes the khadas-vim2 defconfig
Tom, I know it's _very_ late in the cycle, is it still OK for final 2019.04 release ?
If it's a fix, it is still OK.

On Wed, Apr 03, 2019 at 01:46:35PM +0200, Neil Armstrong wrote:
This patchset :
- fixes the MESON_GXL_USB_PHY dependency to also allow MESON_GXM
- fixes the khadas-vim2 defconfig
Tom, I know it's _very_ late in the cycle, is it still OK for final 2019.04 release ?
Neil Armstrong (2): phy: Also allow MESON_GXM for MESON_GXL_USB_PHY configs: khadas_vim2: Fix defconfig
configs/khadas-vim2_defconfig | 3 +++ drivers/phy/Kconfig | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)
I'm putting this through CI now, thanks!
participants (3)
-
Marek Vasut
-
Neil Armstrong
-
Tom Rini