From nobody Sun Feb 8 12:28:25 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 4648515746E for ; Sun, 8 Jun 2025 16:16:10 +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=1749399372; cv=none; b=OAQ8OTM/X++g8F/EONJj4wA+N+YawGMgSaF1uDRdBOhgNpzyylsx1cNmPpek7LLLbXUfO4qb7gRXMfVi2WrWoFsnNFUa+C+PfbrUd6UN+37ZrRr+pmjJumaO/zS8j/9AwZTjkGrhWDVhOcQ8MufuA8l9fBT6lKrVLOfySWKOs98= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749399372; c=relaxed/simple; bh=OxBUrTXg+SWiOJc0ww+XKhPts7dGDQJeof1BxyM+QtY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=f+bev/IvVMufon8F/qpbXfwPU+1soIM3WxMm0fh2iU0e2dyX+OqVeWR4csOe8TtViTAW40I2EBe1mJD6IfVGM4XJk54UUOHxwFCBMA9Sutn+uFUeItIEqg/MhZt7F4mC36zsWxGR5j0sv/4RCEjChkw95WBjp4mToRjUbGmyhOw= 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=J+/WLugt; 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="J+/WLugt" 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 5589YR0O000319 for ; Sun, 8 Jun 2025 16:16:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=t3svtrQzhPcJLweM25Qjv2 aAx639KNBgFsUiIFX+8Xs=; b=J+/WLugtUKgtqAuKrrZ78mentCFpRhzcbLFDCx z6Dv/wtFYM6QI5veiqPpdzUQ+ebIQqZKtmyHP37NN289L5rUabubWaPLX3x1YL3O lLNfgR9DE6/WpaWwrbKUT8Ovsx6WlgFs+PPsyvmYebNxVe5UHjMI7HzXj3vz0P+M Emq4BKKN8N/9/S2CJDzdytNg6AbZ9MM8ivcf3Z1PgrkJb23to8iAdXWt/zwRc6d+ fFWLkYEPcEJtcCBjDL+sTAb66v/rUGLrVQJ0guLxEcMPhm5IB/qVXWJrOYRCbHR3 F0CyybIifLKwcmRrsGHaoY8CLXbJd3WoDktddbiNj51Gxb+A== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 474dt9kct5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sun, 08 Jun 2025 16:16:10 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-7caee990715so945781685a.3 for ; Sun, 08 Jun 2025 09:16:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749399369; x=1750004169; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t3svt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+cZCaQlxtEq9BbME2Tk2ZU0sQtB wwu0WrhvejvCrseZLJ2Ik6qRr X-Received: by 2002:a05:620a:28c5:b0:7c9:6707:b466 with SMTP id af79cd13be357-7d22984817cmr1438701785a.11.1749399369243; Sun, 08 Jun 2025 09:16:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2ECLvAGwHxlGpu/aiaKaMlVgptTqoaYM3u06cN0ZwmKGTc8l57wixyXulc+n+Bvw4GnIbkg== X-Received: by 2002:a05:620a:28c5:b0:7c9:6707:b466 with SMTP id af79cd13be357-7d22984817cmr1438699485a.11.1749399368863; Sun, 08 Jun 2025 09:16:08 -0700 (PDT) Received: from umbar.lan (2001-14ba-a0c3-3a00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a0c3:3a00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-32ae1d01debsm7472621fa.103.2025.06.08.09.16.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Jun 2025 09:16:06 -0700 (PDT) From: Dmitry Baryshkov Date: Sun, 08 Jun 2025 19:16:05 +0300 Subject: [PATCH] arm64: dts: qcom: sdm850-lenovo-yoga-c630: add routing for second USB connector Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250608-c630-ports-v1-1-e4951db96efa@oss.qualcomm.com> X-B4-Tracking: v=1; b=H4sIAES3RWgC/02NQQ6CMBBFr9LM2sYBKWivYliUMmAXFOhUgiHc3 UaMcfl+8t/bgCk4YtBig0CLYzf6BNlJgH0Y35N0bWLIMVdY4lXa8oJyGkNkaahqEbusKC1BOky BOrd+ZPf64EDzMznjMUJjmKQdh8FFLTyt8TwYjhTgP6fFL9aTJ37xt4e3AivTKKVMq5cM6n1/A 0QU1wDAAAAA X-Change-ID: 20250608-c630-ports-ae7d00f146ce 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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3452; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=OxBUrTXg+SWiOJc0ww+XKhPts7dGDQJeof1BxyM+QtY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBoRbdGNzhmbLV5Cxp7xfsO2uXQgMvf4n7qhyHXW 4XnmI3DVDGJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaEW3RgAKCRCLPIo+Aiko 1XPjCACFiWDtKVUqHyE7H76GRKWQ1inlljYNLIcmLRcV72U9wUWLA66PUFEiBe86DoFKoLYHwm9 8i7Yw4Cx5erhQ6i94D36F25xX+Vz9aYnvR5+U4E366jJvaJsxuKfAKY1K1a0p+6y2Qnx4rs8qZm cjn98D8J6Ge6or+9qJzSrUc4gNglB6StgPlrhiZm/lSQB4OOjEgJbXB8K00fvg1ppVAeeWiNGFP eexhQnhZliDf63BO2SKb+lcLauOb8s89MSRN6zOitvqDvV0ROiBJvx/7tiyVoeo8WgW7Le4ERQp IsGytg1D3ZCs+mrwTKM5a/sAxky999wHTAOELCpYk0EQQDf0 X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Authority-Analysis: v=2.4 cv=KpNN2XWN c=1 sm=1 tr=0 ts=6845b74a cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=6IFa9wvqVegA:10 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=4HiTP562T1y0kxfXC7QA:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-GUID: DI979EUV-uYmil1OUpoxwvSL9UxBeSx1 X-Proofpoint-ORIG-GUID: DI979EUV-uYmil1OUpoxwvSL9UxBeSx1 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjA4MDEzMCBTYWx0ZWRfX1zrZShIA5qbU CBfQE0cJgRPBDkX2UrmVGk4EdjgxvOzPfOs4iE75Tmmy+Q7PP6jzScEf/O0fKT7XxsiKQ0lR0hW 5WpKAMxuJTXP4r5cqTcNO67LAU9O5PEEnycaStRuqhB4TibS2hBSuOHusSSIYN+7q+Kx/Zvq66k 5Ng6M/FTbIq22i85FREJWWdeq/p+UjYpvvgA4UdI+SIV2kWy6qJ4Q+H2kRHFcrn4u292m9kC3Yf 3FBqu2U7QIauHhvHbIgtaPZWP8nZzj3gcn5ms02GrRSGfea+xr8WpmSiV2R1llyeSl7X3WxI1tK pw36HXFg4p78pcWXjC/D0CMn5GljcXvFDO5B83xBX4uM06uZd2aXuxGRNz2OaTBGgTGgSdN0YXF 8SH8LyjMTQx0Df1eAx8uf9rHvhzm4D5cJXnOacVQMmWElz4GZHhVVegY92AL6N+XHikuU4/G X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-06-08_02,2025-06-05_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 spamscore=0 mlxlogscore=963 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506080130 On Lenovo Yoga C630 second (left) Type-C port is not connected to the SoC directly. Instead it has a USB hub, which also powers on the onboard USB camera. Describe these signal lines properly. Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- Note, corresponding DT bindings were submitted at [1] [1] https://lore.kernel.org/r/20250608-genesys-ports-v1-0-09ca19f6838e@oss.= qualcomm.com --- .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 104 +++++++++++++++++= +++- 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/ar= m64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts index 3b28c543fd961c787d7e788995f8fe0e980e3f68..794ff455bca58c3e201208a3382= 38f90bf4f1ba7 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts @@ -421,9 +421,46 @@ connector@1 { data-role =3D "host"; =20 /* - * connected to the onboard USB hub, orientation is - * handled by the controller + * connected to the onboard USB hub, each pair of lanes + * (and D+/D- pair) is connected to a separate port on + * the hub. */ + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + ucsi1_hs_in_1: endpoint@1 { + reg =3D <1>; + remote-endpoint =3D <&usb_hub_2_1>; + }; + + ucsi1_hs_in_2: endpoint@2 { + reg =3D <2>; + remote-endpoint =3D <&usb_hub_2_2>; + }; + }; + + port@1 { + reg =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + ucsi1_ss_in_1: endpoint@1 { + reg =3D <1>; + remote-endpoint =3D <&usb_hub_3_1>; + }; + + ucsi1_ss_in_2: endpoint@2 { + reg =3D <2>; + remote-endpoint =3D <&usb_hub_3_2>; + }; + }; + }; }; }; }; @@ -836,6 +873,69 @@ &usb_2 { =20 &usb_2_dwc3 { dr_mode =3D "host"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + usb_hub_2_x: hub@1 { + compatible =3D "usb5e3,610"; + reg =3D <1>; + peer-hub =3D <&usb_hub_3_x>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + camera@3 { + compatible =3D "usb4f2,b61e"; + reg =3D <3>; + }; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@1 { + reg =3D <1>; + + usb_hub_2_1: endpoint { + remote-endpoint =3D <&ucsi1_hs_in_1>; + }; + }; + + port@2 { + reg =3D <2>; + + usb_hub_2_2: endpoint { + remote-endpoint =3D <&ucsi1_hs_in_2>; + }; + }; + }; + }; + + usb_hub_3_x: hub@2 { + compatible =3D "usb5e3,620"; + reg =3D <2>; + peer-hub =3D <&usb_hub_2_x>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@1 { + reg =3D <1>; + + usb_hub_3_1: endpoint { + remote-endpoint =3D <&ucsi1_ss_in_1>; + }; + }; + + port@2 { + reg =3D <2>; + + usb_hub_3_2: endpoint { + remote-endpoint =3D <&ucsi1_ss_in_2>; + }; + }; + }; + }; }; =20 &usb_2_hsphy { --- base-commit: 4f27f06ec12190c7c62c722e99ab6243dea81a94 change-id: 20250608-c630-ports-ae7d00f146ce prerequisite-change-id: 20250608-genesys-ports-09407ab555ad:v1 prerequisite-patch-id: 6e11f311167600e5a2fe4de47eb499a87cf49acb prerequisite-patch-id: 18df27b45207f004f55a6dd5d558b84ba8b224c7 Best regards, --=20 Dmitry Baryshkov