Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10356256rwd; Wed, 21 Jun 2023 21:48:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ40MDwOfIDm+aFJE+dH1AZ1fvecpdmBYx7pyzPEeGn3FPzI1RJfaJMrFUMTvzYzVZAxGh55 X-Received: by 2002:a05:6808:3c9:b0:39e:ffc5:c46a with SMTP id o9-20020a05680803c900b0039effc5c46amr1129147oie.34.1687409287127; Wed, 21 Jun 2023 21:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687409287; cv=none; d=google.com; s=arc-20160816; b=gnva2pkKtmfBa1LphcdYwpOLYhcc2grci+ldBrhvvH7OleZLXzTHWfAmOEXNZ0mHa6 lyoKJfKyrDL0wOwxzWsuPKtalRDa+gIYtiXkCoGkyZJ65HqPbr0qSSLdwjh7/Wquqwga wipzxikBzz0wxoMlID8AOu6NbpnwDY9y53T9jwLCmUCBrzHD7zBB6ctLyehcAWmaRQuE 6IS31VMdUnW82zraGhH190Pzkc/mo3F1MpN9sIhhb2YYq7HyIluSnjWOWDOmsnGHRhvk GE2m6cPjCj/zxWv+Xqi9yRpPRuydbEd+NopxxpfgCoi4nCAUvuzy/+5w1wE2UTB/7GyY aFYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=b3QY04BaXwdxDByWW6IPZPiZMwPBhZgi2RIteR6pKGQ=; b=KYcs12bXRbPlIRNfhIwj0vGFxugnQUtC5LfQ4cVBe0Tlb2LQkEzZIbCSdJegrJw+ZY ALim/5R6I2wK+fZnd67XpqMdHf15RH2ONAfwLVM1RQ/uDsNpiiDxQp1aYupGRITHRrTF sVReASARyyIerwofRRKlGuZCPmWPqyUqTSH2jf+y2opmftQ8kpQ6F1KAHk+rccPN9EoS 1vyBosjWmO7zOPEtUfOarzot9MwWXkDyGv+96C+vXWwYDfCuHNtgbEMheuPtO9+vucxZ 2TCtrdglPds/piSkQwvI4e3A62yEUSA5a+4ssJoBA1+0UuyREIIrGWJ2XsiaiKRFf3Wi dK3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=B6nso4tg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk14-20020a17090b4a0e00b0025df9f1f7a1si6498497pjb.94.2023.06.21.21.47.55; Wed, 21 Jun 2023 21:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=B6nso4tg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230462AbjFVEjl (ORCPT + 99 others); Thu, 22 Jun 2023 00:39:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbjFVEjj (ORCPT ); Thu, 22 Jun 2023 00:39:39 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B280EE69; Wed, 21 Jun 2023 21:39:38 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35M3rpGN000655; Thu, 22 Jun 2023 04:39:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=b3QY04BaXwdxDByWW6IPZPiZMwPBhZgi2RIteR6pKGQ=; b=B6nso4tg9DmX7jyXWouafFaVpAEiIY2tdnU+3G5xsWjW3PeB26xFPXkLLrCC1bdxB1Gl /93vpMZW3lcuIGHKLS+Wp9zisRDaXWesWpEZfSUzAq8kj4TbpuFmOcUsiPqZb/9XFRBc v8kN3nQnLOPlhpW9vao8MDvuvtlY9ALvgXSdvOMv5doMwnhOAKGHneX4gMVb9rTOo8xm QFx320XvRmxDNypu2uf7TfhQMs4xoM12qKploqQU7xjQF+S813ZWTWTMVr1jI6K/JvKj cOGcThqo2lvZ8HsD4pUwQPQpASjqRSqZyBN2psXAn5R2nd8UwDAX4fI7OEy/ob34x/gH tw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rbqjbaxfe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jun 2023 04:39:23 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35M4dL2n000851 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jun 2023 04:39:21 GMT Received: from [10.216.6.225] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 21 Jun 2023 21:39:16 -0700 Message-ID: <3f9957ad-cc73-2a4b-f11c-98b0b79f829c@quicinc.com> Date: Thu, 22 Jun 2023 10:09:13 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Subject: Re: [PATCH v8 6/9] usb: dwc3: qcom: Add multiport controller support for qcom wrapper To: Johan Hovold , Thinh Nguyen CC: Bjorn Andersson , Greg Kroah-Hartman , Philipp Zabel , "Andy Gross" , Konrad Dybcio , "Rob Herring" , Krzysztof Kozlowski , Felipe Balbi , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "devicetree@vger.kernel.org" , "quic_pkondeti@quicinc.com" , "quic_ppratap@quicinc.com" , "quic_wcheng@quicinc.com" , "quic_jackp@quicinc.com" , "quic_harshq@quicinc.com" , "ahalaney@redhat.com" References: <82553597-ce0e-48f4-44d4-9eeaaf4cb1c4@quicinc.com> <99cded6f-6a71-ffce-8479-c7c0726bfb8e@quicinc.com> <279fff8b-57e2-cfc8-cd6d-c69d00e71799@quicinc.com> <20230608175705.2ajrteztdeqdrkzg@synopsys.com> <20230609181602.ljxdchgzl7kzk73n@synopsys.com> <20230615210800.lvmekpvxjiszkrh4@synopsys.com> Content-Language: en-US From: Krishna Kurapati PSSNV In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: E9IEAhF4tL47Moo3iCf2rcMMLYffulG6 X-Proofpoint-GUID: E9IEAhF4tL47Moo3iCf2rcMMLYffulG6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-22_02,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 adultscore=0 suspectscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 mlxlogscore=659 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306220036 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/21/2023 1:08 PM, Johan Hovold wrote: > On Thu, Jun 15, 2023 at 09:08:01PM +0000, Thinh Nguyen wrote: >> On Thu, Jun 15, 2023, Krishna Kurapati PSSNV wrote: > >>> How about we add compatible data indicating the number of usb2/usb3 ports. >>> That way we needn't parse the DT or read xhci registers atleast as a >>> temporary solution to unblock other patches. Once this series is merged, we >>> can get back to fixing the port count calculation. Does it seem fine ? >>> >> >> Temporary solution should not involve DT as it's not easily reverted or >> changed. Just include xhci-ext-caps.h and use the inline function. I >> think Johan is fine with that. If not, he can provide more feedback. > > Yes, I already suggested that as a quick way forward since it is already > used this way by the xhci debug driver. > > Johan Hi Johan, Thinh, Pushed a v9 following the above suggestion. Thanks, Krishna,