From patchwork Mon Oct 14 08:44:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 13834347 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 99987155756; Mon, 14 Oct 2024 08:45:00 +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=1728895502; cv=none; b=mmMjscjpLlzxhVb4/oOBKMM5alnX6q5/nm0/EXrOnP9Qlsnzpglnvk2NGgDfZNsA3jfvwPgwXFF+UeNkfZPPhK2SXDdgTGur2n0FQLfFuLDFj9u8K9pFOwDr/atFH4G7SBhqIe3pKB1nv3BWK08kOum7otwWY4uSG3IOkcsPQsA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728895502; c=relaxed/simple; bh=QoP8iPr+fVnnS97eu95m5O2F0x4LsHdGOPZQPOZsMSs=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=R5gJanYvvqTu+eVwpykgbnEq2d4v5QuCSiD+bcS3G/6BKhDgBUk/tklpqnMvP817ZPtjdNlUe18Wsd2DtMrTNlOoiMesq/SRO0TkNOJon9CtascAwjwFLPdS9bw/QTZbaL0k3r3/+OOjx2NMFX0Xf2RnSpB/bE4S7cbFd6sggo4= 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=Ucph95/7; 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="Ucph95/7" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49DMuKBO019709; Mon, 14 Oct 2024 08:44:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=EnXmBCeVsiTcuW3H/7Ye9G aQf18jZRw1FMPtUbjudi4=; b=Ucph95/7FikJV3emy4b94HzAGHHDEcw1tp/cjF P2I6qZ6gAdVgciBJ+c4RHe5PIRf9B8uy1L9MYzO7KpY9frTbcqcCInrk3yYVCo2j jpaPV4ifLRrkLkba9bxEb94porvSkIDsxPiuRyVFzAURdh4mVJRj4aqDtvQkRJ8c krJ/OxByPEb1/CNJ7XdDRhRI+A+rAOq6x9dDgCnB5qHZvIAdDdF/3J02pDsjd8ZY 3ZCvj0eGNFfdqgP88qVfZUd1TOlIFQv3BuYeqfq5qJlHBz/gi3hjBkZxJNcMrXCM 6JzNtTrsS9mTi8ITffIR5Z/e0liabIyjwIJ5a6ASTzVrhSuA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 427h6tuu2h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Oct 2024 08:44:50 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49E8inms012879 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Oct 2024 08:44:49 GMT Received: from hu-kriskura-hyd.qualcomm.com (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.1544.9; Mon, 14 Oct 2024 01:44:43 -0700 From: Krishna Kurapati To: Vinod Koul , Krzysztof Kozlowski , Rob Herring , Kishon Vijay Abraham I , Bjorn Andersson , Wesley Cheng , Konrad Dybcio , "Dmitry Baryshkov" , Conor Dooley , Greg Kroah-Hartman , Manivannan Sadhasivam CC: , , , , , , , Krishna Kurapati Subject: [PATCH 0/5] Add support for primary USB controller on QCS615. Date: Mon, 14 Oct 2024 14:14:27 +0530 Message-ID: <20241014084432.3310114-1-quic_kriskura@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 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: 0Zr3wbMAg4KeXj0aKqcEgQJuiBrD0kgm X-Proofpoint-ORIG-GUID: 0Zr3wbMAg4KeXj0aKqcEgQJuiBrD0kgm 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 bulkscore=0 phishscore=0 mlxlogscore=852 malwarescore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 spamscore=0 suspectscore=0 clxscore=1011 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410140063 This series aims at enabling USB on QCS615 which has 2 USB controllers. The primary controller is SuperSpeed capable and secondary one is High Speed only capable. The High Speed Phy is a QUSB2 phy and the SuperSpeed Phy is a QMP Uni Phy which supports non-concurrent DP. Device tree patches will sent separately after the SMMU node is acked [1] on upstream. DT Binding checks done on the binding patches. Bindings have been added only for the first controller. [1]: https://lore.kernel.org/all/20241011063112.19087-1-quic_qqzhou@quicinc.com/ Krishna Kurapati (5): dt-bindings: usb: qcom,dwc3: Add QCS615 to USB DWC3 bindings dt-bindings: phy: qcom,qusb2: Add bindings for QCS615 dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support for QCS615 phy: qcom-qusb2: Add support for QCS615 phy: qcom: qmp-usbc: Add qmp configuration for QCS615 .../phy/qcom,msm8998-qmp-usb3-phy.yaml | 2 ++ .../bindings/phy/qcom,qusb2-phy.yaml | 1 + .../devicetree/bindings/usb/qcom,dwc3.yaml | 3 ++ drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 3 ++ drivers/phy/qualcomm/phy-qcom-qusb2.c | 29 +++++++++++++++++++ 5 files changed, 38 insertions(+)