From patchwork Mon Jan 13 21:52:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 13938133 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 3573EC02183 for ; Mon, 13 Jan 2025 21:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:CC:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject: 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=dv4IcBAjfmR+8HBRab6BpcxMQm42RAKQVauGMIi29SI=; b=NmYv136NfP0jJj IZaT2M7Ipf3fIksTcRnMp6MiCvwS23s6QBN33qtc3GN4t1ufLrepOL6JeHMIZiSQNOFdwpKEHhCPG MUiDkoU6R8q3D48hIILmUedMYgtKkOeRVf+asny2bJxvy7aUS7rovYKAEIBC3+VOCn5f2A/Yy/Ycx ExCqc+iSPkmkY2dAnxtXTT8nnBH5BWvaMkfCcsu1czT9gJgZINayRbvv+31eAKRkW3dO1jFF4Ul6/ nJJW21b/GmsyLoT8TXDQoOogVCsKpeA6pmJCaNDcvEBuAaXXw7uamzXeZjTAxuWBn8T1GMs83LBwa Nud0M5fGRBRZQh1LLVxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tXSNS-00000006jid-2AuS; Mon, 13 Jan 2025 21:53:42 +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 1tXSMC-00000006jRz-1zuI; Mon, 13 Jan 2025 21:52:25 +0000 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 50DErdiY021698; Mon, 13 Jan 2025 21:52:18 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=dv4IcBAjfmR+8HBRab6Bpc xMQm42RAKQVauGMIi29SI=; b=Zy1Ekw2712um8rh9fLkX/hg6lIwwYjsnqrNWjV nVZRT+Mw2lh1r4C20NX7/zFov1+WxbznyK7BYhz0tU8dJ0mxxlykkjwXB7A6gEE/ noUwOqygHAetmtXzyFGTVSo7ZGGr82CNA/RE0x8/Ay/7N6Q7Xqx29pBKII1fldaU S0DB2JMdZqFw2nNo6zlmbRWFY+ud3Q2JuICodLsvXegUZf4HCopZWesh6NXvMWmW NBZeO6ruKZrOjHFPjmarrWl3U22Q3oBwIP6KsSdOmxMg6mgnYxZZnAvsrUrKvqvX OADDm/Gz6LEEDlnCjzK4UrpLbV+y+mXAEUurDrFN0jvGxgaQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44550agy5p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:52:17 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50DLqGm2007327 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:52:16 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) 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; Mon, 13 Jan 2025 13:52:15 -0800 From: Melody Olvera Subject: [PATCH 0/7] phy: qcom: Introduce USB support for SM8750 Date: Mon, 13 Jan 2025 13:52:06 -0800 Message-ID: <20250113-sm8750_usb_master-v1-0-09afe1dc2524@quicinc.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAaLhWcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDIyNj3eJcC3NTg/jS4qT43MTiktQi3TQj88TUFPM0sxQTAyWgvoKi1LT MCrCZ0bEQflFqYSnQ6BKoYG0tANI1Wr14AAAA X-Change-ID: 20241223-sm8750_usb_master-f27aed7f6d40 To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng , Greg Kroah-Hartman , Philipp Zabel , Catalin Marinas , "Will Deacon" , Bjorn Andersson , "Konrad Dybcio" , Satya Durga Srinivasu Prabhala , Trilok Soni CC: , , , , , , "Melody Olvera" X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736805135; l=1558; i=quic_molvera@quicinc.com; s=20241204; h=from:subject:message-id; bh=9yBaQXiDZeh03gIlt6HNO/bkE/PQmksKg5pRplG5EhI=; b=xuMgWRgaCzMFnPtCOE1uIVMKz0zTJxnpSvsVo7wQdqAQ8QRca8m2ngKmEpetwypNUmW2nRpKN 7JDJe+6I9+YCroZDfta4/4pR5kfZ891+49bGC/WQhjrQvlJwVFhQzIF X-Developer-Key: i=quic_molvera@quicinc.com; a=ed25519; pk=1DGLp3zVYsHAWipMaNZZTHR321e8xK52C9vuAoeca5c= X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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: ctpwBzOBrwmZZzf8Apdt_vlSGSkLeujJ X-Proofpoint-GUID: ctpwBzOBrwmZZzf8Apdt_vlSGSkLeujJ 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 mlxscore=0 priorityscore=1501 suspectscore=0 mlxlogscore=652 adultscore=0 impostorscore=0 spamscore=0 clxscore=1011 malwarescore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501130172 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250113_135224_644873_3F28A6CB X-CRM114-Status: GOOD ( 10.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the PHYs and controllers used for USB on SM8750 SoCs. Signed-off-by: Melody Olvera --- Melody Olvera (1): arm64: defconfig: Add M31 eUSB2 PHY config Wesley Cheng (6): dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add SM8750 to QMP PHY dt-bindings: phy: Add the M31 based eUSB2 PHY bindings dt-bindings: usb: qcom,dwc3: Add SM8750 compatible phy: qcom: qmp-combo: Add new PHY sequences for SM8750 phy: qcom: Add M31 based eUSB2 PHY driver arm64: dts: qcom: sm8750: Add USB support to SM8750 platforms .../bindings/phy/qcom,m31-eusb2-phy.yaml | 84 +++++++ .../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 2 + .../devicetree/bindings/usb/qcom,dwc3.yaml | 3 + arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 24 ++ arch/arm64/boot/dts/qcom/sm8750-qrd.dts | 24 ++ arch/arm64/boot/dts/qcom/sm8750.dtsi | 134 ++++++++++ arch/arm64/configs/defconfig | 1 + drivers/phy/qualcomm/Kconfig | 12 +- drivers/phy/qualcomm/Makefile | 1 + drivers/phy/qualcomm/phy-qcom-m31-eusb2.c | 269 +++++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 198 +++++++++++++++ 11 files changed, 751 insertions(+), 1 deletion(-) --- base-commit: 37136bf5c3a6f6b686d74f41837a6406bec6b7bc change-id: 20241223-sm8750_usb_master-f27aed7f6d40 Best regards,