From mboxrd@z Thu Jan 1 00:00:00 1970 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 24D4A41D639 for ; Mon, 14 Sep 2026 10:12:37 +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=1789380759; cv=none; b=AZIuKGJami9avG/jNqsKE34U47W1rX3CDyRK5L2tfdC/fyBRWfBXZV4DiDWe9sxAkCrro2LBimfxVSB2DN1kTBuY3xA15aN8MDAdZJDGgptWT83Z0xe7DXutqYmXEPvyNMxjJPz7p90P63/bOlr93p6b7v6q62aKZjDpbVxD9LU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789380759; c=relaxed/simple; bh=0aU40lED/wLZI1ZLNdrO3hZn8tX/F+q3zX5v3LCBems=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FSwQ20U4fH6Jdy5e320AROiNTDnakaDuYzW7/97QRgJRD+b/WE8ROxRk6E8TGz/RRG7D7cu81z3dv0V4EbfQ+R0D9JYHlmycxAczVp1Yj8ze9/jwaZo4JjEQF1aCedefG3Z/+wWGzX3QuKL8LeACFVS2DBiy5+LtUCbThRgmy7w= 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=BNd1BlUL; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=MlGRCh02; 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="BNd1BlUL"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="MlGRCh02" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68E9nW6C3731514 for ; Mon, 14 Sep 2026 10:12:37 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=r57Gb+QjLrRwrCGeANLs/enNEAdU1pkKAdj qe0pTr5o=; b=BNd1BlULAXpixB6lI7nHKxG7aocwl1he2Vn46gOeFrF+/RRPPRc ybJe7ldzl419zrIEIN1jDnl8c4UXJ9ElZE4R7bvsNqV9ZJ1Qh+mzDpxMzmp2i4tl YEdFzPDruZwMdo9GaWgaoI5+Ovr3+7PyDCTZ48Ybkt2pMRVAVae7ZbZH9Jpo80JV BhUDhGSbQDfYwsOzu0/lu9FfrviEGeFmqsJNX/PZdPB+9oTnz8nXcgdkY63It8nz +AsHF81RCMy0bT50MRVvkzBr+9qTEaazt1FUPq5Plr40F1wqbT0KkTI23bigfUue 8aLoN3WROzVDFdypPZEsS9HHhPuF3gU+pVg== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gpd1f0ej5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 14 Sep 2026 10:12:36 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2db22383e8fso44966965ad.1 for ; Mon, 14 Sep 2026 03:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789380756; x=1789985556; 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=r57Gb+QjLrRwrCGeANLs/enNEAdU1pkKAdjqe0pTr5o=; b=MlGRCh02BCodXNtNvj0FdTPuznfYhbsLwD2XGDQFhPbgZcbLf1WlY1x7MCZoEVgyzh gH7UWjjxz1MDF5fRs0SOIDUBZEq7wZDCqSnBXA6q+SP0n8BgYp6iq3gr4gQlxzljuXAU 68B6Cyjvt2a3US6qoN3cfB5O1KT7uwGNySydH5RhFSY6/xLDPuJGZjYS46EIJriVBx/9 ZRnEkidZgMhGYkUvyG7oOGixDjbMSh2zhw8Bc3dXNxwo+Qs1eBW2LlDfdc/OdoFIpqS/ ++i/FH4DPKx+E8HzfSiu8pZUjDAATcAGNKC1DPLVXv+qD87Vx372eJakTkCRuusorgPe B6hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789380756; x=1789985556; 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=r57Gb+QjLrRwrCGeANLs/enNEAdU1pkKAdjqe0pTr5o=; b=at4hgMW8kUYIMaJoJveUHM4MzLQLRj60mo1QyeEIU3RNRF/6Chy16WjYKBz91/8HqF qoNRrcHcrjbce617qtww1oCxcoYjmrdr7gBb13wGEy3bAs4bajVCllzjuR1vwxeLdegC 3+JiLicpus9q6HdDcUlEBNu6SiBDgXBw1OAiEvpoVoN2S36fACAWy2IsNr0CqqAFExGy IRQXmlCv2my4FLsd+JbJJQOAG4VIwkuz/5IWFHRIqF2jh6aNTAktcczVFbYIovGX117+ HCkJXt6dd7LXQbzgxIpy24+egYKNJUwL3ggc5oKtGSj90g16AEPClW3fT1XZ+ZmBQXm8 lSFA== X-Forwarded-Encrypted: i=1; AKwUvBw1Nn0rcbnz8tAHs4xm1ZowcKv2hHDB4fM42SHi2QiL66OcuZKHmdQpMH5yOjzVNTF3Y2AmyyGY1EoVHEQ=@vger.kernel.org X-Gm-Message-State: AFuF++mLQIvV8lCIcG30N1BEILviva5GfWdSD1uhUUzZ77mMe8E2uT2G 0N0CmRLkpT6hLM9jluMzZJxxDxhJG3GYJz1Jb+RMS7NIaSURBYQgxjgKy7OMrqcQPG0PKzXtUEV hPVkItAxcFDP343xMnthrnmNDBSZ02/nbFruj3ziYUctgdpFUJm/UYzr88sotIOMeKWk= X-Gm-Gg: AYBFou3cz00rn0xKKUrgMs6nR4IXn+bluaAeY2rZBGuqvGTmmYF20eRHdZDv8YMsyaY PtMtshX6vFVTPhyb6iUlbBoia22zItFetcUfa+LVLdxxxpg+e0Ya/agrVRDyD8tZOPpGMsQRp17 XnKMNHmHdxp052EUIWIdlvfHo+FmkQJgreF6jVTZ23T/CYPTlnmTgA+l1XsqWaHTbq//mCe/vlJ V/zhv0btWm8vWkZ+PUiGzucOimSQT5NiheIoelbOJEt0NzSRJiPRUztOPLlWnSR8n2ztHH2RR8k Ja6LFfsB0SjvKZN+JVyjyJJLmtcj+pFWu/QXoqc4zncdyn8KBbol5zpYGR5G1lvp+91bwDMQzTp Y9rwwFkd+3QwJ88hQeZv2bg8og8POCVk5zvGH3i4/fz4lnQ== X-Received: by 2002:a17:902:ea0b:b0:2d7:1858:1d96 with SMTP id d9443c01a7336-2dd5f0997f7mr77894125ad.7.1789380755870; Mon, 14 Sep 2026 03:12:35 -0700 (PDT) X-Received: by 2002:a17:902:ea0b:b0:2d7:1858:1d96 with SMTP id d9443c01a7336-2dd5f0997f7mr77893505ad.7.1789380755348; Mon, 14 Sep 2026 03:12:35 -0700 (PDT) Received: from hu-liuxin-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33ba4ed64fcsm29020697eec.16.2026.09.14.03.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2026 03:12:34 -0700 (PDT) From: Xin Liu To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Dmitry Baryshkov , Yijie Yang , Abel Vesa , 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@oss.qualcomm.com Subject: [PATCH v3 0/3] arm64: dts: qcom: PS8830 retimer clock fixes and typec0 enablement Date: Mon, 14 Sep 2026 03:12:27 -0700 Message-ID: <20260914101233.981643-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: 8bit X-Proofpoint-ORIG-GUID: mB0kq6OrVtGx7u8q4RUsi0cZPwLCpXRY X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE0MDE0NSBTYWx0ZWRfXyRNX5PhhNxaZ cATHUUCufGZSnyQ8a3DqeYquyfKRnRzX9SCTd/lJBEKdvlSEFg9Axrq4nRtz5Mbtl5mRcxzUa6l jBunZWHYPExEzq61iD2X+KV6gfb5wq0= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE0MDE0NSBTYWx0ZWRfX31jc8kZwUo2d 90Dcj3iyYnLLXluGY9h/QUNqNjpHDiFHbD/ue3i0JSlyB9iCSyx07xYg5Fzg9c+3euXUxV5rIhW fptt9C9oY1i8kMf8aEbDVPj6kG599mU8yazRGgD870u+2vxliiwBQ9TNgZOGmJYu21lOnqhvXiG wb/OxwjU7BqPX9By7dX+sVK0xQJ/I1JY3cJ1vSylPKqZs1YGhPBqKanYlBivyafYzuypDN5GyIT 32NLbFx4AcGigZc26xxtT+DphwXvbKFN2wTiO8kLMlgmy7qdaFONn8lstvHsvm86YRKY63YnjCj vudqYa9U3gok4VO2TWwU05JcqRe62SJr57rcsxH525fCsVqWfwgeFmAV9awkqliyiZncX3oJ5/0 Y1SuLJbJGCQ34H410VdN6V8m4AWOPDMTWrsIQbrKIA9/BREAIUG8/dSz96MMnJkbQ87iY4N6awf c8daQ9PGYPV9Dqs0XXw== X-Authority-Analysis: v=2.4 cv=XKel2ghE c=1 sm=1 tr=0 ts=6aa7c894 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=L7aDVREW-34teNFlR4oA:9 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-GUID: mB0kq6OrVtGx7u8q4RUsi0cZPwLCpXRY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-14_03,2026-09-13_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 spamscore=0 bulkscore=0 phishscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609140145 The Hamoa IoT EVK hardware design uses a Parade PS8830 retimer on I2C3 for USB Type-C port 0. Describe the retimer and route typec0 through it to enable USB 3.0 SuperSpeed and DisplayPort Alt Mode. Compared with v2, two new patches (1/3 and 2/3) are added. During the v2 review [1], Konrad pointed out a suspicious clock reference. Further checking confirmed that every PS8830 retimer on both Purwa and Hamoa has its own on-board 25 MHz crystal wired to its XI/XO pins, so the existing clock properties in the DTS are wrong and should be fixed. [1] https://lore.kernel.org/all/049be278-8958-4d04-8501-7fb60d2169cc@oss.qualcomm.com/ Patch 1/3: Purwa, switch the three PS8830 nodes to on-board crystals (Fixes). Patch 2/3: Hamoa, same for the two existing PS8830 nodes (Fixes). Patch 3/3: Hamoa, add the typec0 PS8830 on I2C3 and drop the unused FSUSB42. Tested on the Hamoa IoT EVK: - USB 3.0 SuperSpeed at 5 Gbps on typec0 - DisplayPort Alt Mode on typec0 This series is based on the qcom tree's for-next branch (git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git for-next). BR, Xin Liu Changes in v3: - Add purwa-iot-evk clock fix patch (1/3): replace RPMH RF clocks with per-retimer fixed-clock nodes inside a new clocks {} container node - Add hamoa-iot-evk clock fix patch (2/3): same fix for the two existing PS8830 retimers on hamoa - Replace RPMH RF clock in hamoa typec0 patch (3/3) with fixed-clock node inside the existing clocks {} container node - Split previous single hamoa patch into a clock fix (2/3) and the typec0 feature patch (3/3) - Link to v2: https://lore.kernel.org/all/20260803132753.994619-1-xin.liu@oss.qualcomm.com/ Changes in v2: - Updated the commit message to clarify that FSUSB42 is present on PCB but with all signal lines unconnected (NC), rather than "won't be populated" Note: Changes in v2 and the Link above apply to patch 3/3 only. - Link to v1: https://lore.kernel.org/all/20260721074145.1534100-1-xin.liu@oss.qualcomm.com/ Xin Liu (3): arm64: dts: qcom: purwa-iot-evk: use on-board crystal for PS8830 retimers arm64: dts: qcom: hamoa-iot-evk: use on-board crystal for PS8830 retimers arm64: dts: qcom: hamoa-iot-evk: switch typec0 to PS8830 retimer arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 130 +++++++++++++-------- arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 27 ++++- 2 files changed, 103 insertions(+), 54 deletions(-) -- 2.43.0 base-commit: a9d7ced84989ec05be09b4b8428759ef60450a0f