Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp879622rwr; Wed, 3 May 2023 07:23:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7tt8wxMoq+O9g+DP1IkyTAlhj9GJ1lQGtnnVB6fcUMXszHh4aisLTl0sXVCSkPG5/eWoPy X-Received: by 2002:a17:90a:1a07:b0:24e:1c72:c096 with SMTP id 7-20020a17090a1a0700b0024e1c72c096mr5430991pjk.4.1683123812599; Wed, 03 May 2023 07:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683123812; cv=none; d=google.com; s=arc-20160816; b=MKA1VshZojsXeyhCOdCjr0B8rrnuSbwAQKdKDZvh0VcppnvdZVOWVRGA89DTE8pcOt HXpS/f0B7ZB3IsV1dE24toOFEIy+Nf8EySafbWVoWhTJ3ojvOxa65UBzCgUnRwLwQ/I8 KbVtBSoo5+y5MR0/NIDBofe+DfMrER1uhJoYASExkSARO5I7THVtRphXlhtf3JhJHDK9 fku8BeSBTXc25vPiHDSfKrLxRXA2q14tLKtCbANW4TnCUdWwJd2T9b5fbNvhvGQb+anx p+WnLQSp5OoPBj9fOW5175EzGmdjZeJghzCn8+8yymyPKBFBBoICAe09ihcsppQ2F218 XD2w== 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=7khBcBG1XpYdD1x3sRYL52dOGaRGIlti36Xg5z0ye98=; b=u8LF2+nX8wJFkPfoPUk78tgwnW2XipUSq5EKNIxIaXU+ZdEyah7sC0rqMi7aMWty86 FfB/CTOnR6WZM+YXt9m5HyJdXie4EtT1mYn9HGGhDsuVliq9p+v0K2LDlFD2bDSIfpp0 rO+ZhsXCJk/caB51DIn4de12MB5TV+E0dM+0+OCnW0/eKPOKjr2ycrOTS7Q3KydSffSn Hr+tdQUijEHFsOBbz+Xn+jTdJfN+pUOTWZRpwdiMW0sd2iOz57bcIyqCeSaoH9vB1FPz nQKdh3cgoiKjrEWTtspqiBybcMx3xYIovjp1UIHLbII+PiHKFCBkMTQuMBPcpMoobZKs Onfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dtU3JmM0; 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 k32-20020a17090a3ea300b0024dfbcae37dsi1652711pjc.94.2023.05.03.07.23.17; Wed, 03 May 2023 07:23:32 -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=dtU3JmM0; 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 S230123AbjECOWZ (ORCPT + 99 others); Wed, 3 May 2023 10:22:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbjECOWI (ORCPT ); Wed, 3 May 2023 10:22:08 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28D6465BC; Wed, 3 May 2023 07:21:20 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 343BfjpU030761; Wed, 3 May 2023 14:21:08 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=7khBcBG1XpYdD1x3sRYL52dOGaRGIlti36Xg5z0ye98=; b=dtU3JmM06T3MUhvJK+J6EXDiMcgBxZFSeLTjlIjLT4iP1b//Ljqs0rpbGIU5W/hmr3RX dMriuAxGlAHasZfKPi2QGYOuWyb35T/SFk9QKa25+yyyyM1RaVByMgU1j8CNJJpdJCwA /RkQm19lyp9ZQ0TgOjqK9LPxZuGlxxAlcQCcgeVZIupV9AHgPl8gpRGw7HChKEHTM1V9 wmnlTBGbnfVKno2I8TzyUHip9Ra/jBbRCeT5XLNfRtEmjfLSaCShxAgppBNc7R+Sr3jo SC/yNicXAcv7ygfSRcXenrudD1971tHsswhewW+4kB8sx5nAimmWlfuJG0jaCHe0zw8S JQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qbbsw1qbf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 May 2023 14:21:08 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 343EL6Uh003991 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 3 May 2023 14:21:06 GMT Received: from [10.216.34.27] (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, 3 May 2023 07:21:00 -0700 Message-ID: <910de571-caaf-97df-2065-e16efa454bad@quicinc.com> Date: Wed, 3 May 2023 19:50:57 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v7 5/9] usb: dwc3: core: Refactor PHY logic to support Multiport Controller To: Johan Hovold CC: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , "Andy Gross" , Bjorn Andersson , "Konrad Dybcio" , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng , , , , , , , , , , References: <20230501143445.3851-1-quic_kriskura@quicinc.com> <20230501143445.3851-6-quic_kriskura@quicinc.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: nasanex01a.na.qualcomm.com (10.52.223.231) 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-GUID: Ir-r3XkINdVPa2VseGizgn2wdVCWMwt_ X-Proofpoint-ORIG-GUID: Ir-r3XkINdVPa2VseGizgn2wdVCWMwt_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-03_09,2023-05-03_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 suspectscore=0 malwarescore=0 mlxlogscore=600 impostorscore=0 bulkscore=0 mlxscore=0 phishscore=0 spamscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305030118 X-Spam-Status: No, score=-6.4 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,URIBL_BLOCKED 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 5/3/2023 4:40 PM, Johan Hovold wrote: > On Mon, May 01, 2023 at 08:04:41PM +0530, Krishna Kurapati wrote: >> Currently the DWC3 driver supports only single port controller >> which requires at most one HS and one SS PHY. >> >> But the DWC3 USB controller can be connected to multiple ports and >> each port can have their own PHYs. Each port of the multiport >> controller can either be HS+SS capable or HS only capable >> Proper quantification of them is required to modify GUSB2PHYCFG >> and GUSB3PIPECTL registers appropriately. >> >> Add support for detecting, obtaining and configuring phy's supported >> by a multiport controller and limit the max number of ports >> supported to 4. >> >> Signed-off-by: Harsh Agarwal >> Signed-off-by: Krishna Kurapati >> --- >> drivers/usb/dwc3/core.c | 262 +++++++++++++++++++++++++++++----------- >> drivers/usb/dwc3/core.h | 12 +- >> drivers/usb/dwc3/drd.c | 13 +- >> 3 files changed, 209 insertions(+), 78 deletions(-) > > Note that this patch no longer applies and you need to rebase the series > on mainline (e.g. including commit 1d72fab47656 ("USB: dwc3: refactor > phy handling"). > > Johan Hi Johan, This series is rebased on top of usb-next (on top of the above mentioned patch). Probably that is why its not applying on top of linux-next. Regards, Krishna,