From patchwork Fri Sep 29 08:42:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Praveenkumar I X-Patchwork-Id: 13403824 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A244E743F9 for ; Fri, 29 Sep 2023 08:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OFNwrIMIziAZko7xmq7AXAUuIk64OgQrYkvRiG+0A98=; b=CH3tkT7IVYYJw7 e5aWwSrn3gbbyh98fiGxeJCNUmFMCMQgq/qoMyOgvfjkBGQmtLm8L8Za29LZAWsFchDY8CceblPIf CEwCft/PhDJaaYYC2bgTjW9Fz2KXiX40sOqiSq2/wcNHX6SFKMxLnoXUuyYAbRzUD1DhihRVtFQTr RZV7xMsFESSPIBtHTF5M2kluOTKuenjHZx3hwaGaodXXJBDPN3nXLpAVxPC+0vjOVv6/WMp01bgUB qsNIqKEB4/KhvA6bdBQiLbp2gCbbQPzR5+RYVMuUMlJEyvwNFkFi5p4BqcA41gAseSZl027JIxrUK oXTqC6rbiq0BPI1Y3WWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qm95L-007OH2-2U; Fri, 29 Sep 2023 08:42:55 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qm95H-007OFU-2v; Fri, 29 Sep 2023 08:42:53 +0000 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38T8ePCd020771; Fri, 29 Sep 2023 08:42:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=uSMLX75mWCZNaKWjpTPvmVN0X1WE4yDzVcF62/BNJ4Q=; b=IwDDx3NANBUvWYjZ9poDz5ulec1XKS8AOT368aVE+ccbfcI4TfFe1tvqyGBkkoP7rWOe +XWy2ia7PKZ8pLYkeFUVa/U7h/fusomXKoX2whDKcaohT3cCGPUgf/mvyNLTbv5DJqyL xmOHrU9Bsz3Yb7xu2lrBqdCnhZW56xHYRHVh7dEjTBW2VQjhM9q/x/gYY0/Ubs3rWV+p fZ2gVsHIBfIPtWMg6/i2hMTTJJdzFj/zil8h/5E/y1S1F6lqOziBBXO+pnWVm1Iln5BG +h7G6nZxsq/UZ+gxvPct6YKDDfswTcEp1SIA5NI0/dqzCItJ+UEU3Z8OjlH2vjeJpPpE lQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3td24uaw07-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 08:42:34 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38T8gXpJ026997 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 08:42:33 GMT Received: from hu-ipkumar-blr.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 29 Sep 2023 01:42:23 -0700 From: Praveenkumar I To: , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , Subject: [PATCH 0/8] Enable USB3 for Qualcomm IPQ5332 Date: Fri, 29 Sep 2023 14:12:01 +0530 Message-ID: <20230929084209.3033093-1-quic_ipkumar@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: zCnb6Lekb27uVrJ1pV3Nm1Ks_1SeRTRe X-Proofpoint-ORIG-GUID: zCnb6Lekb27uVrJ1pV3Nm1Ks_1SeRTRe 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-29_07,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=15 clxscore=1011 malwarescore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 spamscore=15 priorityscore=1501 mlxscore=15 mlxlogscore=77 adultscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309290074 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230929_014252_083420_BFCBF7F4 X-CRM114-Status: GOOD ( 15.55 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Patch series adds Qualcomm 22ull Super-Speed USB UNIPHY driver support present in Qualcomm IPQ5332 SoC which is required to enable the USB3. This PHY is interfaced with SNPS DWC3 USB and SNPS DWC PCIe. Either one of the interface can use it via the mux selection present in the TCSR register. Current patch series adds the support for UNIPHY with DWC3 USB. Discards the first patch series as adding a new driver. https://lore.kernel.org/all/20230829135818.2219438-1-quic_ipkumar@quicinc.com/ Praveenkumar I (8): dt-bindings: phy: qcom,uniphy-usb: Document qcom,uniphy-usb phy phy: qcom: Introduce Super-Speed USB UNIPHY driver arm64: dts: qcom: ipq5332: Add USB Super-Speed PHY node dt-bindings: usb: dwc3: Add clocks on Qualcomm IPQ5332 arm64: dts: qcom: ipq5332: Add clocks for USB Super-Speed arm64: dts: qcom: ipq5332: Add Super-Speed UNIPHY in USB node arm64: dts: qcom: ipq5332: Enable USB Super-Speed PHY arm64: defconfig: Enable qcom USB UNIPHY driver .../bindings/phy/qcom,ipq5332-usb-uniphy.yaml | 83 +++++ .../devicetree/bindings/usb/qcom,dwc3.yaml | 20 +- arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 6 + arch/arm64/boot/dts/qcom/ipq5332.dtsi | 40 ++- arch/arm64/configs/defconfig | 1 + drivers/phy/qualcomm/Kconfig | 11 + drivers/phy/qualcomm/Makefile | 1 + drivers/phy/qualcomm/phy-qcom-uniphy-usb.c | 322 ++++++++++++++++++ 8 files changed, 476 insertions(+), 8 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-uniphy.yaml create mode 100644 drivers/phy/qualcomm/phy-qcom-uniphy-usb.c