From patchwork Tue Feb 20 10:35:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 1901409 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=BDH4eJvR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TfGtt5l1Cz20Qg for ; Tue, 20 Feb 2024 22:11:34 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D4DBD87FCA; Tue, 20 Feb 2024 12:04:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.b="BDH4eJvR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0830087D4D; Tue, 20 Feb 2024 11:36:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C6E9C87D98 for ; Tue, 20 Feb 2024 11:35:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=othacehe@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcNTU-00014U-06; Tue, 20 Feb 2024 05:35:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=rMuG1uMF27D4BQKAZwxczpxifoX3+ILXmtY2md6uZc4=; b=BDH4eJvRxrlnHktZ0Rd9 RjyGYXI0KPHNu+bJyrZ1JdES4aVsO6tV3OF4k3IyOvu7jl4+ltW3IHeewdLNpxcsNmttkXtUFiezT z0bFT/Bp1z+eA8gUyZSn9gRW3OkszfAC8nA5atgd1OSqdI9Pd2QHh1geQWsY/vYllzz9ufH5KLl3W /N1qi/z3FAcsV7Tzbpv0ezxnOYM2nWZPCj7O2FKxI2lxc1eeA0m56k5GpZ/b0rHg1dvyeZOtXCmsJ 2Nwr2mcZXVwiCiZt90SuFNtBBf2mCok63El7bS5xPjo7hCLuK3/KmE66GVTcQSfRb/4DmNewQMVLc AqAlq/fj2nJLoQ==; From: Mathieu Othacehe To: Tom Rini , Marek Vasut , Peng Fan , Shiji Yang , Ye Li , Alice Guo , Stefano Babic , =?utf-8?q?S=C3=A9bastien_Szymanski?= , Fabio Estevam , Simon Glass , Mathieu Othacehe Cc: u-boot@lists.denx.de, Mathieu Othacehe Subject: [PATCH 1/5] arm: dts: imx93: Add USB support. Date: Tue, 20 Feb 2024 11:35:02 +0100 Message-ID: <20240220103506.17218-2-othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240220103506.17218-1-othacehe@gnu.org> References: <20240220103506.17218-1-othacehe@gnu.org> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 20 Feb 2024 12:03:24 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Copied from: https://lore.kernel.org/linux-devicetree/20240131114324.3722428-6-xu.yang_2@nxp.com/ Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93.dtsi | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm/dts/imx93.dtsi b/arch/arm/dts/imx93.dtsi index 90de635481f..d6964714ea0 100644 --- a/arch/arm/dts/imx93.dtsi +++ b/arch/arm/dts/imx93.dtsi @@ -149,6 +149,20 @@ }; }; + usbphynop1: usbphynop1 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + + usbphynop2: usbphynop2 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -844,5 +858,49 @@ #power-domain-cells = <1>; status = "disabled"; }; + + usbotg1: usb@4c100000 { + compatible = "fsl,imx93-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c100000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root_clk", "usb_wakeup"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + phys = <&usbphynop1>; + fsl,usbmisc = <&usbmisc1 0>; + status = "disabled"; + }; + + usbmisc1: usbmisc@4c100200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + reg = <0x4c100200 0x200>; + #index-cells = <1>; + }; + + usbotg2: usb@4c200000 { + compatible = "fsl,imx93-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c200000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root_clk", "usb_wakeup"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + phys = <&usbphynop2>; + fsl,usbmisc = <&usbmisc2 0>; + status = "disabled"; + }; + + usbmisc2: usbmisc@4c200200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + reg = <0x4c200200 0x200>; + #index-cells = <1>; + }; }; }; From patchwork Tue Feb 20 10:35:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 1901403 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=JqojCMJS; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TfGqQ4dXnz23cw for ; Tue, 20 Feb 2024 22:08:34 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EA4D487FC0; Tue, 20 Feb 2024 12:04:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.b="JqojCMJS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AA2A987F5D; Tue, 20 Feb 2024 11:36:01 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B878387DDB for ; Tue, 20 Feb 2024 11:35:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=othacehe@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcNTX-00014V-Gr; Tue, 20 Feb 2024 05:35:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=d8cNVSXdHaSVP2epv560mhDnh2AC/3hj/Q9FlupkeEs=; b=JqojCMJSik9KQM+Kf+Jv 4HpLvjRivXJXaZb9TpP88UkDExZg451YpBEECJ/4liOCpHJoD17XHWLzKnL+QaBjMBKs9r/IYbl3I flElenDm9Paeb5af+O7iqAxUNhGnR7Po+VS8fm65kaghGujbmOiSM5AM3nzvIPNg9xMfbJIh0BYBw 53PTtVI94hKPvKRw2+ZWbohtrGMkYxKEvAk2FZA1b+TD3BgSOMedKXM6DOwSSqwgSJNbrhv09dBoD G7GkI9YQsmcT+7f4FiF1Mzqiuv8U5AzwSC2lW5Fh/yPkI92uxgI76v5nq6+KyHmcdjU+Df02eTNPy yhpEFQmBDEzllg==; From: Mathieu Othacehe To: Tom Rini , Marek Vasut , Peng Fan , Shiji Yang , Ye Li , Alice Guo , Stefano Babic , =?utf-8?q?S=C3=A9bastien_Szymanski?= , Fabio Estevam , Simon Glass , Mathieu Othacehe Cc: u-boot@lists.denx.de, Mathieu Othacehe Subject: [PATCH 2/5] arm: dts: imx93-var-som-symphony: Add USB support. Date: Tue, 20 Feb 2024 11:35:03 +0100 Message-ID: <20240220103506.17218-3-othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240220103506.17218-1-othacehe@gnu.org> References: <20240220103506.17218-1-othacehe@gnu.org> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 20 Feb 2024 12:03:24 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Enable both usbotg1 and usbotg2 ports. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-var-som-symphony.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/imx93-var-som-symphony.dts b/arch/arm/dts/imx93-var-som-symphony.dts index a67bd005e54..1bc61942716 100644 --- a/arch/arm/dts/imx93-var-som-symphony.dts +++ b/arch/arm/dts/imx93-var-som-symphony.dts @@ -285,6 +285,24 @@ status = "okay"; }; +&usbotg1 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + disable-over-current; + status = "okay"; +}; + +&usbotg2 { + dr_mode = "host"; + hnp-disable; + srp-disable; + adp-disable; + disable-over-current; + status = "okay"; +}; + /* SD */ &usdhc2 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; From patchwork Tue Feb 20 10:35:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 1901404 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=TTB4JT92; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TfGqn334Yz23cw for ; Tue, 20 Feb 2024 22:08:53 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7738787FC5; Tue, 20 Feb 2024 12:04:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.b="TTB4JT92"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1418387F5D; Tue, 20 Feb 2024 11:36:05 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 230EE87F75 for ; Tue, 20 Feb 2024 11:35:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=othacehe@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcNTZ-00014j-2x; Tue, 20 Feb 2024 05:35:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=n5XNITTJ67SeIXDgLA6mh2I6m/PAWWXxgx8GIsYgdVw=; b=TTB4JT92MAyjK+fw+Pw/ Y82/aDVY7v46h4f7jmoNbyvi4uu57EGCklJZ8UWQgDjJWClu2aeOBuTMZP5xFnBbIHpNGOodFOifo SJ53/kuxBcGjf7fg5QZkvNjjJ5lZ41IFX1t1TlY5bi1jQgXHcWeHmlhz44ZyUMjl/7VYX03W13b/O yR1BYCCPXbnjojdQg9tyEY0mr2CdGOQX895Ne86P5kmF5HUOSzfBCmPKJlFI1bI5PR94lW96hZvr5 sRc0T70ltX5xB8iP0hG/0VtAvDmHw7pOxYeNPeButHQrIBRkZ1Aoep6+MBjtPYLJqgCBgwZ/Wie+4 B5yqxJ1Fjrms/g==; From: Mathieu Othacehe To: Tom Rini , Marek Vasut , Peng Fan , Shiji Yang , Ye Li , Alice Guo , Stefano Babic , =?utf-8?q?S=C3=A9bastien_Szymanski?= , Fabio Estevam , Simon Glass , Mathieu Othacehe Cc: u-boot@lists.denx.de, Mathieu Othacehe Subject: [PATCH 3/5] configs: imx93_var_som: Add USB support. Date: Tue, 20 Feb 2024 11:35:04 +0100 Message-ID: <20240220103506.17218-4-othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240220103506.17218-1-othacehe@gnu.org> References: <20240220103506.17218-1-othacehe@gnu.org> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 20 Feb 2024 12:03:24 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Enable the `usb` command and some USB drivers. Signed-off-by: Mathieu Othacehe --- configs/imx93_var_som_defconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configs/imx93_var_som_defconfig b/configs/imx93_var_som_defconfig index 71cd016d332..0aab222c7c1 100644 --- a/configs/imx93_var_som_defconfig +++ b/configs/imx93_var_som_defconfig @@ -70,6 +70,7 @@ CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_POWEROFF=y CONFIG_CMD_READ=y +CONFIG_CMD_USB=y CONFIG_CMD_WDT=y CONFIG_BOOTP_PREFER_SERVERIP=y CONFIG_CMD_SNTP=y @@ -132,6 +133,14 @@ CONFIG_DM_SERIAL=y CONFIG_FSL_LPUART=y CONFIG_DM_THERMAL=y CONFIG_IMX_TMU=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_MANUFACTURER="FSL" +CONFIG_USB_GADGET_VENDOR_NUM=0x1fc9 +CONFIG_USB_GADGET_PRODUCT_NUM=0x0152 +CONFIG_CI_UDC=y +CONFIG_USB_PORT_AUTO=y CONFIG_ULP_WATCHDOG=y CONFIG_WDT=y CONFIG_LZO=y From patchwork Tue Feb 20 10:35:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 1901412 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=Y0L2dI/d; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TfGvN0HZXz20Qg for ; Tue, 20 Feb 2024 22:12:00 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 411AD87FD6; Tue, 20 Feb 2024 12:04:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.b="Y0L2dI/d"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4067B87D4D; Tue, 20 Feb 2024 11:36:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B06DE87F8C for ; Tue, 20 Feb 2024 11:35:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=othacehe@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcNTf-000165-8c; Tue, 20 Feb 2024 05:35:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=5N9XkB03bSP4zZ0rLeJDgLgJJy2/hRX9K/i0Ttf8aDU=; b=Y0L2dI/dU766ol9KAOck OziNeJjhz+F4agI5++6jrQ+zrVPztFCNFHdU3NWQiJOsCW5Aq/eFolcDMu1uUSqAF311Q6YBWv9NQ 6Bp1hrXV+TGly5RE+wJg5ZZkfvejY3VFQQ6CvRzbUb6cdyhfHw6Z/oGNgH0lPCBVfAsVRxBQS1sXh 0fsnOyrEYL4Z8g1qznoal0yW2sB8Q4gYFGoItATYt/OJxVk6ZPjMSLd5w8ErsBeu3uryXpuaNCw9V 3eCJoULQo2dPI8ehYKDYzyy9HLferEqFIYIpa/6UNtRUGANA3/IMiBBX4+MT8F4Bkdmcm04zCcZeX 1+EE3Wr6Sf5Fng==; From: Mathieu Othacehe To: Tom Rini , Marek Vasut , Peng Fan , Shiji Yang , Ye Li , Alice Guo , Stefano Babic , =?utf-8?q?S=C3=A9bastien_Szymanski?= , Fabio Estevam , Simon Glass , Mathieu Othacehe Cc: u-boot@lists.denx.de, Mathieu Othacehe Subject: [PATCH 4/5] configs: imx93_var_som: Add fastboot support. Date: Tue, 20 Feb 2024 11:35:05 +0100 Message-ID: <20240220103506.17218-5-othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240220103506.17218-1-othacehe@gnu.org> References: <20240220103506.17218-1-othacehe@gnu.org> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 20 Feb 2024 12:03:24 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Enable the `fastboot` command. Signed-off-by: Mathieu Othacehe --- configs/imx93_var_som_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/imx93_var_som_defconfig b/configs/imx93_var_som_defconfig index 0aab222c7c1..60751a77037 100644 --- a/configs/imx93_var_som_defconfig +++ b/configs/imx93_var_som_defconfig @@ -97,6 +97,12 @@ CONFIG_SPL_CLK_IMX93=y CONFIG_CLK_IMX93=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_FASTBOOT_BUF_ADDR=0x82800000 +CONFIG_FASTBOOT_BUF_SIZE=0x20000000 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_UUU_SUPPORT=y +CONFIG_FASTBOOT_FLASH_MMC_DEV=0 CONFIG_GPIO_HOG=y CONFIG_IMX_RGPIO2P=y CONFIG_DM_PCA953X=y From patchwork Tue Feb 20 10:35:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 1901402 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=orMo+Ebs; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TfGpJ3h3tz23cw for ; Tue, 20 Feb 2024 22:07:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6F6CD87FBC; Tue, 20 Feb 2024 12:04:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.b="orMo+Ebs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1AEF087D4D; Tue, 20 Feb 2024 11:36:16 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6CD9887F93 for ; Tue, 20 Feb 2024 11:35:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=othacehe@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcNTi-00016a-8i; Tue, 20 Feb 2024 05:35:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=uck3KIVUrnsQLF5ErMqY2tkND5CaoDlZ02Lpb4iuBFg=; b=orMo+EbsPMgnrfxjGLww bVdKo2i4pfaNEyHysGRcZNeE8o+E02ktF5ZZmoPXBMMnaJOFpUz1KJklrZOJs0YSZi8naQLhid/Sl GK5TMP9cwpJH/9D/LRuOUkOHY34YLhsWVkwCP1ZuoLFvcH9myDR0tIXGAC+leLD3Q38PUxmnuXR+L WOJv+Ckos7F/4xzRQtxmCsNi6zKs1o0pVet0M+If782d8QuKBNaermPMg+P8DTd0HTuo7c1972Bfs 6g1tXYHuBm+HSj1BMx4IwVbCaZLpD7JcpHIBa9plTup1aut5qQ46mSHCaSR1a6vSnZdaQhkTfp9b5 ORxWkKp8gHCPNA==; From: Mathieu Othacehe To: Tom Rini , Marek Vasut , Peng Fan , Shiji Yang , Ye Li , Alice Guo , Stefano Babic , =?utf-8?q?S=C3=A9bastien_Szymanski?= , Fabio Estevam , Simon Glass , Mathieu Othacehe Cc: u-boot@lists.denx.de, Mathieu Othacehe Subject: [PATCH 5/5] configs: imx93_var_som: Add EFI support. Date: Tue, 20 Feb 2024 11:35:06 +0100 Message-ID: <20240220103506.17218-6-othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240220103506.17218-1-othacehe@gnu.org> References: <20240220103506.17218-1-othacehe@gnu.org> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 20 Feb 2024 12:03:24 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Enable the `gpt` command and EFI partitions support. Signed-off-by: Mathieu Othacehe --- configs/imx93_var_som_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/imx93_var_som_defconfig b/configs/imx93_var_som_defconfig index 60751a77037..a3f98abc161 100644 --- a/configs/imx93_var_som_defconfig +++ b/configs/imx93_var_som_defconfig @@ -78,6 +78,7 @@ CONFIG_CMD_CACHE=y CONFIG_CMD_EFIDEBUG=y CONFIG_CMD_RTC=y CONFIG_CMD_TIME=y +CONFIG_CMD_GPT=y CONFIG_CMD_GETTIME=y CONFIG_CMD_TIMER=y CONFIG_CMD_REGULATOR=y @@ -151,4 +152,5 @@ CONFIG_ULP_WATCHDOG=y CONFIG_WDT=y CONFIG_LZO=y CONFIG_BZIP2=y -CONFIG_RSA=y \ No newline at end of file +CONFIG_RSA=y +CONFIG_EFI_PARTITION=y \ No newline at end of file