From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 2DD3B31B813 for ; Wed, 15 Oct 2025 10:52:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760525566; cv=none; b=r3nTXzYPyopr5T/2qYBT/ijhmSsXak8cUehDJpdlzw2srT0X2GrITXulS0sNl9XByxtW/ayPAd0Fqqo815bXgQNnY2F0T8TMaGQVttETmT+CDOiHsu9WkZ7FAP3RG0NN8eF7oQrD9mkQEok23FXMg/IBG08CjTojA6hIxtpwt/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760525566; c=relaxed/simple; bh=Y5LyX6PJ1GD3uD+R+2AEMxivi+xn/rlk6F2KU7UMJY0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=FYU7Mey1bAAmp6xrTR502DRIapsMs+WY9aoPsh//f0dgbpCxvtoas1IMhORVXUfUu9Ucn/VzCGZUjXKfsMB0/PYBduDY33EKgl6hAazoKSpdoIU+gzNvG55Pz4wMMHq75IQQnFqjJOHOP2NzSyytVZRc5msUHG+fNK8uXyX2brw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=gJZmaZBA; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="gJZmaZBA" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 59FAarYe004423 for ; Wed, 15 Oct 2025 10:52:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=k9PbxovBlxrUjezeEpd7O/eFhPRSiN/Zb6u iJB34q1U=; b=gJZmaZBAECOZdX4OBHW8phSoOckeebvGiLPE47xEUswBrXoDrxi b6LOrD/C1n/OJQ9UGINb88Av2Wq19Wp1Gmisl1doKodEHiJ9Or9vwXDkB+7oxIYA ToLVHSY86++7P5dl0ayPL6Fc9QfQjnQO7YLl+lC5bEkRRZ8b+pkr7sP9p3kQ4xu5 f8e31IqnDyvnWCWRY91uhzqbObHiGS+YRRMb19XxYa42Iras16tVfxc1SY9WykhI BFZi4pgtaNpuoTo9u5H97oWcfzCOOWMGfIvaNH0Cxq3vvXJmyDUGaaL384C3J9d1 A3OEjKlBHkbUeoC/aTxa2kXUfGPEpbbeZMg== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 49rw1agdqr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 15 Oct 2025 10:52:43 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2908ce6ae6fso3629765ad.2 for ; Wed, 15 Oct 2025 03:52:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760525562; x=1761130362; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=k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Zxw0m3hHxNOYfJ0fZmE K8g== X-Received: by 2002:a17:902:d50f:b0:278:9051:8ea9 with SMTP id d9443c01a7336-290272dc4a7mr389734225ad.40.1760525562369; Wed, 15 Oct 2025 03:52:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE76E2sByiIAnOsggbeIzExkPPfnSUMEgRXKGy27ERy8UgzUuEb0yq2Re9PDGuc1b/JowcGew== X-Received: by 2002:a17:902:d50f:b0:278:9051:8ea9 with SMTP id d9443c01a7336-290272dc4a7mr389733895ad.40.1760525561919; Wed, 15 Oct 2025 03:52:41 -0700 (PDT) Received: from hu-kriskura-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29034e20f8csm193698385ad.49.2025.10.15.03.52.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Oct 2025 03:52:41 -0700 (PDT) From: Krishna Kurapati To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Geert Uytterhoeven , Arnd Bergmann , Nishanth Menon , Eric Biggers , nfraprado@collabora.com, Lad Prabhakar , Kuninori Morimoto Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krishna Kurapati Subject: [PATCH v7 0/4] phy: qcom: Introduce USB support for SM8750 Date: Wed, 15 Oct 2025 16:22:27 +0530 Message-Id: <20251015105231.2819727-1-krishna.kurapati@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=K88v3iWI c=1 sm=1 tr=0 ts=68ef7cfb cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=UZ4tNvspqRR6S34ExfcA:9 a=324X-CrmTo6CU4MGRt3R:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: buL73tqtlkqJJVQRzYSFuVMPhowyhm6g X-Proofpoint-ORIG-GUID: buL73tqtlkqJJVQRzYSFuVMPhowyhm6g X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDEzMDAzNSBTYWx0ZWRfX4BuBTjf5mVZ+ pVGbiLPhs94yiRS+tzOwCQhKW05Ugy9sxUnS74GRnNvj3b+oxZZH4wNLRiTr6EmG/Eenz38CSMn F5e/Mi94B+kD9thKxu7ShHvVE/8fB+y6syDDB8436pS98wnIU/NGglrhr9ASUJonO/XVnKe6/HB Mc85bFoOXKrrAht0ulfp1gPrdnF13MRxuiPlPUEYngvu71Q3cxQxuFkC7Ugs1NSD+aCAILsu8Xj do1KALh5dJQIogOboEi4Mnkuwnz6meui1qO9KdO6Cg3BIYYwIrg7l+JokK16Azz3QLyfGXeiZBa tdWuRUbA9ACsve3yXU3g81BpCTtc3JeB8wLXrql9lCTikNDh6q02rnIfmbNLntchKxnO1C77LLs JABxD8HEa41gWeh0BeMDo6dp28JQng== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-15_04,2025-10-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 spamscore=0 impostorscore=0 priorityscore=1501 phishscore=0 adultscore=0 clxscore=1015 bulkscore=0 suspectscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510130035 Add support for the PHYs and controllers used for USB on SM8750 SoCs. Version-6 of this series has all the binding/driver/dt patches acked. But only the phy changes have been merged. So this version is an effort to get the Acked patches rebased and merged. The usb patch has been split and sent out separately. Also, although the phy changes are merged, kept the cover letter subject unchanged. Hoping that is not an issue. --- Changes in v7: - Rebased on top of linux next - Split usb patch and sent out separately. - Link to v6: https://lore.kernel.org/all/20250527-sm8750_usb_master-v6-0-d58de3b41d34@oss.qualcomm.com/ Changes in v6: - Change readl_relaxed/writel_relaxed calls to just readl/writel in the readback function - Updated languange in the defconfig commit to specify SM8750 as a Qualcomm SoC - Link to v5: https://lore.kernel.org/r/20250421-sm8750_usb_master-v5-0-25c79ed01d02@oss.qualcomm.com Changes in v5: - Removed refclk_src from the QMP PHY driver as that is no longer used. - The decision to move the TCSR clkref property from controller --> phy node was made in v4, and the refclk_src was a lingering change that was meant to be removed. CXO is the parent clock for TCSR clkref, so CXO clk will be voted for as well. - Relocate the SM8750 compatible within the qcom,dwc3 bindings. This is to take into account the change in clock list. - Link to v4: https://lore.kernel.org/r/20250409-sm8750_usb_master-v4-0-6ec621c98be6@oss.qualcomm.com Changes in v4: - Made some fixups to the M31 eUSB2 driver - Moved TCSR refclk_en to the QMP PHY DT node - Link to v3: https://lore.kernel.org/r/20250324-sm8750_usb_master-v3-0-13e096dc88fd@quicinc.com Changes in v3: - Split platform DTs into separate commits. - Fixed up M31 eUSB2 PHY driver with feedback received. - Reordered DT properties based on feedback. - Rewrote commit message for enabling EUSB driver. - Link to v2: https://lore.kernel.org/r/20250304-sm8750_usb_master-v2-0-a698a2e68e06@quicinc.com Changes in v2: - Added new QMP PHY register definitions for v8 based QMP phys. - Made changes to clean up some code in the M31 eUSB2 PHY driver based on feedback received. - Added bulk regulator operations in M31 eUSB2 PHY, to ensure that both the vdd and vdda12 regulators are properly voted for. - Removed external references to other dt bindings in M31 example for the DT bindings change. - Split DT patches between SoC and plaform changes, as well as the PHY subsystem Kconfig changes when introducing the M31 eUSB2 PHY. - Added orientation switch and port definitions in the DT changes.EDITME: describe what is new in this series revision. - Link to v1: https://lore.kernel.org/r/20250113-sm8750_usb_master-v1-0-09afe1dc2524@quicinc.com Melody Olvera (1): arm64: defconfig: Add M31 eUSB2 PHY config Wesley Cheng (3): arm64: dts: qcom: sm8750: Add USB support to SM8750 SoCs arm64: dts: qcom: sm8750: Add USB support for SM8750 MTP platform arm64: dts: qcom: sm8750: Add USB support for SM8750 QRD platform 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 | 164 ++++++++++++++++++++++++ arch/arm64/configs/defconfig | 1 + 4 files changed, 213 insertions(+) -- 2.34.1