From nobody Sun Feb 8 12:42:48 2026 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 54D0630DED3 for ; Wed, 22 Oct 2025 08:41:07 +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=1761122470; cv=none; b=g9equRqHcOF49vqcPW3fMyPZvu++yhunYFA9r+9+vxJEHoLGAnDyU1zY8oXEKg32nYfZOB+UbSMCzvCnuyLVMgPWm/3DMJ5hSrsxX7jyiyZlOpKXPqZzn13RcEQPn6m/lfNCqsLRkI1nDYS+OLctv7VFZ//BEOza4ZMEmNcvkOw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761122470; c=relaxed/simple; bh=W5JHrMf93bRLE2Ita34LzLH/vdLFwAFadbe4MH0UnwA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kzB5b57lsu3M48VdV7H1ZgffN9x64YI6DPFQ5QF8d5YSfrS8XH6SYvc0rI5FN5oK+zNYJSBv43i2pxBULKW/lVCTs+9GmsCi7VA9IguKfN0atvcVYvxdgY6M0+VwXlYucKXaOXtHW9HJpLCZpnGL1xtrCyJPcKMuOSCbTvkPDXs= 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=ijoNlGpH; arc=none smtp.client-ip=205.220.180.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="ijoNlGpH" 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 59M7EjEf012401 for ; Wed, 22 Oct 2025 08:41:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=pyLQTdOZaFo GC1dIB3L3ICKj1tOzHQgV21EQ2wSriAw=; b=ijoNlGpH5P5Pn7lGnTAt780V+bc PH0z2elTrQ/tBDlNJP4KPQsb5ffGpYMdEzFIhhg46tT07i4OFusxtiajHN+wa6Uj ktgTh+5MbLuM4xvERTgNUrYsU6koHiwdndTLmGxw5dNY0LycaUFIHsdYl63gYzA/ iwcT8A3XmVwFZ+isNr2heqJVWWxvSyHdGc2gsszjokqsON+rtMobaGN0JjmHe4xB bUOyhZ7L/d3iCTMq9s4LCwxRjtzrubhjWhjeiWc/DSW7shzj1ERv85CY+l8e28+v ncM2U+WHofm97cWLl8qcc2U82TqwsOclvIqKrtI7oQorsheYgzMxEmClO3w== Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 49xhe0hrt0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 22 Oct 2025 08:41:06 +0000 (GMT) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-79e43c51e6fso541155b3a.1 for ; Wed, 22 Oct 2025 01:41:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761122466; x=1761727266; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pyLQTdOZaFoGC1dIB3L3ICKj1tOzHQgV21EQ2wSriAw=; b=qAEMJ1ImLFG6A2eYsKIKiq/PnjBMFRkb024pjNdDimPVS9iexgz6nSfNrultcp1KeZ Y43tk0DnQc6D4dOm4mazhUMRueVVK+BXoec6IRX31lLiCADE9GH5QrgOOdpxFX3RMQU+ iBHFcwTrduWc7O+YpLUaz4DAvuHPAan2hPJiNmuJIxN4oXu4mo1vXlWzSrdjFyVRdGp/ XpQkFyJfvN9ksPuLFtK9tsTKDAan2fcimq7L/MwMfTXwIGRJkVIfbefzzZqV28OebVLw viBEBromb9xouasnpJ2DRkC1Fff3IkmeDlHGNKcNf/uqLA34101jMnEiqJTGgkIj0dwS /lCQ== X-Forwarded-Encrypted: i=1; AJvYcCXdaKq8ahZduwz01ur2EufhmqJlBgqaqevDBIShK7YMRQhXt2zb248B7+JiylluvxmcF7ZOxr54OVfZIRk=@vger.kernel.org X-Gm-Message-State: AOJu0YzeqQl7X8HPFcWb4AXmYsQqzox4MUGUzVcY8Vqev9A64dGrzZ44 bdnIhzwuLBh3dGPmozB4qi2ZGkgHCU/wkgAiTXgWTu0DxSZjN6gmyVGLiRLFBLdtFWZBrYeEqK6 7j3uOi2+hfQTv9i3EdRPliH93qqkkbVJar0+0jM8TIrrX1fJakRFxrDVt/8NB876bSG0= X-Gm-Gg: ASbGncuAAofoTfdUCTSnwuedEcwhlUeUMzTgeqli1At9+cykFanaDZcQ/xLLpvZCoHP WN5GJHJDlT6uvWAAq31ZAKU3C32r2AqeGzk2M8oEOPd0hGG/rMPYwpYNAU5fywP4IwfCckyShNV QmF2ALN+nd0T5ZuRd3INN3UzboJPnOGGpS1pu4X6qkWKb0m9bW47yj/zVf1AJJrYi4gDvXG/PGI em2bzYBKxBYfMWGlwNSshjo5AH+RHMZWaPgjkXcgsk4mDjga9zFQ2/yOK9xl1d0ZUOUtlhOjn62 jeNg8I5ZqeVYlXVFsX2VYpOXwwfJYlIWRAYuq26pD3/+DhR1XTUCZ6+8aVtKaSe10jSFZ7MI9G7 mgU3mSRRIBtiJGU3NdvflZQvbASifuejkEtEV X-Received: by 2002:a05:6a00:1817:b0:78a:f7cb:1e81 with SMTP id d2e1a72fcca58-7a2647c8eccmr3235840b3a.13.1761122465572; Wed, 22 Oct 2025 01:41:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGb91OwEUPXSLbVPj+Cd6pyUWYUNUbhUhWolXQs0W0Kwo71NvZHu8POb8y8sNsk2y7/uHctWQ== X-Received: by 2002:a05:6a00:1817:b0:78a:f7cb:1e81 with SMTP id d2e1a72fcca58-7a2647c8eccmr3235811b3a.13.1761122464870; Wed, 22 Oct 2025 01:41:04 -0700 (PDT) Received: from hu-kriskura-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a25e9be9f3sm3740317b3a.71.2025.10.22.01.41.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Oct 2025 01:41:04 -0700 (PDT) From: Krishna Kurapati To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Wesley Cheng , Konrad Dybcio , Krishna Kurapati Subject: [PATCH v8 1/3] arm64: dts: qcom: sm8750: Add USB support to SM8750 SoCs Date: Wed, 22 Oct 2025 14:10:50 +0530 Message-Id: <20251022084052.218043-2-krishna.kurapati@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251022084052.218043-1-krishna.kurapati@oss.qualcomm.com> References: <20251022084052.218043-1-krishna.kurapati@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDIxMDE2NyBTYWx0ZWRfX15aBAMQ56uy1 59wa6UPUo/RyOV2Q9kV+pGoHNtQqPTGopQgdccy9p0dVD6FbTr80zv5XqaBQCKFfDe7IoUJaGFY +Y5fIz+ynQ5uEVh2N1hgCsHaSU3qcDiQh3fMujo10zYsxQO1Yj6jRZnaiRpa0pUF3GEUMngKBsv 4mMNY0L1/6J04eIdMZ+JxC8gEhL2hyWSwEbfjoEQ5zz1nOWE+bPvZKgL4HcE5il5o3ljCfcSN4H 59kVIYBVjKT/7Wnc7YTgCeSWA1yJaITnonuaDcczN6wKYfCY6Sauw5Y3bx5VVe41g3E9HMuOVzx xplIi2RGhszDWWwtQImhY0e6BJdlnT5dDFzw5JqKCuFcUjHbyORH9JeEPDQzyMt84llsfn81ZCF Es972nNNlUN33C83o9QE7rBklFQWeQ== X-Proofpoint-ORIG-GUID: I9e0CwEzUsMKz2bbovxyAUSfyoUUZ1aV X-Authority-Analysis: v=2.4 cv=WYUBqkhX c=1 sm=1 tr=0 ts=68f898a3 cx=c_pps a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=n1SQX4eW7R_9Zp26JX0A:9 a=2VI0MkxyNR6bbpdq8BZq:22 X-Proofpoint-GUID: I9e0CwEzUsMKz2bbovxyAUSfyoUUZ1aV 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-22_03,2025-10-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 bulkscore=0 impostorscore=0 spamscore=0 priorityscore=1501 clxscore=1015 malwarescore=0 lowpriorityscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510210167 Content-Type: text/plain; charset="utf-8" From: Wesley Cheng Add the base USB devicetree definitions for SM8750 platforms. The overall chipset contains a single DWC3 USB3 controller (rev. 200a), SS QMP PHY (rev. v8) and M31 eUSB2 PHY. The major difference for SM8750 is the transition to using the M31 eUSB2 PHY compared to previous SoCs. Enable USB support on SM8750 MTP and QRD variants. SM8750 has a QMP combo PHY for the SSUSB path, and a M31 eUSB2 PHY for the HSUSB path. Signed-off-by: Wesley Cheng Suggested-by: Konrad Dybcio [Konrad: Suggestion to flatten DT] Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 158 +++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qco= m/sm8750.dtsi index a82d9867c7cb..d933c378bd8d 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -2581,6 +2582,163 @@ data-pins { }; }; =20 + usb_1_hsphy: phy@88e3000 { + compatible =3D "qcom,sm8750-m31-eusb2-phy"; + reg =3D <0x0 0x88e3000 0x0 0x29c>; + + clocks =3D <&tcsrcc TCSR_USB2_CLKREF_EN>; + clock-names =3D "ref"; + + resets =3D <&gcc GCC_QUSB2PHY_PRIM_BCR>; + + #phy-cells =3D <0>; + + status =3D "disabled"; + }; + + usb_dp_qmpphy: phy@88e8000 { + compatible =3D "qcom,sm8750-qmp-usb3-dp-phy"; + reg =3D <0x0 0x088e8000 0x0 0x4000>; + + clocks =3D <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, + <&tcsrcc TCSR_USB3_CLKREF_EN>, + <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, + <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; + clock-names =3D "aux", + "ref", + "com_aux", + "usb3_pipe"; + + resets =3D <&gcc GCC_USB3_PHY_PRIM_BCR>, + <&gcc GCC_USB3_DP_PHY_PRIM_BCR>; + reset-names =3D "phy", + "common"; + + power-domains =3D <&gcc GCC_USB3_PHY_GDSC>; + + #clock-cells =3D <1>; + #phy-cells =3D <1>; + + orientation-switch; + + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_dp_qmpphy_out: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_dp_qmpphy_usb_ss_in: endpoint { + remote-endpoint =3D <&usb_1_dwc3_ss>; + }; + }; + + port@2 { + reg =3D <2>; + + usb_dp_qmpphy_dp_in: endpoint { + }; + }; + }; + }; + + usb_1: usb@a600000 { + compatible =3D "qcom,sm8750-dwc3", "qcom,snps-dwc3"; + reg =3D <0x0 0x0a600000 0x0 0xfc100>; + + clocks =3D <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, + <&gcc GCC_USB30_PRIM_MASTER_CLK>, + <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, + <&gcc GCC_USB30_PRIM_SLEEP_CLK>, + <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; + clock-names =3D "cfg_noc", + "core", + "iface", + "sleep", + "mock_utmi"; + + assigned-clocks =3D <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, + <&gcc GCC_USB30_PRIM_MASTER_CLK>; + assigned-clock-rates =3D <19200000>, + <200000000>; + + interrupts-extended =3D <&intc GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, + <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, + <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 14 IRQ_TYPE_EDGE_BOTH>, + <&pdc 15 IRQ_TYPE_EDGE_BOTH>, + <&pdc 17 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names =3D "dwc_usb3", + "pwr_event", + "hs_phy_irq", + "dp_hs_phy_irq", + "dm_hs_phy_irq", + "ss_phy_irq"; + + power-domains =3D <&gcc GCC_USB30_PRIM_GDSC>; + required-opps =3D <&rpmhpd_opp_nom>; + + resets =3D <&gcc GCC_USB30_PRIM_BCR>; + + interconnects =3D <&aggre1_noc MASTER_USB3_0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY + &config_noc SLAVE_USB3_0 QCOM_ICC_TAG_ACTIVE_ONLY>; + interconnect-names =3D "usb-ddr", "apps-usb"; + + iommus =3D <&apps_smmu 0x40 0x0>; + + phys =3D <&usb_1_hsphy>, + <&usb_dp_qmpphy QMP_USB43DP_USB3_PHY>; + phy-names =3D "usb2-phy", + "usb3-phy"; + + snps,hird-threshold =3D /bits/ 8 <0x0>; + snps,usb2-gadget-lpm-disable; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; + snps,dis-u1-entry-quirk; + snps,dis-u2-entry-quirk; + snps,is-utmi-l1-suspend; + snps,usb3_lpm_capable; + snps,usb2-lpm-disable; + snps,has-lpm-erratum; + tx-fifo-resize; + + dma-coherent; + + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_dwc3_ss: endpoint { + remote-endpoint =3D <&usb_dp_qmpphy_usb_ss_in>; + }; + }; + }; + }; + pdc: interrupt-controller@b220000 { compatible =3D "qcom,sm8750-pdc", "qcom,pdc"; reg =3D <0x0 0x0b220000 0x0 0x10000>, <0x0 0x164400f0 0x0 0x64>; --=20 2.34.1 From nobody Sun Feb 8 12:42:48 2026 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 A934C30EF6A for ; Wed, 22 Oct 2025 08:41:12 +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=1761122475; cv=none; b=J6307aiwB64h4rFPhVM7rt1LBcCty3TFldoqSLavs/U4pz/JB2uuUlkWPEqhCedrSu43ES2QVDfQZ9ztQwPbC3LbnZbAS0LakUhEbLWbMCZy8rE/zifhT2ZM9qsdz4jRceZlIQw65LTIZ+WPRXLMJprgUfxI6tdHhcDzOQOFliw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761122475; c=relaxed/simple; bh=9BgvtBVuYVEHbYuUn9h0z13dBPpwUOv1H4ZyhEvT1a4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qL3ihHW04zupSDvK7+Z8DvXpN5m6kGHZasMzYk0H6+bZd4Th8njyMQrQ8G5SZXOjqhIfwmOpZ7/AZkfSWa3Y09XeJ7cYbimE0Mh0sKINEBlsTnU/9Pam6TAU2Cv64qnW9KIbLyJECUF8LfAr22CRWOZOIAMNZXx8TU3HTq0EyZU= 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=jZNZOoHj; arc=none smtp.client-ip=205.220.180.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="jZNZOoHj" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 59M3SYrS027492 for ; Wed, 22 Oct 2025 08:41:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=rcpnIe2kQH6 oAlRh1j5LimFvmkLzzm7Un7fgpZ7DvBk=; b=jZNZOoHj498Zlp0ZrBGag+CChZY LbAVnLtR890JgX2sNrXyxnd7npCQ8xYDpWE7iBHCOkGdeUx5QEzVdHp4w9UHx28d GcwN33i7dJY8UnkFez55r4SSicapJbc4AKNkWyMVACaS7jUsYGV3IMRvb1KIzgXV UDrpb/heqlbbeI0T1rJAvO3s1c3VPwZZRzYYQtmSIHI/mIaKnO0LX2XTu4kvOEN3 TtzRVet75XkK7irDyX/ZCxZ/Outhl0ZIhk4cLiSleDYGsXcPX/Eu8AutLHItldF7 sPgJnHa9Vir5OtjB0Z6eqFbKUOqdffGbbvk7IV0cGRGxEJYTOGMqCqoGesA== Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 49v27j3wft-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 22 Oct 2025 08:41:11 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-33dadf7c5c0so908156a91.0 for ; Wed, 22 Oct 2025 01:41:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761122470; x=1761727270; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rcpnIe2kQH6oAlRh1j5LimFvmkLzzm7Un7fgpZ7DvBk=; b=OILBH0MSI+k2eLN/v5QOnp+UJd1yVdHbxUp67IfFBHpMjnagh/ecDxOb9YLbd9+VSe 2BftzzMRfU75/GB0/Pr8t9J7GE+eTxxyuu8q2UqZrks24P0+Vgnz4EL7UlHYoPNnmTLQ Lnf0VCKMAxm1QXns4ZdymwXvdTjDJJQRyOmQjC0Mjq/MbqZDYik3AmJQX9Jd7M08mA4b OCwzwF3sNeSEC263/QgJvFpludPdLUiP1KZJd7VREbk5vn/IfjpIE0DbqWTFxT+N1mjb GbIrjFihdjGfERN2V3GM22SvdY47h+iQFDK/JRiqM9DD2ma+VzFab9KJmkXqfR16XK9R HJUg== X-Forwarded-Encrypted: i=1; AJvYcCXgYrB3iWr/14PmsyfMe6EeMXsuYiaBAxfDDt/5EeT7YMC9FKGZbCMHRVY8+wnCD51LQboPwnPKHTll5UY=@vger.kernel.org X-Gm-Message-State: AOJu0Ywa5dmXjzdNa2f/iOPdnyuanFrHNU7a9YsQCFQtzbapHhSdp9Wc ZbjByJEpRJPEfqtlvR9pWnYCix2khXPtVXl92yVaN+RsqRf0tvW0YMH8Om9xqqDE0APgodATd6c eH0agrkTLavHH0sU+2knlgHLhXRj4jJDDBkq1VjsM1eozOxPs7D9g91N9T7HaZhOy4Gc= X-Gm-Gg: ASbGncvcCwdjnCi1E5eR0S9U0rKzLhmbHbQ98/9rWlSLsmEyML7W8powJdeK/j5kyVG Z9o1OMsPp1o54ahvVybbGmC6myKUCAS1r8WL46c/xz+dXYflMyYZDWKrGLY/pDoeQDV4q0y9UQ+ s0wwkkH50bQ5IQdOUWs05MOj5hKJiJ9MFkgirzgMsZjzWl4RX/lB2RXKHoQCXOYnHZY9OZQQLTS PC4QYPaumPN3cbFqC/uwHitgssmXu3zUeSS6vA2aBkmR7WCRt8lxV3jI/uzIaowVb/RNQBL5m+K 6FiE+LWkWnsdo+qqSCroNYMoYebiQ21AsU2nC0rkE+hlQ80kxKLRvP92W1XhPWYTejuJrMPK+C3 FdE7TOMvi4mgCQAhGxpaIOZUEx6j/JJpplrqR X-Received: by 2002:a17:90b:1f88:b0:32e:11cc:d17a with SMTP id 98e67ed59e1d1-33e905ddd23mr885289a91.4.1761122470315; Wed, 22 Oct 2025 01:41:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYgk7dPlHO1B8hexkjytvuREV5Mqakcse5L2rTllD23cI/RCXl9woZIjksBiokxdnCxS/O0w== X-Received: by 2002:a17:90b:1f88:b0:32e:11cc:d17a with SMTP id 98e67ed59e1d1-33e905ddd23mr885264a91.4.1761122469843; Wed, 22 Oct 2025 01:41:09 -0700 (PDT) Received: from hu-kriskura-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a25e9be9f3sm3740317b3a.71.2025.10.22.01.41.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Oct 2025 01:41:09 -0700 (PDT) From: Krishna Kurapati To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Wesley Cheng , Konrad Dybcio , Krishna Kurapati Subject: [PATCH v8 2/3] arm64: dts: qcom: sm8750: Add USB support for SM8750 MTP platform Date: Wed, 22 Oct 2025 14:10:51 +0530 Message-Id: <20251022084052.218043-3-krishna.kurapati@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251022084052.218043-1-krishna.kurapati@oss.qualcomm.com> References: <20251022084052.218043-1-krishna.kurapati@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDE4MDAxOCBTYWx0ZWRfX8IYS08zFhzbl JounkB/8vbJNeN5KRMSkEfBzxMD8wOwUJJ053PoKgVjPVf6Y2insNPJ/V2+CnJ7j+TJF8+5/ytO hnF97f8JVuLbZrvDzNDjElhy7HHccbAQFEPkCmgMGLHAaROjofQDTWA9wUL5Q5xv8zaMfZGfiJe 7QsTF/KgmF3TqU/1SgtrCrv1ZznFxi9TU7mPnCyy+P6qbYi7HibOCHYO1Wro0Bzdabr7J0MYECB Wi1y00bqcAmf5wii5IgKYrh4QUusmG4WEcEA3BzEwmPMq72VCQ1HvC7xI99ZVcKhIGICoqW/omM K8ptS1OJRlXFtMTrCT/SOhysuvVKaXQpwN97HY0j/TJWhG8q5pv1yO0qXQFnF6AOhlViGmXlmUk XmDPM/iOLDr4YH7AHSwyKp03l2zLZg== X-Authority-Analysis: v=2.4 cv=G4UR0tk5 c=1 sm=1 tr=0 ts=68f898a7 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=Tsvuh88POXG944tnl6EA:9 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-GUID: 3xsLeZMzFxM8M4idfjNQP7PFGZqU6CgA X-Proofpoint-ORIG-GUID: 3xsLeZMzFxM8M4idfjNQP7PFGZqU6CgA 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-22_03,2025-10-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 spamscore=0 suspectscore=0 adultscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510180018 Content-Type: text/plain; charset="utf-8" From: Wesley Cheng Enable USB support on SM8750 MTP variants. The current definition will start the USB controller in peripheral mode by default until dependencies are added, such as USB role detection. Signed-off-by: Wesley Cheng Suggested-by: Konrad Dybcio [Konrad: Suggestion to flatten DT] Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750-mtp.dts b/arch/arm64/boot/dts/= qcom/sm8750-mtp.dts index 3bbb53b7c71f..1b526d96fba8 100644 --- a/arch/arm64/boot/dts/qcom/sm8750-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8750-mtp.dts @@ -1200,3 +1200,25 @@ &ufs_mem_hc { =20 status =3D "okay"; }; + +&usb_1 { + dr_mode =3D "peripheral"; + + status =3D "okay"; +}; + +&usb_1_hsphy { + vdd-supply =3D <&vreg_l2d_0p88>; + vdda12-supply =3D <&vreg_l3g_1p2>; + + phys =3D <&pmih0108_eusb2_repeater>; + + status =3D "okay"; +}; + +&usb_dp_qmpphy { + vdda-phy-supply =3D <&vreg_l3g_1p2>; + vdda-pll-supply =3D <&vreg_l2d_0p88>; + + status =3D "okay"; +}; --=20 2.34.1 From nobody Sun Feb 8 12:42:48 2026 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 8952C30DEB1 for ; Wed, 22 Oct 2025 08:41:16 +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=1761122478; cv=none; b=FJM86K5dN71DjTB8MjUWXYsitqIZCg7ssL0+6PCOkqVLFPPPsTXsflYfQNNnpyA6NRNLIvp1ZxvDJrSkAsJ9gC2DG728BLUNq7aDHI1M1Bmqpp8ga7iSQ45mvyLitWu5oXM5cORHKQe9ZyIFgPxr6GF6kE3fgJ46y3LXgQVXAqE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761122478; c=relaxed/simple; bh=2JxH3SAb5I5RjNeUkzq/LydH+ScowPF8cKoijPFvtTs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=t67il+JvAqyQQrANw2bSse8W5MZxrp1JchT7zqnB1TOiTJN7mej0elymNCo7UfaBjTUekm4/N/diZP8LofjqFm+rz7AILjrzzviE7Cg+bgYDSiHh5mMdmVfPlIVD8wnYp/GpXvMggPxZnxg/GexuTBptA/7aKNd/rN4eaESDN6I= 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=UkARakR8; 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="UkARakR8" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 59M2tFcW004435 for ; Wed, 22 Oct 2025 08:41:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=IuNGrA3HI88 okECNz5zskMA9+Az9f8glbFMv0KeN/Q8=; b=UkARakR8tLWgecWTopmsXfRqyOU AcRX/Ii9pn4SZ9LUbavx/4lNSMV84T3jZbxGGaErt1JMZ4UlZnLekxqGb6oP/8Vd 960c4V/ccXkkAc3/M86tAZHklAvNlCz11e0M0Rxxtk4eCmS1GGq5V7CmdEShkExL pJ9y75Q3DcMRYoOs4x2Dcs8hvyVSpra4SFbyVpgvPXbs+TrcQfbiXVosHN1DFYJf gCw+5MLZXcttb12pqgELkjbSygfl4Idc8WRIzQut3KbNYQr6l9u6t+ki437shSK6 W4vxlFFgsl7jess4TFtauGElCrEDxL8I6rb+AEE5DbFHw9ONap+lShzhryQ== Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 49v3nfkvgr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 22 Oct 2025 08:41:15 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-78105c10afdso6198257b3a.1 for ; Wed, 22 Oct 2025 01:41:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761122475; x=1761727275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IuNGrA3HI88okECNz5zskMA9+Az9f8glbFMv0KeN/Q8=; b=gEUaKzS4jmFRJu56obW1UNcb+sECYnQvLnfeFKi20zIX1+acflpbYwP2VjprU8FV6R Fc9qV/BR2mcS1AgbV7kNDbsrgSx+cGXb1D7vfZ9LF3LA9h2iajYw9CAlF0EYH7Hv8qRS srZeFxwXVBSmAS9qZwHCU8zHpxkqwMEs7mpY4WG9dyYUaaISWU+xwqHWMH1V9NVDZS/Y 9USaeQVwZlUHHAtQIarVJTlPoxhPoTZcotI2T1qSMjfHjSAwcQke90WgW4rMizZdKAUz 6OYUY5/lTcWoPBZ3YStp6FE4ILb4mHQo1zvceRX0OOs+zLUGyvu8kZPOjgZs0rHhRcN8 ZAVQ== X-Forwarded-Encrypted: i=1; AJvYcCVoO6lZyvoTCB8uQXD3Rwebg6tV0lPeSux3uTK2Hr/iQMMfSTji2Ttfxq7mTiJKDPDj2N0GXlm04wPvaIk=@vger.kernel.org X-Gm-Message-State: AOJu0YxjqCAqWbFraIKpk9/Ps67y/kypIEeZqLrO4eO2TIkqHMUbkfOu kSZfLNCuWxSRIuM1A4QFfQL+4GENwrew2SXiVAJNKreKoYWrlcvIQ8yVWCmjtdTjfTXPQLv0kCN senK8OGvS2aFPyM6XF5RDBhx9gVw1mOEKQCW/+XAFkRYh991XSqFrilkMJ/fOOe3cAZ4= X-Gm-Gg: ASbGncuHhwliyMdGY4C8vtQuBP52GwV4Hkijibh8NlMX5x7VZtcZHGqR4d96n6AkQ/a jxl0Z+HBOhCPyjjM6/P2aeHu2JCFlsayau1ck7lqCM0P6bFcjDFIX40OZuICviX+xFHIW88wVE6 2mm6KdXbnqJ5V/PueWyK3QHC8ehggkYHbgiVjxzS8wcfs8nIkhFgUG4pCzfHeyfmU91xTx392F3 kEnhWbC4uLZyYzMFGIInXHV44ejZ0t3hGEJxifvBRBtNUi1uGRSLTiRQuJ56rzs7IPXESgm6EmT XbM6uXsCc+7mt4GwukDLcCyteJBLmgm13iyf0l7Et+zXaIv+zA0RGUkIyllb9dVrW+xpWFrvgfP UkP8n1oqt1em5g9v/O6WEcpJ2dOHE2sOm/KCL X-Received: by 2002:a05:6a00:194b:b0:77f:2978:30b0 with SMTP id d2e1a72fcca58-7a220a3c2afmr23140923b3a.11.1761122474852; Wed, 22 Oct 2025 01:41:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFnN1IY8wPgEpyEoCxS69d9eQBE5ErlRJaTLWYhusdXNBpDrH+C0lMN/8Q1OGqBvJrvECdv0A== X-Received: by 2002:a05:6a00:194b:b0:77f:2978:30b0 with SMTP id d2e1a72fcca58-7a220a3c2afmr23140899b3a.11.1761122474409; Wed, 22 Oct 2025 01:41:14 -0700 (PDT) Received: from hu-kriskura-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a25e9be9f3sm3740317b3a.71.2025.10.22.01.41.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Oct 2025 01:41:14 -0700 (PDT) From: Krishna Kurapati To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Wesley Cheng , Krishna Kurapati Subject: [PATCH v8 3/3] arm64: dts: qcom: sm8750: Add USB support for SM8750 QRD platform Date: Wed, 22 Oct 2025 14:10:52 +0530 Message-Id: <20251022084052.218043-4-krishna.kurapati@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251022084052.218043-1-krishna.kurapati@oss.qualcomm.com> References: <20251022084052.218043-1-krishna.kurapati@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: wZAT58iEawcf4_dc7EZearrfcWxySiE9 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDE4MDAyNyBTYWx0ZWRfX7CEUCQhsbRpM mfN+8e6dIa9kNicnybRRXF8Y5riOAP1NEdawZiTgAycsFU3d4oR+vR9TzaWOHhqw6ByUq/DqoSO HUBUKjmsRphzvDPBYIqenEvTfNExsVcv3KS85VK8B78RKQnd10W01F+XRkDUqXvqzvl/Ei9fXlo 9WMSLJmemogEASpS34dw+sEl5H2PICwG/Mu12M9kKOYpU2gPh7NC6ic5LgrbimpVLQBcMU5dR20 k8ObPV7jXdzySAJOnnVqd3WqOBIAKl3llgjLV+o0TyIYneROcG5P6d7YIGsSBKqltm5xwBlqw9Y 6L7TYKn2IKfWO+l3gJskI1wDm85zsHVly9mMMr6GbqNtW82v/67z567J7NyG5veHodW1kk5kK/b m0V2dgsn5qGk+QPFNnCUATBnU8XK0w== X-Proofpoint-GUID: wZAT58iEawcf4_dc7EZearrfcWxySiE9 X-Authority-Analysis: v=2.4 cv=EYjFgfmC c=1 sm=1 tr=0 ts=68f898ab cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=EoOMd-xwxZjzz6zYUw0A:9 a=IoOABgeZipijB_acs4fv:22 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-22_03,2025-10-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1015 spamscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 phishscore=0 adultscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2510020000 definitions=main-2510180027 Content-Type: text/plain; charset="utf-8" From: Wesley Cheng Enable USB support on SM8750 QRD variant. The current definition will start the USB controller in peripheral mode by default until dependencies are added, such as USB role detection. Signed-off-by: Wesley Cheng [Krishna: Flattened usb node QRD DTS] Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/sm8750-qrd.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750-qrd.dts b/arch/arm64/boot/dts/= qcom/sm8750-qrd.dts index 13c7b9664c89..fc5d12bb41a5 100644 --- a/arch/arm64/boot/dts/qcom/sm8750-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8750-qrd.dts @@ -1054,3 +1054,25 @@ &ufs_mem_hc { =20 status =3D "okay"; }; + +&usb_1 { + dr_mode =3D "peripheral"; + + status =3D "okay"; +}; + +&usb_1_hsphy { + vdd-supply =3D <&vreg_l2d_0p88>; + vdda12-supply =3D <&vreg_l3g_1p2>; + + phys =3D <&pmih0108_eusb2_repeater>; + + status =3D "okay"; +}; + +&usb_dp_qmpphy { + vdda-phy-supply =3D <&vreg_l3g_1p2>; + vdda-pll-supply =3D <&vreg_l2d_0p88>; + + status =3D "okay"; +}; --=20 2.34.1