From nobody Sat Jul 25 01:24:45 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 2EBC3434409 for ; Tue, 21 Jul 2026 07:41:58 +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=1784619719; cv=none; b=hA2Vr/zgaU6l0N55HsQdZksKLE7wzymyp71vHaMdnB1wSwfH4PSNw4w5PNBitxMWhQ4mRctqU1MVsaibjBTYopJKcxYCjtNdpSmshOXGWASk0ceH4Z1FW3unuxwR75RvJa6usuug1CGKF7EVV6ArSsx4Vsh8KrM4NHuge5+R1Po= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784619719; c=relaxed/simple; bh=dqVCKovlPVMOUQrRAIE3fQUegn/9eZb8fKXu+uKd09A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T0bnbqbLiq3nDOAxtWvRWSjddygpA+28rlqpZVFupnmgXuG/8qocyiOcvRusqFMkPa7VZhkB/R+43fn0IUhb0LqXMNawZvo+++FXvI7+7zqVNbBVLui7KLH1VUAmLuqlhcQo4OQRxf4vwlhT9B/XxyVBlFHY3f3NR2J8hYVspA0= 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=J1C0fXtn; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=WL1p9eyj; 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="J1C0fXtn"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="WL1p9eyj" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66L6hvmw4150322 for ; Tue, 21 Jul 2026 07:41:57 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=FqyT9hkYh9BseSUnO8JBPpnLnAOEaESZBM0 FsbmDf+M=; b=J1C0fXtne26IsSkhahkVreyTAaKUjyYSaUcVuetcFJjZSxteqxJ RxieMN1gNz4x2Vu0idez+G6sBNx0H+4qCVSmrHlOQd/Dki++YXZIaKK+dDZ2PMbC icRvj8B85GatbgL16FCQ5MgX/c0/u651HovrhUPeIEjKaWpJLTCqzBgt4g0ACHkP PuC13uoumKdGEUouWBMYZaysgGGSG6uXIvJcv49ks+vS9DIX4hYojw18S0fQFfzw 10iPfUkSFE95e7U9YhMwQAroYKGpbtKSy5/eq17Vsz+ecu5pQm65T6FmBkTHCXPb 9bVMgmsTYvD0eiOOLhkDMVkRdkXK96MJz6g== 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 4fhqff35tr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 21 Jul 2026 07:41:57 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-848474825ffso5721444b3a.0 for ; Tue, 21 Jul 2026 00:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784619716; x=1785224516; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=FqyT9hkYh9BseSUnO8JBPpnLnAOEaESZBM0FsbmDf+M=; b=WL1p9eyjMo51Bf449B38kykvqRMC9PpU7n9NdUu1Lo0q4eF4yYuJrA3IJ2pwBXTLv7 XrEQi3fEyzR1Sdm3OmgXnowIDZiXD1b3N+C5RVDQQ5ROwmcOxW+v5i1U9uQWVk1zQ2JL xGXw8PraK7RAidrcFg0pKEXKtkgweZFKgf0GLWtEzLXkCIHoL4HIzSxrebOIIj3lHOg4 A2TXDCQsWMb6gW+ZsvDxMIpxnSrRABH1alJgo+Rd/v3jHpiEbxjbgZGLa5zWbv2NVzLT IETY+c5nJ2IhX+gkoQyOLImIwZOPrA/tDb8KjMSLvCfjTkqio5M8A1GgjrTVQWvJ1xW2 nR1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784619716; x=1785224516; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=FqyT9hkYh9BseSUnO8JBPpnLnAOEaESZBM0FsbmDf+M=; b=mDib7vkPRwnzEk1Nsw80FvPaRAEuokwRqPulHsjsQ0D1O8/0tJIvwSxa9Nwc0FccBa EiRduiShkaghtyExRIZUn9vuQDqezSKjX2zlptkH5HSgiaJPYJp3gB7hwxXRKhViNogV rCFHRbxiCGNg761aFGam9bql64ZKZJfr0btUJ75XWZZOJHzboZeiroaEwugv1SOwXI7Z k/AiuQ4TaFxB7nVJl7xqzpHnkEdGggus8BXy9UIvU/euOHOeQE6ixiKhSzHmIgdTYFGW 4srLlsHA+Xm7pD+z/qjGLL5WGW71XSxq1DDO6CX8Zk5qGGbXVjq5JpBs9woAyBQNzwf+ I4yQ== X-Forwarded-Encrypted: i=1; AHgh+RqRXNzTMciBmeFdZkddatnl8z0h3ZH0ds7pqjKTDXIzSZv65bn/tHPhastvQelGrrG4I+KAhqsKUkMBnG8=@vger.kernel.org X-Gm-Message-State: AOJu0YxUZwuyzf++UjqlLLvGQ8BQDP8Wbnd5K3x1xLYZY9zdfhImWxAl fOKmLJRphkBLFDcJjA99qbSq/ov3+tdBcjZyco/xHPQPd2zmrD3Nfg/dpSOAY5WJX5sQpbfzhw3 hamT7XzMWj0ctGgmNTvqV+Q6RGgBObi/67NyFE3TgbGe2nfn0HRcQGK9xVTv0W9EgbBE= X-Gm-Gg: AR+sD11NshiFtINR28quiBDzxzRai5JQCjIR1JjPccVfaDXkQ+TecX37A7d+BOd4XVk Usze4Mp215dXYFjaEsRZMwhSD/0SJh1hyZ5BqVJEvacYAHEnTsjFieS/JscIo+xZPqaW0NIM0Um lSiXBDnqjgqmtfV7bGIqF/SJsm0/+GOkvTqoqEu3jOe5zY8/WYGtrs5UXcAlgO+chYvnHaTbxLI OZjnF/Aft1uQw9mDEetbb0xaUvLFiVGTDrSTyC+d1iCuNwm9lgiqJOnOFypjyhRPtWIKoOwP/3S hbBk3wDDLSuNPX7YEtzGXjtlXCBNh5XRN6F6gKa1PCzIT4I4wOHOLK5bklJbDGqPvZM8hfx+LOr S1l6mwKb+mi2pUs9zqtFr X-Received: by 2002:a05:6a00:28c5:b0:847:9d6c:a56d with SMTP id d2e1a72fcca58-84c2858e4c5mr16254185b3a.12.1784619716093; Tue, 21 Jul 2026 00:41:56 -0700 (PDT) X-Received: by 2002:a05:6a00:28c5:b0:847:9d6c:a56d with SMTP id d2e1a72fcca58-84c2858e4c5mr16254153b3a.12.1784619715654; Tue, 21 Jul 2026 00:41:55 -0700 (PDT) Received: from cse-cd02-lnx.qualcomm.com ([114.94.8.21]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84c2af6e3f6sm6933380b3a.44.2026.07.21.00.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2026 00:41:55 -0700 (PDT) From: Xin Liu To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, xin.liu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, jie.gan@oss.qualcomm.com, Guodong Xu Subject: [PATCH] arm64: dts: qcom: hamoa-iot-evk: switch typec0 to PS8830 retimer Date: Tue, 21 Jul 2026 15:41:33 +0800 Message-ID: <20260721074145.1534100-1-xin.liu@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 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-Info: AW1haW4tMjYwNzIxMDA3OSBTYWx0ZWRfX5luuvvDg8SoF LbFdqWRfAN3WUx0XwdvjiwvLpchPhFJiQKm4BvqKg7bJ+ow5pZ5oY7RBFvrCa4qhGh+B82P7+A3 OpHdypYefPCs0mAJ3xbafFFAaekSmlw= X-Proofpoint-GUID: 1OydutSTq_54pixxN0P88Gg8XtJtuFTK X-Authority-Analysis: v=2.4 cv=FJErAeos c=1 sm=1 tr=0 ts=6a5f22c5 cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=Uz3yg00KUFJ2y2WijEJ4bw==:17 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=ADNupvSaaZfLlJLRRLQA:9 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIxMDA3OSBTYWx0ZWRfX/dHfy7e0EDC/ jw2BORH68500XcIsDK/CiJwesWl86RrRuKN+xsDbxg/svUJToTwLopi/ANcCZOUvm+g2TKRO2c5 cfDpquCcIgyVPv5cak6vTBw16yhQrrDddGJ3XxQ5ZrSQN0p0ID6mh4Qf659RHTJwLlo5f2RIzzf Za+BZHw9SLVKznjxtEboOtNyTlZ5zYhLXDJyakCfDEp9tPTuWRSh1w2QGh6fvyyFBN2FVNdASas +5ULU16PsSqxgs8cXi/6JLhP0JqVxq3Qr1lmlSWG4+S2gr3Vq7pH+iR0Zq7YotGGF6DNZqx8AEg Li3j48l42ZD5Diwd8YSCofB+8I3tXXpn+4NHcHiPFalmGOGniM3xWeqV5zC7w4HCH1AF01YwPUm 8xkddTwjTbxCN+rx9Lq4FSY2izP0VrmtTtoaa/6ih8lgWIP/ioQ7JLCuIoH7TbyM9yyHrG1Y9xx 3JoB6c/N6Oz2eAVumXA== X-Proofpoint-ORIG-GUID: 1OydutSTq_54pixxN0P88Gg8XtJtuFTK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-20_06,2026-07-20_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 spamscore=0 suspectscore=0 bulkscore=0 clxscore=1011 malwarescore=0 priorityscore=1501 adultscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607210079 Content-Type: text/plain; charset="utf-8" The Hamoa IoT EVK populates a Parade PS8830 retimer on I2C3 for the TypeC 0 port to support USB3.0 and SBU muxing. Describe the PS8830 and route typec0 through it. The vreg_rtmr0_* rails provisioned for a retimer were already defined but previously wired to nowhere. They are now consumed by the PS8830, so drop the "Left unused" comment. The FSUSB42 SBU mux chip won't be populated on the final EVK board, so remove the fsusb42 node and its pinctrl group. Signed-off-by: Guodong Xu Signed-off-by: Xin Liu --- arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 108 ++++++++++++--------- 1 file changed, 60 insertions(+), 48 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/d= ts/qcom/hamoa-iot-evk.dts index 9fa86bb6438e..a3ca22f9c3e8 100644 --- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts @@ -126,15 +126,15 @@ port@1 { reg =3D <1>; =20 pmic_glink_ss0_ss_in: endpoint { - remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; + remote-endpoint =3D <&retimer_ss0_ss_out>; }; }; =20 port@2 { reg =3D <2>; =20 - pmic_glink_ss0_sbu: endpoint { - remote-endpoint =3D <&usb_1_ss0_sbu_mux>; + pmic_glink_ss0_con_sbu_in: endpoint { + remote-endpoint =3D <&retimer_ss0_con_sbu_out>; }; }; }; @@ -303,7 +303,6 @@ vreg_pcie_3v3_aux: regulator-pcie-3v3-aux { pinctrl-names =3D "default"; }; =20 - /* Left unused as the retimer is not used on this board. */ vreg_rtmr0_1p15: regulator-rtmr0-1p15 { compatible =3D "regulator-fixed"; =20 @@ -658,25 +657,6 @@ platform { }; }; =20 - usb-1-ss0-sbu-mux { - compatible =3D "onnn,fsusb42", "gpio-sbu-mux"; - - enable-gpios =3D <&tlmm 168 GPIO_ACTIVE_LOW>; - select-gpios =3D <&tlmm 167 GPIO_ACTIVE_HIGH>; - - pinctrl-0 =3D <&usb_1_ss0_sbu_default>; - pinctrl-names =3D "default"; - - mode-switch; - orientation-switch; - - port { - usb_1_ss0_sbu_mux: endpoint { - remote-endpoint =3D <&pmic_glink_ss0_sbu>; - }; - }; - }; - wcn7850-pmu { compatible =3D "qcom,wcn7850-pmu"; =20 @@ -793,6 +773,62 @@ retimer_ss2_con_sbu_out: endpoint { }; }; =20 +&i2c3 { + clock-frequency =3D <400000>; + status =3D "okay"; + + typec-mux@8 { + compatible =3D "parade,ps8830"; + reg =3D <0x08>; + + clocks =3D <&rpmhcc RPMH_RF_CLK4>; + + vdd-supply =3D <&vreg_rtmr0_1p15>; + vdd33-supply =3D <&vreg_rtmr0_3p3>; + vdd33-cap-supply =3D <&vreg_rtmr0_3p3>; + vddar-supply =3D <&vreg_rtmr0_1p15>; + vddat-supply =3D <&vreg_rtmr0_1p15>; + vddio-supply =3D <&vreg_rtmr0_1p8>; + + reset-gpios =3D <&pm8550_gpios 10 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&rtmr0_default>; + pinctrl-names =3D "default"; + + orientation-switch; + retimer-switch; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint =3D <&pmic_glink_ss0_ss_in>; + }; + }; + + port@1 { + reg =3D <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; + }; + }; + + port@2 { + reg =3D <2>; + + retimer_ss0_con_sbu_out: endpoint { + remote-endpoint =3D <&pmic_glink_ss0_con_sbu_in>; + }; + }; + }; + }; +}; + &i2c5 { clock-frequency =3D <400000>; =20 @@ -1458,30 +1494,6 @@ usb2_pwr_3p3_reg_en: usb2-pwr-3p3-reg-en-state { bias-disable; }; =20 - usb_1_ss0_sbu_default: usb-1-ss0-sbu-state { - mode-pins { - pins =3D "gpio166"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - output-high; - }; - - oe-n-pins { - pins =3D "gpio168"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - }; - - sel-pins { - pins =3D "gpio167"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - }; - }; - wcd_default: wcd-reset-n-active-state { pins =3D "gpio191"; function =3D "gpio"; @@ -1578,7 +1590,7 @@ &usb_1_ss0_hsphy { }; =20 &usb_1_ss0_qmpphy_out { - remote-endpoint =3D <&pmic_glink_ss0_ss_in>; + remote-endpoint =3D <&retimer_ss0_ss_in>; }; =20 &usb_1_ss1_dwc3_hs { --=20 2.43.0