Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1069710lqp; Fri, 22 Mar 2024 04:59:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5IvHPpWW+B/DQvrr+SiS9Mj7eHK+ZzhrYwirvt+ThObLQqyp1MR1h7oLnYTM9WFzwToDhAXIpefiqkWzhiEQhiaNjh4ypcDdIiGdihQ== X-Google-Smtp-Source: AGHT+IGtd8rYx+0JOEpfWzGVGLVYw1XXkVanxDwG9w7RBGX+PrTwFXqanDIP7R6BFd04aQha86Q8 X-Received: by 2002:a05:6a21:398e:b0:1a1:76fd:11eb with SMTP id ad14-20020a056a21398e00b001a176fd11ebmr2317804pzc.37.1711108776873; Fri, 22 Mar 2024 04:59:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711108776; cv=pass; d=google.com; s=arc-20160816; b=hHe2QJzreINUdfj34oU6uoaI7ck/383JhLyCzhXuTkPm3PtY8agrdnBGofnW4T6xUO DKk1TmuRLGS0pSOtqEW6aQl0scsurSEul7E3mKYwW7aQDczG35E5YojjDRzDkkfxAJ0F H0oJHT88EkXux6UU+goYVnIMSgc/RQoYRVeNvth8EwEal/6OZQ1gqcyAfB4rI8Hl5VZK GyxgvxRyzu3gYeuX8igHxNHsWkOPo6+ut4WpgHyeVZ+vNP6WIDFQFSpA8U69yP/cQ1nN 8UqvQCupQwV4Z2gdi/XU7EnRrX9bJ8MoGOWT6tzXviyG+NAZf021uxFazGimvFUiGAud zTLg== 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=XOWVWVwj7EdMUJukxyKvzjZ+DIbrq76QkkLK8E9WRBE=; fh=ocTMOeDkEsyjTn6hIs0p7PMh6rLO4Kbb69lEnkYhHXU=; b=S3kSOjT2HYngbWSdFXpq2B235YgqdUQUNnJxlkaPf0ei9i5/IHK6E3SNXq7+yFe81D AqyucsngplvwgaHkWLyTr/usXx0Aq7O3A2YROQ+8aoicQ1w5HR+gmJY5kZK6extrRGZ1 KpKcldUc+tZ0JIFEeFb45e6xGRpuEA/CFeHA8Fi3E5bF434gQlmx43tLMW4187PolgrV OlxrGHj1B2Djr7nSq3r2HptPnyFfVOlYB+IaaFjxHy0jVnXX79hI6uR0QKvQi4nPm2Nh KFCaJjFJ2aq6swK7sRH94aAutwhNgXuBN4dr4NeUp3a3dL+W5ZgtwrGkuQeXAvq776YZ fyFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SzzfDcth; 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-111393-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111393-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i4-20020a17090a974400b002a024524abasi3051308pjw.28.2024.03.22.04.59.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 04:59:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111393-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SzzfDcth; 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-111393-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111393-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 41AAE28726B for ; Fri, 22 Mar 2024 11:58:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CFF5844375; Fri, 22 Mar 2024 11:58:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SzzfDcth" Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 6E7D72B9DF for ; Fri, 22 Mar 2024 11:58:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711108705; cv=none; b=H1QIqDW8MVR4vown3O2lqRGS0dwiV3GRMjfpDtHcgIEokZ95J3s06C2Jzp5p8xs/eITzd2ppgIy82kZmkpWPs2LgYexXv81rBy3LaxLFP0V7EVsIsQrLG8vGJLXhkvH1e72ih7tO3zFl53FUbm49DoURtxrl/KRhEqnzAM7HJEQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711108705; c=relaxed/simple; bh=klWITmiUJAw96kWolfMC0LTldb0sS5vuE/5wLwzaZNg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=b6fdUlxMfHVMO7HnKhxItguFXteBj2A0MWn+4XAU3WPqgprorPZaHC+6pzd9bxMElT7NART4xeY9Tt4n6RcPRa3gz+MuS3EcI07kD17Od/9vSOEaYg2A3GTVV17+mOG1Gx6I+R+1NIwlLyy99SczohCVAZgJ8jV2e/O5R92Jku8= 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=SzzfDcth; arc=none smtp.client-ip=209.85.208.170 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-lj1-f170.google.com with SMTP id 38308e7fff4ca-2d68651e253so33516631fa.0 for ; Fri, 22 Mar 2024 04:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711108701; x=1711713501; 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=XOWVWVwj7EdMUJukxyKvzjZ+DIbrq76QkkLK8E9WRBE=; b=SzzfDcthO+6a2qZQvq+NK5bxAS/fTyYpohbMDzA5hqe0HH8Kph+RSCdTy6bWnrLDVK f/wYW/XrbK6d5FqNFl1FqDUuTjkyT4OUeAsDXnLVJHOXFXV+8ITvop9V8FttcPyt4Tdo VO6fOF8/fqJBXZxgGMe1ko7CJ9jg/EEei/XOR4GlI2jRghE0QFMS3bg+CYlZP8OltFmD LkV1X32YyiAyljDvH4lClHHs2dW8r8ROV4I7TpGv1aae/kvZh68Juf47KjjkN4i1/AdF gzyVV1hxhL1JAJq0vEv8Co+S5OQSlIeEEyyhVe2zsrAzWthSuo8+vR4Ccu+D2/bmkQ1X hvxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711108701; x=1711713501; 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=XOWVWVwj7EdMUJukxyKvzjZ+DIbrq76QkkLK8E9WRBE=; b=DKUOZGeo3meo+mBlpAbUt1NBeKJkyYkfiwCpzcwjTubOXZjJ3qt9puvriOIbVNhmEX DGxtqVaF4NoJwNGzWoHbB+Zft1mxMFzhbN9I/LQ16x5LoMhcpgIuGVC+JToNMfKxW8Gs vySQF62UuFpk/hR3JAhSA+brk2J7tV34pqL4GNDt9ZALm+J7mP/WGhV62K/VlGZqyYu9 9XyCbw/bkBBIkzy0pnKn9VuHvVD2i/eYIHNuzMMF5PSn7AP9PDn5pIXfO+cWdLaurh1y 9ditrS7Hgh6g+n8bZAI/zELhycPI4N3zey8lfa/18ztTf+mDQcoUS44sDqrA6Ji71AmG Uivw== X-Forwarded-Encrypted: i=1; AJvYcCULxD+Mio/rnlrb1e3Va9GXdhCB+0hiRf09JTKWPxzPlbx915Fo0dr+vygrpQ951t7LnIxMK6ukDYNfmwUToAaDVsMYjTej78DmVd/c X-Gm-Message-State: AOJu0YyXAmSG0az6rf4aT3+15XNpSBXLCucFuv5EHx33CMwvScJUr0Qx HA16o0ccZxW1hGSBT4iKlUqMHV6I+HJgHon58txbClNiLOdzEAWxNThyrNNq8IMEulv0Q5DGDWc H X-Received: by 2002:a2e:6a12:0:b0:2d4:2af0:82dd with SMTP id f18-20020a2e6a12000000b002d42af082ddmr1614692ljc.23.1711108701304; Fri, 22 Mar 2024 04:58:21 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d7-20020a2e8907000000b002d10daeb6dasm307430lji.126.2024.03.22.04.58.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 04:58:20 -0700 (PDT) From: Dmitry Baryshkov Date: Fri, 22 Mar 2024 13:58:17 +0200 Subject: [PATCH 2/2] 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: <20240322-typec-fix-sm8250-v1-2-1ac22b333ea9@linaro.org> References: <20240322-typec-fix-sm8250-v1-0-1ac22b333ea9@linaro.org> In-Reply-To: <20240322-typec-fix-sm8250-v1-0-1ac22b333ea9@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=klWITmiUJAw96kWolfMC0LTldb0sS5vuE/5wLwzaZNg=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBl/XJY9dDW/dpFrSrExyz91hnEVYf666AvKdGua PDyoheR51KJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZf1yWAAKCRCLPIo+Aiko 1X8RB/9n5scURPgViJl1VJYYtVMKsNP5WP4dVhy0Q28t+ySGo27BT8UKeubreNO9MBBJNd3jtpk ZklTwIL3zAxW8CIjhJt5z0wGQaGaxMyk/h3+Hs8ctDlO4E9XF9+HnvI7P6ymaa7ka/t2sHgUykx dvn+odliSvU4kN7rQ8dqB2cZ0jafTiQqVOKUSgYI3FqEviuO63Np0oNeZdXg5r63ymGazNhEhS9 UXNnQgLGgYtb56syElR+P5qHE5OuEnTR/CKIUAELJm6IuCp94jG57U+T7j6lzzL0lpHyBFARN1p +fQyYmzjnLdLAmf6RlwbMCTV6uzOQUOQtP86sMUbFDBYUH4b 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 d57039a4c3aa..e551e733ab94 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3917,6 +3917,10 @@ port@0 { port@1 { reg = <1>; + + usb_1_qmpphy_usb_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss_out>; + }; }; port@2 { @@ -4195,8 +4199,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