From patchwork Fri Sep 22 05:12:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Agarwal X-Patchwork-Id: 14373 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp5540367vqi; Fri, 22 Sep 2023 05:42:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZV4k6CDkXmhlKGxdCRFWB+fZtXubIqGdTxkBpkopQKSZU+e6EPDC/DUI4Q40SepZR1yKd X-Received: by 2002:a05:6358:274b:b0:143:6816:7ed1 with SMTP id p11-20020a056358274b00b0014368167ed1mr12627745rwd.0.1695386558864; Fri, 22 Sep 2023 05:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695386558; cv=none; d=google.com; s=arc-20160816; b=BfxPk86Px3tveORNmv9j2KvrDxFdqCmlWuwFQTuT0Q9AEoXXEPMP4CQsjS8RnQvmj3 fqi1JH2zh7vT6mPF6O87EtMeER9ze7eJNIh0DQditD1uGYBqXkYTVLi1WkYbs5GrCij3 NRCXbkss3jBYn25Ip9NKJ6o4g/HSCczsnR/6bPXyHoZCCCeXJWL3s1sm+BgxWDyZTPQc aDftzCPcAl2xExw1AaaFHF8on0Cg9SnpLwlxbL8Ym0MgOYXNgO0PDHcGzqab77TAMHKp 6f0n1uzP8bq6fD5ciHAKZVXhdOpTMOdwXoG8+3ASshnEWsST0wEi6h61b4KtVTXovyuK zDIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=FauZzeskmT8dla8YmBfB87sjHW1LlsqtON8HT6+hUOU=; fh=4cpL3d1UFAJUk0mxGNKJpOBTILOG0ZAJTASdO2rqUpA=; b=gHGYbtIPKCVoieAUgJnD2W8G+CYy5e8kB9SbTlUy3VOHxYUKn1d4cXoG7tzUhFzaA8 rUPvlqj0gRYHDSbVAxrsI6l4ynqQtAX8gGn1g2cKrwQCsDkL7gQJCDssRqPzh85SdMVW r0gs+FgsRsjDX1sGPzW/WB3XIz6sIzM6fbHHVpHMH3k7P6wF3qlTosyK3znhjljv86zT X23cdXny/k27k5E32bMtdnj7OtfpVrz+uyXmgLFi9PeCLAU3W/blzp2s99SRTpEU9+XG FyzU/xH8opqJujalhiRrNvKvprt+tLRctgZZ/U6/ldKjdGW1T5PJdo1IyVdMfz0AksS1 wwnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LmlUO2TD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j2-20020a63e742000000b00577960a815csi3611921pgk.188.2023.09.22.05.42.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 05:42:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LmlUO2TD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7539084A6C70; Thu, 21 Sep 2023 22:12:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231128AbjIVFMo (ORCPT + 30 others); Fri, 22 Sep 2023 01:12:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbjIVFM3 (ORCPT ); Fri, 22 Sep 2023 01:12:29 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8C591A4; Thu, 21 Sep 2023 22:12:22 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38M4rFrQ025749; Fri, 22 Sep 2023 05:12:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=FauZzeskmT8dla8YmBfB87sjHW1LlsqtON8HT6+hUOU=; b=LmlUO2TDeZdFo7Pqdfzwuua04t7uROBFHrokIxVGSaeL0zIjw4BQIrjsZWfU57Cj8bjx CIM160MkB+rK/OBOq5Ze2tYBumiyahEO02g1AeWVBnwsE5IPYLx6Yi+qOBG8wpqLmMWN ywGBbcCxICQFls4Y06NxxGVnEXNgoMqiUNH5VYQvIsnU1lf757r4ZmkGERtenu/nh6x1 mqvKo7y0CNcwSntdqisAEHe4F0sVrtKa0oSltaO9Q3LgD79cT6g9WD+aup4ZHg8QzZsU NYi7j+OovmaXgzCjOkQDJR5mWeaXDMOFTJ7VecWY7YzJVgtV1JKHjBTI71w00dCdB2Id ow== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8u5n11aq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 05:12:12 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 38M5C8TB018629; Fri, 22 Sep 2023 05:12:08 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3t55em90uk-1; Fri, 22 Sep 2023 05:12:08 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 38M5C7qR018615; Fri, 22 Sep 2023 05:12:07 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 38M5C7F8018613; Fri, 22 Sep 2023 05:12:07 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id C5A911E16; Fri, 22 Sep 2023 10:42:06 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, abel.vesa@linaro.org, quic_wcheng@quicinc.com, dmitry.baryshkov@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, kernel@quicinc.com, Rohit Agarwal Subject: [PATCH v4 0/5] Add USB Support on Qualcomm's SDX75 Platform Date: Fri, 22 Sep 2023 10:42:00 +0530 Message-Id: <1695359525-4548-1-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Tg-8ZDXyCxKYIW2qgD9EO-H1jvH_uSV- X-Proofpoint-GUID: Tg-8ZDXyCxKYIW2qgD9EO-H1jvH_uSV- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-22_03,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=699 priorityscore=1501 malwarescore=0 spamscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 clxscore=1015 adultscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309220045 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=no 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 21 Sep 2023 22:12:48 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777741656186752214 X-GMAIL-MSGID: 1777741656186752214 Hi, Changes in v4: - Replaced the v5 offsets with v6 offsets as per Dmitry's suggestion in patch 5/5. Changes in v3: - Removed the unnecessary change introduced in v2 of patch 2/5 - Added Fixes tag in patch 3/5 - Rebased patch 5/5 on Dmitry's cleanup patches. https://lore.kernel.org/all/20230911203842.778411-1-dmitry.baryshkov@linaro.org/ https://lore.kernel.org/linux-phy/20230824211952.1397699-1-dmitry.baryshkov@linaro.org/ Changes in v2: - Dropped the new dt schema introduced in v1 for sdx75 usb3 phy and reusing the bindings. - Rephrased the commit message of patch 3/5 - Removed stray lines from the patch 5/5 This series adds support of USB3 PHY support for Qualcomm's SDX75 Platform. Thanks, Rohit. Rohit Agarwal (5): dt-bindings: phy: qcom,snps-eusb2-phy: Add compatible for SDX75 dt-bindings: phy: qcom,qmp-usb: Add SDX75 USB3 PHY dt-bindings: usb: qcom,dwc3: Fix SDX65 clocks dt-bindings: usb: dwc3: Add SDX75 compatible phy: qcom-qmp-usb: Add Qualcomm SDX75 USB3 PHY support .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 2 + .../bindings/phy/qcom,snps-eusb2-phy.yaml | 7 +- .../devicetree/bindings/usb/qcom,dwc3.yaml | 4 + drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 173 +++++++++++++++++++++ 4 files changed, 185 insertions(+), 1 deletion(-)