From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A587B377EAC for ; Thu, 11 Jun 2026 08:18:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781165921; cv=none; b=iOaW7CrnWWkGFBh24vUfGt46U5eNiYQdnKcxLKsLSYhda5cqvbzqS7+9uF9+3Colk8em1W+uVx8J2En4diLBpKEBYLpmPScqz1dhMQ6fl/0hlaR7QM+MRjRfyq++XO+dhKxBQ4256UebMiOMlimjsb6Ian2zwxtrri/FMORWKtE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781165921; c=relaxed/simple; bh=0UB/RaRy1ouqQkebbPEeOz036DGdJa1e2gX31mDIAA8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GeCGfSq4GgDID1X4MrUPQ1ABPqRYPdpKQQD27FWV5TPD5modAvGmJgWP+nt1zWU7EQzcf//0/P2FPcCsNOOhUu0gaaq6oqVGXjKzhXCLDa2qpDnryLvTg1bPG2MqzP2SyJly+vWkn0g+NWqIBchaf/wipQTJ2UnxX5KMf4RU3sg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=oeCin4d3; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=fFaupaeK; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="oeCin4d3"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="fFaupaeK" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65B5GG5m3863232 for ; Thu, 11 Jun 2026 08:18:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=YXis3Rc0MeVYcA02FEComSseyNCa4fwzOgq 9FNId1gw=; b=oeCin4d3RJTpFfK//LqhiIMeFeKaCrfvdtlTTIQq1IwUnvIdOUv +X7xKw6J49bF7ltUIcAOZTTbPu3NWQYm8ZUScTMIMxnmvWpvRHovWmn6sFrJlgGi B9zh/S5iEFUrhcZ1IhPhIcCdVW3Q0bgbwfUEarajKnZ5Yskd0Azy0UtIyTDbdIHY OVhNAvslbUh5LqZgqTxtFfPCn6OUj+hzhqbfVehMJJ2WdD3L7dCOF8ymkMLr2NlD pPTRDi4ewGLgx5jiH9ujFDlD828eaoB/kSp5lDijScAALIq5pLdpt8UVJ1ZiSQcY S0vJ+mNUxrL8GVdX79el7uCYa2FJy8Qekyg== Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eqe6sjfe0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 11 Jun 2026 08:18:38 +0000 (GMT) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-842211d6e48so8721615b3a.0 for ; Thu, 11 Jun 2026 01:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781165917; x=1781770717; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YXis3Rc0MeVYcA02FEComSseyNCa4fwzOgq9FNId1gw=; b=fFaupaeKItKezu0B5/vkyoy0NxbVKcdgcu1q0v6I0PD9vazjllg+HMWK7m4ENu+kB5 jZHB+wwpq4GSy4a3s7/lieSenq6IrdrT/j9nRnM1HsmbP0w+uw+j6mt83oEP3vgQ9JjT jwjLuJf3bmldVsZkMFUaK2d05xOzodYQTX9qDXVwTG4I70kdB36TdGfflONLpQyCJELM gQTHnUP8SEXC1xyCj7C83b4yY6n5PnmYER0pv212RsIZs9jKiIEKucG6y+Aoxcbimsz6 N36mPFoRoC5V5HERttiKXsLacDr4ISbZMd7C+gde77Vov1rs+vCP0Evzx+2ETeq8fTXa OiwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781165917; x=1781770717; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YXis3Rc0MeVYcA02FEComSseyNCa4fwzOgq9FNId1gw=; b=nS5LJdKE8IiDuHqVenUZXt7eVBrb6kI+jWJ3hBOftSQ7CibwYEUpv9JNman4w0e//N ItVlmny/wI7ut76yYwMABhBzwHp+OgIGgitH+EDW1O7ykM9eifFqX04zwe0LlKWeJ2ek b5/dGicChDwXcMlgFxOkXWZaOeIC8HWTX09a1VN8h72KDCJeuxs3oTWYMJMuuiSP5KEF WxR80UAWSV7wZfEAeRjUuUmSDvVpv37TNsguJkOxkdOmhazXBaIVAc/Cg2GB8gug9ldp 3ijJYTPj4k8GB77VOQPhClLa/Mnf2R3U60ztwP2P3EyLwzbMTGGCPmr59vqRBwi0n5ZO FeCA== X-Forwarded-Encrypted: i=1; AFNElJ+Kpd9BVvnfZfrb11mvWSMK/uU5ZjP7Mg32D9tLfWwYV8mU3Y6ptzYPbVAD49akIotczB9cxE2c2hYL9Bc=@vger.kernel.org X-Gm-Message-State: AOJu0YyxkcV4MkXHHf+ZjEP73l4gCBiDK4rUysosWQctVOtZfQrTvjey 5dJpA7n+XaPeAhfW9idtpAzwiImrn46C7XiM9ZtocfYOq32lDjvPP4bm7F9EzkkD+67BUWCO1K1 Wn9SH0LQNy/tlMl6/TQaMOnHEPx9ZJgBl5KMBwHasK1lZoEjnr5ItngYRa0IIayqauMI= X-Gm-Gg: Acq92OGd8BriH7P1xrHKNc3/RexT4JKXJJ8CrSHIyoHk0g7lQxo2LO0Lg6YLbQZk4zU JPe4hLhSjDc4AusvFgw98GJNQErxoDh0Drb6XhOTdM5dvjSpSXh9SzPKd6RUa4CdZmw1O/TQTEG qyDwR6rVr1jfgL3GbTE3CaMeE0g5VJPnyrgB22u+scPuBIU5j3/9KX3LLnCKDBBAd+s1EiATu/i mT3jk0E1pNHrJ6bjNGgzeynh5Uv04oraxGDikehbcBfOjHJ1jJr7zanuKaTA8gKqJx/2aRIZyS0 uyV/6WkX4QiBlOkTjtiFkkZN45X7ok8skLKlOC6oXgw1GSPsAq88IamrdltKrROT3ymJL9bTwpv EZVLadj/8DQ20xrJquxmrJkbwLWlZGWivO2U8coh3yxxaxlIGLrJrNqYei2tu X-Received: by 2002:a05:6a00:1f18:b0:82f:280a:d888 with SMTP id d2e1a72fcca58-84336908cbemr2281712b3a.12.1781165917646; Thu, 11 Jun 2026 01:18:37 -0700 (PDT) X-Received: by 2002:a05:6a00:1f18:b0:82f:280a:d888 with SMTP id d2e1a72fcca58-84336908cbemr2281659b3a.12.1781165917134; Thu, 11 Jun 2026 01:18:37 -0700 (PDT) Received: from hu-akakum-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8433831ce8fsm1188753b3a.57.2026.06.11.01.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2026 01:18:36 -0700 (PDT) From: Akash Kumar To: Greg Kroah-Hartman , Bjorn Andersson , Konrad Dybcio , Rob Herring , Dmitry Baryshkov , Krzysztof Kozlowski , Conor Dooley Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] usb: dwc3: Update nominal max votes for qcom usb Date: Thu, 11 Jun 2026 13:48:21 +0530 Message-ID: <20260611081831.2743464-1-akash.kumar@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: wtTwZZ2pFGxpyBQJOB2R9X4_OYnj3XDQ X-Proofpoint-Spam-Info: AW1haW4tMjYwNjExMDA4MSBTYWx0ZWRfX4E+dgs0xOCFr 3LH8eqnIHuq6T3qizGL0VQ+/VSycstJdXNjSoCuU4sSXef528W4A7dvWB8O+WB7iIGC0lB++IXk 3uarEED3DsHhpPfa1PM34uWSYKrJCzc= X-Proofpoint-ORIG-GUID: wtTwZZ2pFGxpyBQJOB2R9X4_OYnj3XDQ X-Authority-Analysis: v=2.4 cv=Kux9H2WN c=1 sm=1 tr=0 ts=6a2a6f5e cx=c_pps a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=g64AcZ1iVWnUTv4HF3QA:9 a=zc0IvFSfCIW2DFIPzwfm:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjExMDA4MSBTYWx0ZWRfX2ns8sC5OTweb 1/cra27KXIAM6XM/Zkdm9Osg66PpGuWVbeDsXhQSXdViyQ+POnrA4nQRXBO2GhHCodYnI+bxQoc MlP2/CeoBgjyPi7854VG1mnkk8ZkFwa23jy0Zd6mMJm3gHsLMRznbxQFsfULfZ74XDvtQyUb3+n Ra4v2ASyWIRK7E1RlpRGcaNTXCWZkVLgTl9Gaf73I3CHWxCRN14JC5Ys8KT/DYR0nIB4a6tSIm8 KRjG9mZcBz2a+mqjkbqQaIjinNAcahcj6yjTJFHXtC6caFs71BHHJB/9/hzPng1VFOvkur4JlvT JtUTaP9sMbAmhB6AiqKeGCCcCDl/MnioaKK96TZzyrzADuBjtKOAm5hhq+eYdl7t0YuLmSUk56A JkIa944u1ltjs3E8zMhfMuWY5T3dmII26P7pE7jo1mKvpwWahLB1/yqHrIOtpuRUTzdAQ6/FOF1 ij4pb38N1yuCOisAGqA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-11_01,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 malwarescore=0 phishscore=0 spamscore=0 bulkscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606110081 Increase nominal max votes to improve DDR performance and USB audio use case handling. Currently, Bandwidth vote for max nominal value is set to 2500, requiring DDR to run at 1GHz under normal load. DDR is allowed to run under nominal range at 1.5GHz, which is consistent across all targets. However, with the current nominal vote, glitches are observed during multiple audio use cases over USB. Update the nominal vote to allow DDR to run more efficiently, enabling simultaneous multiple USB audio use cases without glitches. With the existing vote, throughput is around 125MB/s. The updated nominal value increases throughput to 145MB/s. Benefits: Enhanced performance and stability for multiple USB audio use cases. Improved overall system efficiency with higher throughput. Slight improvement in the audio KPI from 17.9ms to 16.6ms RTD-USBC. By implementing this change, we expect to see significant improvements in both performance and stability, particularly for USB audio use cases, leading to a more efficient system overall. Signed-off-by: Akash Kumar --- drivers/usb/dwc3/dwc3-qcom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index f43f73ac36ff..aa43a03f3c7f 100644 --- a/drivers/usb/dwc3/dwc3-qcom.c +++ b/drivers/usb/dwc3/dwc3-qcom.c @@ -46,9 +46,9 @@ #define USB_MEMORY_AVG_HS_BW MBps_to_icc(240) #define USB_MEMORY_PEAK_HS_BW MBps_to_icc(700) #define USB_MEMORY_AVG_SS_BW MBps_to_icc(1000) -#define USB_MEMORY_PEAK_SS_BW MBps_to_icc(2500) -#define APPS_USB_AVG_BW 0 -#define APPS_USB_PEAK_BW MBps_to_icc(40) +#define USB_MEMORY_PEAK_SS_BW MBps_to_icc(5500) +#define APPS_USB_AVG_BW 40 +#define APPS_USB_PEAK_BW MBps_to_icc(80) /* Qualcomm SoCs with multiport support has up to 4 ports */ #define DWC3_QCOM_MAX_PORTS 4 -- 2.43.0