public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Neil Armstrong <narmstrong@baylibre.com>
To: u-boot@lists.denx.de
Subject: [PATCH 8/8] configs: s400: enable USB
Date: Thu, 10 Sep 2020 10:48:19 +0200	[thread overview]
Message-ID: <20200910084819.25312-9-narmstrong@baylibre.com> (raw)
In-Reply-To: <20200910084819.25312-1-narmstrong@baylibre.com>

Enable USB Host & Gadget on the Amlogic S400 board.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 configs/s400_defconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/configs/s400_defconfig b/configs/s400_defconfig
index 3c9509411b..16c162434b 100644
--- a/configs/s400_defconfig
+++ b/configs/s400_defconfig
@@ -18,6 +18,8 @@ CONFIG_MISC_INIT_R=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_REGULATOR=y
 CONFIG_OF_CONTROL=y
@@ -28,6 +30,7 @@ CONFIG_MMC_MESON_GX=y
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_MESON_GXL_USB_PHY=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_MESON_AXG=y
 CONFIG_DM_REGULATOR=y
@@ -36,4 +39,16 @@ CONFIG_DM_RESET=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_DEBUG_UART_SKIP_INIT=y
 CONFIG_MESON_SERIAL=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_DWC3=y
+CONFIG_USB_DWC3=y
+# CONFIG_USB_DWC3_GADGET is not set
+CONFIG_USB_DWC3_MESON_GXL=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_VENDOR_NUM=0x1b8e
+CONFIG_USB_GADGET_PRODUCT_NUM=0xfada
+CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_OF_LIBFDT_OVERLAY=y
-- 
2.22.0

  parent reply	other threads:[~2020-09-10  8:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  8:48 [PATCH 0/8] ARM: mach-meson: update & rework USB for GXL, GXM & AXG Neil Armstrong
2020-09-10  8:48 ` [PATCH 1/8] ARM: dts: sync amlogic AXG/GXL/GXM DT from Linux 5.8-rc1 Neil Armstrong
2020-09-10  8:48 ` [PATCH 2/8] usb: dwc3: add Amlogic GXL & GXL DWC3 Glue Neil Armstrong
2020-09-10  8:48 ` [PATCH 3/8] ARM: mach-meson: use new DWC3 glue for GXL & GXM Neil Armstrong
2020-09-10  8:48 ` [PATCH 4/8] phy: meson-gxl: remove invalid USB3 PHY driver Neil Armstrong
2020-09-10  8:48 ` [PATCH 5/8] phy: meson-gxl-usb: depend on Meson AXG aswell Neil Armstrong
2020-09-10  8:48 ` [PATCH 6/8] arm: meson-axg: add board_usb_init()/cleanup() for USB gadget Neil Armstrong
2020-09-10  8:48 ` [PATCH 7/8] ARM: dts: meson-axg: add USB nodes for S400 Neil Armstrong
2020-09-10  8:48 ` Neil Armstrong [this message]
2020-09-28  7:41 ` [PATCH 0/8] ARM: mach-meson: update & rework USB for GXL, GXM & AXG Neil Armstrong

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=20200910084819.25312-9-narmstrong@baylibre.com \
    --to=narmstrong@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