Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3735910pxb; Tue, 17 Nov 2020 02:02:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtgYZqH6SaGn4Em6ZexxC5iN2Cyt59uPNszOQypiDyOTTLYJkJd/Ggq4aW2HzOPEZloK7N X-Received: by 2002:aa7:df81:: with SMTP id b1mr19395948edy.365.1605607364590; Tue, 17 Nov 2020 02:02:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605607364; cv=none; d=google.com; s=arc-20160816; b=Mu/Tk3PMoi95n1dUhZr6I92xzM+2RjOUPm4CmZwmKvcFSA9UGbF+gVd5lVUvXFqQ3v NiskjoZG2NKRprPKZelitanOJ7DoJl6Wz6pNFy9qETJfNA87f921ABIXotroJcod+gRj bOJGkHAOrANBqJt4etQV1ChPl4Hw8j8VFOW7lQIATwmtONcOJYQrVM2rjvzZLhQIzug/ ngIGKO77SkzSi/6k/fGz2NiAJNe/7kT/VTVVJh7ozZEM1z4FSbQhfxLQ7bH3dz8qtTDp q266zKu8JO5rqchIS4vcyjAJL1kuq7+4GRPm9I3zqoj99RYKD90KwwEWnzygw1Ukud+y sixw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=y2Io4U8P70EBSSJuLyQPTHs4SXuaogmus/3Tq9b2AiA=; b=C1wTlYAsO/I9IeYkzVJBWH19bprITs8jP2lNTE/sdmGrHRU5TN3BgkETi1BZf+ZrjR KrueevMinMzEFuIcXV93w0CgBfpPzOxmIlaZMmBDFP+c7tGz3BmJaCqzQlZ0vCcj6pQ5 db4Bgdakc8SwWNd3ujV1xXZkZDvHSQfxqo6hSDqGV/ZGKIpes7VizWTVn6xwaGiB4XeB eADwOvMhik2f5OqM1Ob5E/pfSPkFv8l7kvZmkodGl1Woi+TggZYgonYvHa951j51mf3t op8jHTo5ME7DumalVGw6VlHZPfFO8MDQ2vwnC4toz6V/bOc7nkyJ47KmkrV2kDvsp8A9 aang== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=I9ZlYEsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si12857095ejn.26.2020.11.17.02.02.20; Tue, 17 Nov 2020 02:02:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=I9ZlYEsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727426AbgKQKAb (ORCPT + 99 others); Tue, 17 Nov 2020 05:00:31 -0500 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:58686 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbgKQKAb (ORCPT ); Tue, 17 Nov 2020 05:00:31 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AH9bavK025748; Tue, 17 Nov 2020 11:00:22 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=y2Io4U8P70EBSSJuLyQPTHs4SXuaogmus/3Tq9b2AiA=; b=I9ZlYEsUrv1jfABsS3t0ujS5lzVZFwnES52kL3SRMyQepR/eYYwXeVmHp1R2dqK6v7tw O/CUpyqg80K+TpYAIBsYBvAC1vJ8D8G8Rz8m9d2VxRh6Mgn8umFvGBSZ7Y2s9IVcPXQ5 m1Vj+SbbAn5fLjcejNauhMb7WZS+zU9pr7t0o+Jx43opkzNQ+o1aIe82NC87fH9uDF8l kr//nh+sHdULjoAUkFZFB1WedgZAXpNvH6oe0AXCH8+Urlz9l06cJZJ8hlVK29j/mTMv d4vS4THOQU1Z6Z6fY/f8/NQX3sw1eRg7LCi7X4TUEveo0jKzs81Lsk5Cjt8kZbcVDKPU og== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 34t5w1r975-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Nov 2020 11:00:22 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DDA5510002A; Tue, 17 Nov 2020 11:00:21 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id CBDA2238C96; Tue, 17 Nov 2020 11:00:21 +0100 (CET) Received: from lmecxl0912.lme.st.com (10.75.127.50) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 17 Nov 2020 11:00:21 +0100 Subject: Re: [PATCH 1/1] ARM: dts: stm32: adjust USB OTG gadget fifo sizes in stm32mp151 To: Amelie Delaunay , Maxime Coquelin , Rob Herring CC: , , , References: <20201110131059.7826-1-amelie.delaunay@st.com> From: Alexandre Torgue Message-ID: Date: Tue, 17 Nov 2020 10:59:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201110131059.7826-1-amelie.delaunay@st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG3NODE2.st.com (10.75.127.8) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-17_03:2020-11-13,2020-11-17 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Amélie On 11/10/20 2:10 PM, Amelie Delaunay wrote: > Defaut use case on stm32mp151 USB OTG is ethernet gadget, using EP1 bulk > endpoint (MPS=512 bytes) and EP2 interrupt endpoint (MPS=16 bytes). > This patch optimizes USB OTG FIFO sizes accordingly. > > Signed-off-by: Amelie Delaunay > --- > arch/arm/boot/dts/stm32mp151.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi > index 6ffcf06dc0e8..928e31db1526 100644 > --- a/arch/arm/boot/dts/stm32mp151.dtsi > +++ b/arch/arm/boot/dts/stm32mp151.dtsi > @@ -1070,9 +1070,9 @@ > resets = <&rcc USBO_R>; > reset-names = "dwc2"; > interrupts = ; > - g-rx-fifo-size = <256>; > + g-rx-fifo-size = <512>; > g-np-tx-fifo-size = <32>; > - g-tx-fifo-size = <128 128 64 64 64 64 32 32>; > + g-tx-fifo-size = <256 16 16 16 16 16 16 16>; > dr_mode = "otg"; > usb33d-supply = <&usb33>; > status = "disabled"; > Applied on stm32-next. Thanks. Alex