From patchwork Thu Nov 14 07:47:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 13874679 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 3FFB2D65C57 for ; Thu, 14 Nov 2024 07:49:32 +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:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=zcE9IKRdnA/V1dnXTxeSnqeeQYXaqrMke9SpEsT5HoQ=; b=4ctObsJo9wcwzc 6Q51BxZxx9I8oaqw3lofxt06URZfKhZlPfjC0FPFnlrw1JLXTkIkmL+hwTX3NCGOVUB5NgaltBCtr PQny3azgD44BuOVYDmpPz8dIps15bnxpGLV7OLGDDCoIogb05GOtc3bVGEiSf7UiEJpeODhowGCQC P9n1C4jIChtQtSDHAmoegHVOm+OSobYW7R/uIzPLYwOG6xJ7swv8Vi8uj74pWmbcWCcPIeNl7X+lI nHP9nLiTrUocfCtCcW0eHgEw7KKGPCSgwE7+XtySgXAcbXm9I12fgR+J/gyXDwgRXaHKXOwkjC5NW bx7m8GdaTyu0SM8inDFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tBUbb-000000097bk-1W5k; Thu, 14 Nov 2024 07:49:31 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tBUa3-000000097JH-3m9V for linux-phy@lists.infradead.org; Thu, 14 Nov 2024 07:47:57 +0000 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AE6l07m028186; Thu, 14 Nov 2024 07:47:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=38K9nBITMijp41NngptL// /a/AQlhrt44KQIiSWz4HU=; b=n5ojcF45s9FTv+GWcuW6Ukis47vUMvgY3kM/5l 2RlHO0l21+QuKpEe6PNT7ZiEmtHtlkPC0D5T/Bq6Z0dz9fkTvjHEBKF87ApVd005 ubGfqLYcc+CjZ2OcCHaH/aSaKTCEI7MTOS/ov+rRtSTAPHz4IghpLnOdwqTK3loE oWeuAn3GbOk3M5VBPkaQ/vQeg+D9RxVaLModna95p83PwC9zhpICr7sCerQD1j3N q9a75I4Whzr3EOIXBt99rSv/HzWLwOKTqDOySK/5VtQqcS79wFM0TBmHKzQcS/Ar B3JAKTuDal0ykn4SCbI0hyadx6C0kzZ2coYp1cD1Muz9RKNw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42w10jtf94-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Nov 2024 07:47:48 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4AE7llhO027156 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Nov 2024 07:47:47 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 13 Nov 2024 23:47:41 -0800 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v3 0/6] Enable IPQ5424 USB support Date: Thu, 14 Nov 2024 13:17:16 +0530 Message-ID: <20241114074722.4085319-1-quic_varada@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 nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: WToL0mJjIcg9z2jn3qR4P1JUbQdutFuI X-Proofpoint-GUID: WToL0mJjIcg9z2jn3qR4P1JUbQdutFuI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 suspectscore=0 spamscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=651 impostorscore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411140058 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241113_234756_076838_7E758703 X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. 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 The IPQ5424 SoC has both USB2.0 and USB3.0 controllers. The USB3.0 can connect to either of USB2.0 or USB3.0 phy and operate in the respective mode. v3: Added reviewed-by to one of the patches dts: regulator node names changed v2: Added acked-by and reviewed-by to few of the patches Changed uppercase hex digits to lowercase dts: add more interrupts & quirks as suggested in the review Varadarajan Narayanan (6): dt-bindings: phy: qcom,qusb2: Document IPQ5424 compatible phy: qcom-qusb2: add QUSB2 support for IPQ5424 dt-bindings: phy: qcom,qmp-usb: Add IPQ5424 USB3 PHY phy: qcom: qmp: Enable IPQ5424 support dt-bindings: usb: qcom,dwc3: Add IPQ5424 to USB DWC3 bindings arm64: dts: qcom: Add USB controller and phy nodes for IPQ5424 .../bindings/phy/qcom,qusb2-phy.yaml | 1 + .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 2 + .../devicetree/bindings/usb/qcom,dwc3.yaml | 1 + arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts | 66 ++++++++ arch/arm64/boot/dts/qcom/ipq5424.dtsi | 159 ++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 3 + drivers/phy/qualcomm/phy-qcom-qusb2.c | 28 +++ 7 files changed, 260 insertions(+) base-commit: 28955f4fa2823e39f1ecfb3a37a364563527afbc