From patchwork Wed Nov 13 07:23:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 843463 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 732CB178CF6; Wed, 13 Nov 2024 07:24:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731482647; cv=none; b=cyAVrbBqHgUCReOtxrgverrtKwpWmA2V5E+tpsjpTDGfCcWsc+rvEdDdfzitPQKApebWXQwiKgPyhM92gI+fRkl/B+J6zI0YN40S9V3J5+qwdmvEyLcCAvQ5yoC8Np91DDyz3SzRDSefGuxxD3q92BiImy9LR9HJsxRirBzUEbY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731482647; c=relaxed/simple; bh=l7Gu2wjPc96MxVlaRfVoOqL0JM/EmrF2IYHgBkbH/oE=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=eIE1LzJw85+O55IjJvqztDwZT6qc/ytAIjOIADsAJWmlp4DLM37mcEoau1h+5dcCqBtPpO1QHz2cLieehyR/xne4gYf8n/dNcT6ZtO4mWfdydFmeuetDRbi7g/Z/++urdxnRTjQsyWjw2ElAs3wgly3bMPPdHOijaSsNVEEF4fU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=KMbd+Z3A; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="KMbd+Z3A" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AD70g8l019320; Wed, 13 Nov 2024 07:23:59 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=Gy/9ZW9uaLPxNw3DnGiC7s 2OMa7yvZVhaO+NMH0cXNw=; b=KMbd+Z3ARHA8KtRd44H2CZEMvuvFL2aaBdUUE4 erTjdy0uTJBKUvfr353SfKVq8r5JqvAlPcXyIvqi0ab3K1wKTqeonWBIwqcyLlxK 59CSjOrZOciUNKvQwlbRtqs/PDpgKO17UEKfWasEyuCkLQi7kNsjz9QEoTF336cR AAFbg76DF1KzfwP24TIVo6RFiZ+eBzawrFrDa1wL1blSLgJuhqSb/fRWSqHFFFsf 4y0sipV8ReY5RT70Zw9jadMLnnN0DLfD+S9vAHZAp4YRoEmIArB/f98FeJzcaoAX Txx9qzzlaMylFKttbqQWsz4VML4mKMtSvzOC9vjDjCtMjuFA== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42vqbm01w7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Nov 2024 07:23:58 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4AD7NvOC025923 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Nov 2024 07:23:57 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; Tue, 12 Nov 2024 23:23:51 -0800 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v2 0/6] Enable IPQ5424 USB support Date: Wed, 13 Nov 2024 12:53:10 +0530 Message-ID: <20241113072316.2829050-1-quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: U9e5jszlfXxq1V3YKYAePtfypHkunfVN X-Proofpoint-GUID: U9e5jszlfXxq1V3YKYAePtfypHkunfVN 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 lowpriorityscore=0 phishscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=647 spamscore=0 bulkscore=0 suspectscore=0 malwarescore=0 adultscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411130064 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. 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 | 67 ++++++++ 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, 261 insertions(+) base-commit: 28955f4fa2823e39f1ecfb3a37a364563527afbc