diff mbox series

[next,v7,09/10] configs: mt8512: add USB host related configs

Message ID 1600420213-25974-10-git-send-email-chunfeng.yun@mediatek.com
State Superseded
Delegated to: Marek Vasut
Headers show
Series Add support MediaTek USB3 DRD driver | expand

Commit Message

Chunfeng Yun Sept. 18, 2020, 9:10 a.m. UTC
Add USB, FAT commands, and fixed regulator, mass storage
drivers.
Due to device mode is enabled by default, comment out
the host mode config here.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v5~v7: no changes

v4: new patch
---
 configs/mt8512_bm1_emmc_defconfig | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Bin Meng Oct. 13, 2020, 2:34 p.m. UTC | #1
On Fri, Sep 18, 2020 at 5:12 PM Chunfeng Yun <chunfeng.yun@mediatek.com> wrote:
>
> Add USB, FAT commands, and fixed regulator, mass storage
> drivers.
> Due to device mode is enabled by default, comment out
> the host mode config here.

This patch should be squashed into patch [08/10]

>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> ---
> v5~v7: no changes
>
> v4: new patch
> ---
>  configs/mt8512_bm1_emmc_defconfig | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/configs/mt8512_bm1_emmc_defconfig b/configs/mt8512_bm1_emmc_defconfig
> index d41446f..6b5454c 100644
> --- a/configs/mt8512_bm1_emmc_defconfig
> +++ b/configs/mt8512_bm1_emmc_defconfig
> @@ -15,6 +15,10 @@ CONFIG_DEFAULT_FDT_FILE="mt8512-bm1-emmc.dtb"
>  CONFIG_SYS_PROMPT="MT8512> "
>  CONFIG_CMD_BOOTMENU=y
>  CONFIG_CMD_MMC=y
> +CONFIG_CMD_USB=y
> +CONFIG_CMD_FAT=y
> +CONFIG_CMD_FS_GENERIC=y
> +# CONFIG_DOS_PARTITION is not set
>  CONFIG_ENV_OVERWRITE=y
>  CONFIG_REGMAP=y
>  CONFIG_SYSCON=y
> @@ -36,6 +40,7 @@ CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT=y
>  CONFIG_PHY=y
>  CONFIG_PHY_MTK_TPHY=y
>  CONFIG_DM_REGULATOR=y
> +CONFIG_DM_REGULATOR_FIXED=y
>  CONFIG_DM_SERIAL=y
>  CONFIG_MTK_SERIAL=y
>  CONFIG_TIMER=y
> @@ -48,6 +53,8 @@ CONFIG_DM_USB=y
>  CONFIG_DM_USB_GADGET=y
>  CONFIG_USB_MTU3=y
>  CONFIG_USB_MTU3_GADGET=y
> +#CONFIG_USB_MTU3_HOST=y

This should be :

# CONFIG_USB_MTU3_HOST is not set

> +CONFIG_USB_STORAGE=y
>  CONFIG_USB_GADGET=y
>  CONFIG_USB_GADGET_MANUFACTURER="MediaTek"
>  CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d
> --

Regards,
Bin
Chunfeng Yun Oct. 14, 2020, 3:40 a.m. UTC | #2
On Tue, 2020-10-13 at 22:34 +0800, Bin Meng wrote:
> On Fri, Sep 18, 2020 at 5:12 PM Chunfeng Yun <chunfeng.yun@mediatek.com> wrote:
> >
> > Add USB, FAT commands, and fixed regulator, mass storage
> > drivers.
> > Due to device mode is enabled by default, comment out
> > the host mode config here.
> 
> This patch should be squashed into patch [08/10]
Ok

> 
> >
> > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > ---
> > v5~v7: no changes
> >
> > v4: new patch
> > ---
> >  configs/mt8512_bm1_emmc_defconfig | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> > diff --git a/configs/mt8512_bm1_emmc_defconfig b/configs/mt8512_bm1_emmc_defconfig
> > index d41446f..6b5454c 100644
> > --- a/configs/mt8512_bm1_emmc_defconfig
> > +++ b/configs/mt8512_bm1_emmc_defconfig
> > @@ -15,6 +15,10 @@ CONFIG_DEFAULT_FDT_FILE="mt8512-bm1-emmc.dtb"
> >  CONFIG_SYS_PROMPT="MT8512> "
> >  CONFIG_CMD_BOOTMENU=y
> >  CONFIG_CMD_MMC=y
> > +CONFIG_CMD_USB=y
> > +CONFIG_CMD_FAT=y
> > +CONFIG_CMD_FS_GENERIC=y
> > +# CONFIG_DOS_PARTITION is not set
> >  CONFIG_ENV_OVERWRITE=y
> >  CONFIG_REGMAP=y
> >  CONFIG_SYSCON=y
> > @@ -36,6 +40,7 @@ CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT=y
> >  CONFIG_PHY=y
> >  CONFIG_PHY_MTK_TPHY=y
> >  CONFIG_DM_REGULATOR=y
> > +CONFIG_DM_REGULATOR_FIXED=y
> >  CONFIG_DM_SERIAL=y
> >  CONFIG_MTK_SERIAL=y
> >  CONFIG_TIMER=y
> > @@ -48,6 +53,8 @@ CONFIG_DM_USB=y
> >  CONFIG_DM_USB_GADGET=y
> >  CONFIG_USB_MTU3=y
> >  CONFIG_USB_MTU3_GADGET=y
> > +#CONFIG_USB_MTU3_HOST=y
> 
> This should be :
> 
> # CONFIG_USB_MTU3_HOST is not set
Will modify it.

Thanks a lot

> 
> > +CONFIG_USB_STORAGE=y
> >  CONFIG_USB_GADGET=y
> >  CONFIG_USB_GADGET_MANUFACTURER="MediaTek"
> >  CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d
> > --
> 
> Regards,
> Bin
diff mbox series

Patch

diff --git a/configs/mt8512_bm1_emmc_defconfig b/configs/mt8512_bm1_emmc_defconfig
index d41446f..6b5454c 100644
--- a/configs/mt8512_bm1_emmc_defconfig
+++ b/configs/mt8512_bm1_emmc_defconfig
@@ -15,6 +15,10 @@  CONFIG_DEFAULT_FDT_FILE="mt8512-bm1-emmc.dtb"
 CONFIG_SYS_PROMPT="MT8512> "
 CONFIG_CMD_BOOTMENU=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_FAT=y
+CONFIG_CMD_FS_GENERIC=y
+# CONFIG_DOS_PARTITION is not set
 CONFIG_ENV_OVERWRITE=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
@@ -36,6 +40,7 @@  CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT=y
 CONFIG_PHY=y
 CONFIG_PHY_MTK_TPHY=y
 CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_SERIAL=y
 CONFIG_MTK_SERIAL=y
 CONFIG_TIMER=y
@@ -48,6 +53,8 @@  CONFIG_DM_USB=y
 CONFIG_DM_USB_GADGET=y
 CONFIG_USB_MTU3=y
 CONFIG_USB_MTU3_GADGET=y
+#CONFIG_USB_MTU3_HOST=y
+CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="MediaTek"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d