u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Fabien Parent <fparent@baylibre.com>
To: u-boot@lists.denx.de
Subject: [PATCH 4/5] configs: pumpkin: enable USB gadget
Date: Fri, 16 Oct 2020 17:40:08 +0200	[thread overview]
Message-ID: <20201016154009.3097917-5-fparent@baylibre.com> (raw)
In-Reply-To: <20201016154009.3097917-1-fparent@baylibre.com>

Enable USB gadget on pumpkin. This requires to also enable
BOARD_LATE_INIT since the init is done in board_late_init function.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
 configs/pumpkin_defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/configs/pumpkin_defconfig b/configs/pumpkin_defconfig
index 3d6af03d2209..94831adfa354 100644
--- a/configs/pumpkin_defconfig
+++ b/configs/pumpkin_defconfig
@@ -17,6 +17,7 @@ CONFIG_FIT=y
 # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
 CONFIG_DEFAULT_FDT_FILE="mt8516-pumpkin"
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_BOARD_LATE_INIT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_BDI is not set
 # CONFIG_CMD_CONSOLE is not set
@@ -59,6 +60,13 @@ CONFIG_BAUDRATE=921600
 CONFIG_DM_SERIAL=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_MTK_SERIAL=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_MUSB_MT85XX=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d
+CONFIG_USB_GADGET_PRODUCT_NUM=0x201c
 CONFIG_WDT=y
 CONFIG_WDT_MTK=y
 # CONFIG_EFI_LOADER is not set
-- 
2.28.0

  parent reply	other threads:[~2020-10-16 15:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 15:40 [PATCH 0/5] board: mediatek: pumpkin: add fastboot support Fabien Parent
2020-10-16 15:40 ` [PATCH 1/5] arm: dts: mt8516: add support for USB Fabien Parent
2021-01-19 13:02   ` Tom Rini
2020-10-16 15:40 ` [PATCH 2/5] arm: dts: mt8516-pumpkin: enable usb port Fabien Parent
2021-01-19 13:02   ` Tom Rini
2020-10-16 15:40 ` [PATCH 3/5] board: mediatek: pumpkin: initialize usb device Fabien Parent
2021-01-19 13:02   ` Tom Rini
2020-10-16 15:40 ` Fabien Parent [this message]
2021-01-19 13:02   ` [PATCH 4/5] configs: pumpkin: enable USB gadget Tom Rini
2020-10-16 15:40 ` [PATCH 5/5] configs: pumpkin: enable fastboot Fabien Parent
2021-01-19 13:03   ` Tom Rini
2021-11-13 14:20 ` [PATCH 0/5] board: mediatek: pumpkin: add fastboot support Simon Glass
2021-12-16 19:02   ` Fabien Parent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201016154009.3097917-5-fparent@baylibre.com \
    --to=fparent@baylibre.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).