From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B137C07E99 for ; Mon, 12 Jul 2021 14:33:49 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5CF696115C for ; Mon, 12 Jul 2021 14:33:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CF696115C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=blueri.se Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B33AB82DFB; Mon, 12 Jul 2021 16:33:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=blueri.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 65A7682E04; Mon, 12 Jul 2021 16:33:45 +0200 (CEST) Received: from pwildt.genua.de (pwildt.genua.de [80.154.94.49]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 939B082DF9 for ; Mon, 12 Jul 2021 16:33:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=blueri.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=patrick@blueri.se Received: from mone.fritz.box (p200300c1c71e4600ada1edba64dff7ae.dip0.t-ipconnect.de [2003:c1:c71e:4600:ada1:edba:64df:f7ae]) by pwildt.genua.de (OpenSMTPD) with ESMTPSA id 9b6b6fe8 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Mon, 12 Jul 2021 16:33:41 +0200 (CEST) Date: Mon, 12 Jul 2021 16:33:39 +0200 From: Patrick Wildt To: Ye Li Cc: sbabic@denx.de, u-boot@lists.denx.de, festevam@gmail.com, peng.fan@nxp.com, uboot-imx@nxp.com Subject: Re: [PATCH 4/4] imx8mq_evk: Enable the USB3.0 host port Message-ID: References: <1613924784-63219-1-git-send-email-ye.li@nxp.com> <1613924784-63219-4-git-send-email-ye.li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1613924784-63219-4-git-send-email-ye.li@nxp.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Am Sun, Feb 21, 2021 at 08:26:24AM -0800 schrieb Ye Li: > Setup USB clock in board codes, and enable the DWC3 XHCI and > PHY drivers to make USB3.0 host port working on i.MX8MQ EVK. > > Signed-off-by: Ye Li The same change works on the MNT Reform 2 as well. Reviewed-by: Patrick Wildt > board/freescale/imx8mq_evk/imx8mq_evk.c | 4 ++++ > configs/imx8mq_evk_defconfig | 9 +++++++++ > 2 files changed, 13 insertions(+) > > diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c b/board/freescale/imx8mq_evk/imx8mq_evk.c > index 93da67d..e394805 100644 > --- a/board/freescale/imx8mq_evk/imx8mq_evk.c > +++ b/board/freescale/imx8mq_evk/imx8mq_evk.c > @@ -86,6 +86,10 @@ int board_init(void) > setup_fec(); > #endif > > +#if defined(CONFIG_USB_DWC3) || defined(CONFIG_USB_XHCI_DWC3) > + init_usb_clk(); > +#endif > + > return 0; > } > > diff --git a/configs/imx8mq_evk_defconfig b/configs/imx8mq_evk_defconfig > index a149c1a..a644862 100644 > --- a/configs/imx8mq_evk_defconfig > +++ b/configs/imx8mq_evk_defconfig > @@ -54,3 +54,12 @@ CONFIG_DM_REGULATOR_GPIO=y > CONFIG_DM_RESET=y > CONFIG_MXC_UART=y > CONFIG_DM_THERMAL=y > +CONFIG_CMD_USB=y > +CONFIG_USB=y > +CONFIG_USB_STORAGE=y > +CONFIG_DM_USB=y > +CONFIG_USB_XHCI_HCD=y > +CONFIG_USB_XHCI_DWC3=y > +CONFIG_USB_DWC3=y > +CONFIG_PHY=y > +CONFIG_PHY_IMX8MQ_USB=y > -- > 2.7.4 >