Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1256504lqo; Sat, 11 May 2024 15:05:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRRFXZjt2az/BWYNk19wvKgayQs3AUDd48xzR0ifk91qURniSyA32/D2jGQ/KqCU8+MpljnuAClM0bjb8U/xPmgtlteXT29qCUHED0wA== X-Google-Smtp-Source: AGHT+IEHy/FziSqMvvGk7/tc8NaizKkXcH4lZ21iEI/PrckBzoYNYIV+AM6GJuso5+VdPkGalQ+G X-Received: by 2002:a05:620a:d5a:b0:792:c44e:c272 with SMTP id af79cd13be357-792c75f44f4mr638083285a.53.1715465106807; Sat, 11 May 2024 15:05:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715465106; cv=pass; d=google.com; s=arc-20160816; b=QVp/ICDbtxlItnMQQVc0mcTJNBidkfuvAXUWoFBdWeBta4tir801uLg8wlf6HAhPdO c+XEotONGscG899mRJc+8Wq317EG+BwHycV2eutZ+pn2+U7xzIlnWw/FqaZMixrUk4ZQ y7Cm8xR3PeUHpPriAyvHzbPudUGr0br2BcuL5bLN3wGa4hH0nL0JQU0OHAJDrq7qgeNm 33nUroLvu0juc+bwLVdKIJl1vxggGW3bs2YrbAKFPC8xZQd8WOwVEMMxwifHJ1JNUWDu PBtwRbPO4HTQWscnzXoGCTDjlXxlOQfeIia+f4bymiqB9SOmsq4lNKlEy4FP/gtX/UtL 1wtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=MrsH65DwYWxyDnZ5BbfeeZHd24rKgaZ9n9wSGTkNhQo=; fh=5xR0AzpxQ73qpvmbyZnpG+O91dwf0Omk+9vziwsMw0k=; b=W496shh++Hu7lrvglGzTUq9gUEKWw7jHH9PGC4ZL20YspWkF26oKAs97cO6P6yfbgh S5c8/Aul04XVW6tmV7iDfy1SU3Jg0RJQtxwBGp+eIeUHyM5aIU7cJ9Gn8Zv3jhybrS2i OA4joju97FH7EW/+m2Qwunlnw6CO2wzAvW7MxQdzOFpbOEFbeQ5fOpaXmXRgw5sivVm8 d/tRiVRsOsnaVpqiucRDwpbbcY0NugmpZ2dSp3zLuxLoWfD0YYPiXvJJwn23Y2leeI6I 1Ka0653FonNOfk2RreIUFUZKlR5o4yodgpY9NdhQBQlmjuFokeUzktkg4vimLeycWbXB cnuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AhuKd9+f; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-176750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792cd459443si373921585a.675.2024.05.11.15.05.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 15:05:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AhuKd9+f; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-176750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7A6C91C20F3D for ; Sat, 11 May 2024 22:05:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD92254FA2; Sat, 11 May 2024 22:04:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AhuKd9+f" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 3880D22EF2 for ; Sat, 11 May 2024 22:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715465055; cv=none; b=UzhNkCQ3WJlJN+beI/krnp/GxVmFB9CBBBTj+CgoQ/Ze8HiU5J67ylAnjbiWjnhgZ2GReMOMaO1MLW0xaOJSbt71XlLec3G6HdBEzn2VpvUKV73wnjSOOlVSsCgWaaUrsL/6z7zYnSGjqvHS6BaOmnVHDxL5IG40cS0b4XdOWdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715465055; c=relaxed/simple; bh=Xo8om8fumEXzQduQdJPKXB6VlSeocBEHT34qMhggAXY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YED8TuNA3r7ocxCPADkIkYoumHuA3VC4XkShGll8QJxw1lcM0ejTjHEnmkzK6349XLbvM4wbu8BzY1waarfGXoubKkHOnNtcIr3v2x0K2FiEKtKFi1HYdNSxGmSQOB9GbUfVUVzBpg4bgzTb3w6Z7qOo79WeG+nLZ/s/PClzmUs= 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=AhuKd9+f; arc=none smtp.client-ip=209.85.167.45 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 Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-51f72a29f13so3975911e87.3 for ; Sat, 11 May 2024 15:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715465052; x=1716069852; 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=MrsH65DwYWxyDnZ5BbfeeZHd24rKgaZ9n9wSGTkNhQo=; b=AhuKd9+fxDcCH6rAHt2j/8FRCDZOJWDB1eoFK0VYxQwtcaQfmlTnsYrbFJEEr2B8nD dCSjOo1mhnrrNLqXiBdRQw/kFAHS6KF8eQO/SkGvFjWeYuO+wWdqVEtD2vd0V1MHUVvm D1XfEWMy7j5GaLyOHaq9zSJ6yveMWXiokbDREG/n5Sol37uzKwZtDh3welLWRs3iFbf6 gxP9B8ip7UgwdqOXIeh+qgRsb7MWpCCD4N9lt17CgNgbnlzFNwUB+TfdqaXoNpEPj7Uw TkXPO+LOoZnPsN1ZWI/jjpcb7vNZNGgBS+vNcnmRSLawYV/xZpVw5OD1ePiGWcpIgqsl gi1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715465052; x=1716069852; 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=MrsH65DwYWxyDnZ5BbfeeZHd24rKgaZ9n9wSGTkNhQo=; b=NR9Klia+/HgUF9yGMJGUEM06m4XtRfvuKThmWNEFx2OyUv4z9JianH38GBMqAO77WR igMQFuCABV7rnqKkd2Yr1zeaGQvfGcSgAuBSCT9Y+83nLa+bL+kvuSd6eTeaSdxrDUdG vXs9WVAViZ2bLwa7gAOKG/xpBIHysFXqGIWXypGzrQX0NJEbm7epgqyyePPfe7D88Dlh /PBYKcwYxOZ4HAvvlLo6W6M3MRkEUqwY+j0Mh4qvaRJSBq4F0Gl7X8TDC2oShFQ8mVAM Gq8DfzoSYHyOMyJE9Ativ3cVUUekYGhc+B+oNYAStaxr+ea/cwxs5c17KI1dgaY9vsZ2 5nLQ== X-Forwarded-Encrypted: i=1; AJvYcCWaJs9AGiVWP86EmkxG5qRajpgKtPggmTuS8PjHVDWcxM/41b9xB2E8FQA+A3KQfje7pnlCth+KgvpP8xci/qNQ8p4jQo+uIv7O6aVn X-Gm-Message-State: AOJu0YyAc4iPgecV1JzCRhrg28FoYyNWIyq20wzSBmVJ6zKWCig3gxyg DMULTIPl4cJBCldBflhpSUNYiWbJhDkbrKKsbmfWMXoFQLLICTLPBDN1/OU5eLk= X-Received: by 2002:a05:6512:230a:b0:51c:c2c1:6f58 with SMTP id 2adb3069b0e04-522105792e0mr4383287e87.55.1715465052358; Sat, 11 May 2024 15:04:12 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-521f38d878fsm1123875e87.206.2024.05.11.15.04.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 15:04:12 -0700 (PDT) From: Dmitry Baryshkov Date: Sun, 12 May 2024 01:04:10 +0300 Subject: [PATCH v4 4/9] arm64: dts: qcom: sm8250: add a link between DWC3 and QMP PHY 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: 7bit Message-Id: <20240512-typec-fix-sm8250-v4-4-ad153c747a97@linaro.org> References: <20240512-typec-fix-sm8250-v4-0-ad153c747a97@linaro.org> In-Reply-To: <20240512-typec-fix-sm8250-v4-0-ad153c747a97@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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1441; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Xo8om8fumEXzQduQdJPKXB6VlSeocBEHT34qMhggAXY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmP+tXW+/CoPXhJA/c3bUmPBgDWWtWm2M/V3BIJ IM0Rr+SRhSJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZj/rVwAKCRCLPIo+Aiko 1UwTCACZcbgmNbuL/Au0uU1oPANifmAuXU3huehfMv1ymeArCeBOuR3o6/8LaH1FIWBOIBRzk76 LkcQ+LF7tVRP4wcH+DeanZi9+O3vGyWpriYiXaPZxJTnn0FwMuJV5MTRxRfGYckklbDHKn7j9wD AA2v89rJmjbXAbAMEMR5+BsC97EcozCsuRUn9hm+fpVG6yHEoQJdVr1Ukn8ggT2ariGoTkWQonv 53LCQ1/BRKhVyKUeYhi8j6PbZ8FHLZP6krIXsLMvrE7759uSrrW2TeeFuCjRxTR3Oi4DdOyrvN0 2fWLyaxvz0DOT5ohoUzg1phw/ATb9/7D8u84zOosPwzuu4R6 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SuperSpeed signals originate from the DWC3 host controller and then are routed through the Combo QMP PHY, where they are multiplexed with the DisplayPort signals. Add corresponding OF graph link. Reported-by: Luca Weiss Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 0ec473ceb3d2..d6c8c6c2eced 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3947,6 +3947,10 @@ port@0 { port@1 { reg = <1>; + + usb_1_qmpphy_usb_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss_out>; + }; }; port@2 { @@ -4225,8 +4229,24 @@ usb_1_dwc3: usb@a600000 { phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>; phy-names = "usb2-phy", "usb3-phy"; - port { - usb_1_dwc3_hs_out: endpoint {}; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_1_dwc3_hs_out: endpoint { + }; + }; + + port@1 { + reg = <1>; + + usb_1_dwc3_ss_out: endpoint { + remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; + }; + }; }; }; }; -- 2.39.2