From nobody Tue Feb 10 03:44:50 2026 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71EEC79DD for ; Sun, 31 Mar 2024 03:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711856942; cv=none; b=lxe082MYvbhWg/pOhNkO2+6pCuxphtrTqfRLSKj/bk36gYXghXSiLzMGP4+b2uCBR0Il2heY2U+L1A3iNmdqMc9KrBUVO0jLvYkaD7sHhbi2+lkAU2T2u6X+d0kXBC88N7X6VQR2b2bmuPJytUcZ/8ppqP3IZpBcMupXRzFQaLw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711856942; c=relaxed/simple; bh=TBIiNNBgZICGeD+NJeW5hxRyvvEMnqmHX98cdDr1ewo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=b6vTu/Gx0Wbj5epiuCOm0+SWF25kdnKcOPtV+9BTaytRL9XnHAalAsSykviEhZtn+Pvuw3BRmCSw1otfzGElxxXSYVHQFlFDFCTqZT3ylM0b5cefGeu1V4BsnMcwQs/sEBSAOgFOnXoRS3XTmUXS+IVKtN1zZWAEfFDIAXlcO1U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=y3jU0THa; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="y3jU0THa" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-513e89d0816so3522174e87.0 for ; Sat, 30 Mar 2024 20:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711856938; x=1712461738; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=likv4eu7xKsHRY+ZmHx+zM6NgK/jlhd2B+FPr4klQxA=; b=y3jU0THatgx0ay46rJ1wyR59VuJV3TrEb5pKTc154g3c0oZUtpUXBK4r4s6o0rP2dp jTvdJEV1omNhQESJn5JGXApk5ZAT1gq2B6SlvQNuXUlwR8VpTwJbJtJFBVarmsL3xi0X 01xvR3vC1UxUsnP9ENkZgEUJ+Kmry7ocaBOfiPvnkDDmUHg9fRPg2i3pRsB9QZ4orvJM M+w/CHFnEur6i+2zevAP6eAZU1v14lU0L2CF2X/n4g1zFYcCezHKgcB6O5UiXiG9KXag pzxc4jcFrGBrDN918QSSOsN3Ko1bcPL7sB03jjd49VZ2jJZWMYsXTWtwjU3MGY0/3lLx xWQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711856938; x=1712461738; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=likv4eu7xKsHRY+ZmHx+zM6NgK/jlhd2B+FPr4klQxA=; b=JtfOnViMalZ/TxJj2bxro4mEoAjqGplaM7WkTGS8CpVDsfSkI9bihhBQrqBukYJix9 Jxe56uxb2jNIUt1KnLZ9jJo3afsdX2woVn/1QZau2BVyFZxnumnivnBhyEBq/eQ2l64t PT8QheW1O4XX/ljOIoPF+HHBB415fBrB5u7oEr3sOoVOvcai8hrt79n4aahhavImKKqO n0/wTM60SVojf7Km0TSPfwPhX450pz8C8iHqh+d8ehxPGGMFLWlDnA4X0cv1+OYdJqDJ aLwnDecyRtf1GvnSRKp4KPIrY/yvmJE6RD5kVpkTwezQ5YARfkwCzvu0TsKTNDHC/rFh CdSg== X-Forwarded-Encrypted: i=1; AJvYcCWDwEBYHTv2N2RmFTMTGC07JxTMHOxyY4Jc9CQ1ZkfIbxqHVEQXOnrYkOCuZUykKYGd/N78vXzkSpWcTFe5jGJj8bqZTEKH/CrvfV6S X-Gm-Message-State: AOJu0Ywv/dPF1OxxiOhOXuOIfWLV/qBcUJrS2DFW6gGAzzmIPKMP8LS+ HrOK5DGSobOWnwcJpTyrrbcz+R97KoTgWPUgKzKdBMmJRE8l1ydEirG7JGLOxMo= X-Google-Smtp-Source: AGHT+IFP2RiABVbRp9DIzRPWooq3AnMTyp3nSEM2T4UIv/zC4NwB9i0Wjl+Enin7JWvM/a5PHyIvrQ== X-Received: by 2002:a19:ca49:0:b0:513:e27c:78f4 with SMTP id h9-20020a19ca49000000b00513e27c78f4mr3680956lfj.53.1711856938707; Sat, 30 Mar 2024 20:48:58 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id k9-20020ac257c9000000b00515ce9f4a2bsm762980lfo.35.2024.03.30.20.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 20:48:58 -0700 (PDT) From: Dmitry Baryshkov Date: Sun, 31 Mar 2024 06:48:56 +0300 Subject: [PATCH v2 6/7] arm64: dts: qcom: x1e80100: describe USB signals properly 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: <20240331-typec-fix-sm8250-v2-6-857acb6bd88e@linaro.org> References: <20240331-typec-fix-sm8250-v2-0-857acb6bd88e@linaro.org> In-Reply-To: <20240331-typec-fix-sm8250-v2-0-857acb6bd88e@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bryan O'Donoghue Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4103; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=TBIiNNBgZICGeD+NJeW5hxRyvvEMnqmHX98cdDr1ewo=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmCN0lNMYWHl/dxGdMNsYy7GyioANCW98Nddfrb k+PV6tUfReJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZgjdJQAKCRCLPIo+Aiko 1XCqB/9TClEOyOW/yOs63+nvWj9S9N+yOgX996z3EUt1ro73G7ZrHt+ovlYkNdf6EtUuDWTLSDt QdspNSp1el45sYDwJmKhHnPSX9BBXxwuCXnL2qTQM/ugOnT1H+WPl3yAc18HVBdmW04uAG+8Rvw NoM7ZA4o86Iwape8uHi2fCNBcOHzSUFFTHJblzjdAr4S0mHfR5w4RWCC7N28wP6R3ZuSY9QYf82 AUaPgxvCZ2h0VRuSp4hTt2S/60Y+idFgTWVzBR28qmPUMyb++NOuxeOoANl04xppc1pF7s2Vm0f QHyvADtOU8siyDygL0mD+SpizCxbMe+7EUgQ9Svz9FoMpTOM X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Follow example of other platforms. Rename HS graph nodes to contain 'dwc3_hs' and link SS lanes from DWC3 controllers to QMP PHYs. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 149 +++++++++++++++++++++++++++++= ++-- 1 file changed, 141 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/q= com/x1e80100.dtsi index f5a3b39ae70e..3213eccc3a3a 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -2543,6 +2543,33 @@ usb_1_ss0_qmpphy: phy@fd5000 { #phy-cells =3D <1>; =20 status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss0_qmpphy_out: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss0_qmpphy_usb_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_dwc3_ss>; + }; + }; + + port@2 { + reg =3D <2>; + + usb_1_ss0_qmpphy_dp_in: endpoint { + }; + }; + }; }; =20 usb_1_ss1_hsphy: phy@fd9000 { @@ -2583,6 +2610,33 @@ usb_1_ss1_qmpphy: phy@fda000 { #phy-cells =3D <1>; =20 status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss1_qmpphy_out: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss1_qmpphy_usb_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss1_dwc3_ss>; + }; + }; + + port@2 { + reg =3D <2>; + + usb_1_ss1_qmpphy_dp_in: endpoint { + }; + }; + }; }; =20 usb_1_ss2_hsphy: phy@fde000 { @@ -2623,6 +2677,33 @@ usb_1_ss2_qmpphy: phy@fdf000 { #phy-cells =3D <1>; =20 status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss2_qmpphy_out: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss2_qmpphy_usb_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss2_dwc3_ss>; + }; + }; + + port@2 { + reg =3D <2>; + + usb_1_ss2_qmpphy_dp_in: endpoint { + }; + }; + }; }; =20 cnoc_main: interconnect@1500000 { @@ -3445,8 +3526,23 @@ usb_1_ss2_dwc3: usb@a000000 { =20 dma-coherent; =20 - port { - usb_1_ss2_role_switch: endpoint { + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss2_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss2_dwc3_ss: endpoint { + remote-endpoint =3D <&usb_1_ss2_qmpphy_usb_ss_in>; + }; }; }; }; @@ -3514,8 +3610,15 @@ usb_2_dwc3: usb@a200000 { phy-names =3D "usb2-phy"; maximum-speed =3D "high-speed"; =20 - port { - usb_2_role_switch: endpoint { + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_2_dwc3_hs: endpoint { + }; }; }; }; @@ -3590,8 +3693,23 @@ usb_1_ss0_dwc3: usb@a600000 { =20 dma-coherent; =20 - port { - usb_1_ss0_role_switch: endpoint { + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss0_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss0_dwc3_ss: endpoint { + remote-endpoint =3D <&usb_1_ss0_qmpphy_usb_ss_in>; + }; }; }; }; @@ -3673,8 +3791,23 @@ usb_1_ss1_dwc3: usb@a800000 { =20 dma-coherent; =20 - port { - usb_1_ss1_role_switch: endpoint { + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss1_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss1_dwc3_ss: endpoint { + remote-endpoint =3D <&usb_1_ss1_qmpphy_usb_ss_in>; + }; }; }; }; --=20 2.39.2