Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3978801pxb; Tue, 10 Nov 2020 05:13:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLyD4865Iq/i6yDjsAZwY2cigDmwSCID5OD8xmY0MAWiflaUoA+RT5sc6MHDmkllJjBl+8 X-Received: by 2002:a50:dac1:: with SMTP id s1mr20908891edj.74.1605014021178; Tue, 10 Nov 2020 05:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605014021; cv=none; d=google.com; s=arc-20160816; b=dkn7vPJIka9xGBehM5P/87tQWcA42Gkj7WAX/4vUxpfVUaMHcTEap0fB5YxNdXmoRj VAm9IjaQiEU2+MOATV1u5y4MN3tn/hShVpgmAOEtrYjKFwgIsZTCb9O0ENmkQ+kQyGkk 8DSCcV+bXVHmwU5+1a2z7A43XafG6DkpxkSjIZWiJCH5AlwdIiY1epNrr5EhOX+/fcWR Kur0QCdQC3wBUnKFEMKhhaVA7YmjdFCc0al0jMvO/uH6gEDOaNYNkIRAWclEBDP8vvLb Pham4NA+3VDc36PoF+JZy32C7YbvCYbay7kKzNsYSg2LcW9dI9idNV5iavjYn0A1juvP KJ0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=dz3uy1uS3yrC7MAuzXgVSQsUS5/oZbhpsYzOyu9fKxg=; b=wHeASTrHwW76J/yRDwmVvqCcayw3RL8aTSxcJmLk54VYMBqtpJASHNF7nScBkP38+B HPy9BAPal6w0zc7kYLqdAootXTyflMp2ZDlhfQDbUrQZxMtV/2nIBJAfX+d8L3KZqQZB AH09K3AtfoTCKdrVo6iUv+9xKNeG9P/mqqHOzX/MKH3mh3q76QZXduTF5jP6rH/Csqve kHxwFaV/5RRW86gCVQQIzl+eq5botzyRNrupdDMdpFvNs5ToJw4fNYcsRs0WAFhEvJEO /7ZxScWuCbTmG7G4kTlGqRgBQxr2ae4X0mv/vVz8/SuYXuUbeyuk55ZRTDWkv2Mk1354 Z+Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=giYuP6bY; 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 v11si9171877ejh.153.2020.11.10.05.13.15; Tue, 10 Nov 2020 05:13:41 -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=giYuP6bY; 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 S1730124AbgKJNLJ (ORCPT + 99 others); Tue, 10 Nov 2020 08:11:09 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:33752 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726721AbgKJNLJ (ORCPT ); Tue, 10 Nov 2020 08:11:09 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AAD6jQR001164; Tue, 10 Nov 2020 14:11:01 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=dz3uy1uS3yrC7MAuzXgVSQsUS5/oZbhpsYzOyu9fKxg=; b=giYuP6bYJvvgeeNMHgvaF/lU1UrIPrf8hdEOOuoe9D11fWdBo1iEhRj0TPKpad16vM5U lZeLqWJPdU9dJNSAEnlQu3RMUnbbro0VqqtiJ8tOoMCuHywDrTtCadODCqMBzXleee9X e6Y0ALEnxXJdHmUSPRDWW9e0v0VGjKiNwMvs5FgJd2dIPFNuH7ObgM3lw+kUyD3Tea4D L6GYbHkVJqOVfrcTGKC6Rm9/5FrhfFj8Z//OTqmbaX4CvNvbDzJJJsBrrKGE9/Co6Tq2 yGdsD+L5L/NQWtRgw3foW7GbART0WpKO8QbnGqwPPaOhPAYrMLdaBQqTUnOfc1fX2HCK Yg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 34nkbn0aua-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Nov 2020 14:11:01 +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 A106E100034; Tue, 10 Nov 2020 14:11:00 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 8FD1425E09F; Tue, 10 Nov 2020 14:11:00 +0100 (CET) Received: from localhost (10.75.127.44) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 10 Nov 2020 14:11:00 +0100 From: Amelie Delaunay To: Maxime Coquelin , Alexandre Torgue , Rob Herring CC: , , , , Amelie Delaunay Subject: [PATCH 1/1] ARM: dts: stm32: adjust USB OTG gadget fifo sizes in stm32mp151 Date: Tue, 10 Nov 2020 14:10:59 +0100 Message-ID: <20201110131059.7826-1-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) 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-10_05:2020-11-10,2020-11-10 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; -- 2.17.1