Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1120738lqp; Fri, 22 Mar 2024 06:20:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXv0gygswlTEZMW4Xlib5Ju2w08+tzOyzKndTsHEOxHUcOmsw2tlaDb76XNqUiZ/p7lauQLhxLzT8KXZ2rmnOVGKcV81bqYLHsB/EIZpA== X-Google-Smtp-Source: AGHT+IE/Y2cY1jQu5AgaUSZMxBOBRWe+VtiaAYddeFBpXcn7gyxBsUs3Iiy9D/OD58zn1iI7jjRh X-Received: by 2002:a17:906:d9c2:b0:a46:be82:f478 with SMTP id qk2-20020a170906d9c200b00a46be82f478mr1761195ejb.68.1711113608169; Fri, 22 Mar 2024 06:20:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711113608; cv=pass; d=google.com; s=arc-20160816; b=zj+UW7Uxmw6FjZqbndqCeQURxHfMycFQePq/vwBwP8NC0yf6bD4r++7S2g9HHt/v3S VzCZTKdqLDSRza/Ult85DQTUKreIcr2UtPozdkFUePjiG+Ulj83u3M9bcKnafiCBnip3 lqUJKab1BflJe3iBDzKtzhg89OfQdFfXOFxCliN4ppWkmKoaewjSsFpbCqZso168M4Dr FdFqmZk7Tzn+sr5SzrT4cCalppnsigRCd0MI1hJYiT7mwMip2JiIC+qGJv6fVH5r6+tD zQjv2tH/SCr8mXTlSgPiRqu15zKuNc7ECIV6qSZH5yPy+GGQW3Ndl8GkzejxdUbjbTgZ 7edw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=T78z1nOSwZno9foTloy4dRS2ODcsdxPFmoFq7VTiovc=; fh=OKlXeGYSktD/dmDtcPHqZF3YFdLxf6+zACCx+7nv/2E=; b=G525oPXvAoKQAtuNu9pUr+JRw3aHcPK6xEP6uWlpBWygg0lHWNYTKLezjzjlAJ4kxe RjemghyVqBfQWhZnFiMjcSHeZZZCGHeDVFZ1obHwQ8Tjbezl3b7hMJ64T3P65n5t1uFZ 5Rq65Nzh19ceW6S0uLIh0xoMYcLAaxTRy+FKs429hDiD/zRDoOk+vMDpdTNyDE3/T+FI LjaLp/ZkxDMIcq2qLcsUzlPiEjb/V6JV/dqAki1MBnEPmjTTQNM+R3irYRBDu6vTvd5M bxJY2Vv6pFFwYHy0DX0y0PXCVQ2L0Io69dMOwFTmcUthWHe1beBS9Y61i0zH1Rm5gn99 OZVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ksAuSmKp; 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-111460-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111460-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hb13-20020a170906b88d00b00a4500cd5a99si943018ejb.573.2024.03.22.06.20.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:20:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111460-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ksAuSmKp; 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-111460-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111460-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 am.mirrors.kernel.org (Postfix) with ESMTPS id BB68C1F22DD9 for ; Fri, 22 Mar 2024 13:20:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C471D45BFD; Fri, 22 Mar 2024 13:20:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ksAuSmKp" Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) (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 538EE446DB for ; Fri, 22 Mar 2024 13:19:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711113599; cv=none; b=pb7IvtXvXgifoZ9jpfQbbSZzCRRTaswy9lJ9S8WxB5aUcptXo0GN2bReGKCGgW/XFmxF+20Rx0Q4LHwyYpO9zHL+iBg0qcHlIfmSuWxVmdWNRmRtQ+Dc22QdS5/0/QxKJFBFdJWY/GFJ5jsPNnYvTmUOIRb+sBHNVjNkhbB3MCE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711113599; c=relaxed/simple; bh=YAAwhajDAShwntv7VTSrLoQpHcAhajmE3DG47Tw9EbQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=O8h5HAAQ9uaPDFbJLY9HEzcFfUA2QDejcJU5UcjWNKDqnJcLGY2RloRs25HqwcTp7C5fHzoezKMEbPsytRz3DQJIOFoWLFcmJqmbMzEFMlZTwMKeTvu32FjIgTgEN3wiYDMpb33rsHHzMtCc5XT0BLwPmwe/TD5YDJ5nI4Ag4Rc= 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=ksAuSmKp; arc=none smtp.client-ip=209.85.128.178 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-yw1-f178.google.com with SMTP id 00721157ae682-609ff069a40so24016997b3.1 for ; Fri, 22 Mar 2024 06:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711113597; x=1711718397; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=T78z1nOSwZno9foTloy4dRS2ODcsdxPFmoFq7VTiovc=; b=ksAuSmKphs3bQQ8uTYv7xuU56fGhh9+8pHhCrSCz7Sqp9S/goGvzf0I/ACui2Pc0oI 3XwMy3rw2TIqREYT9tYf1IVjEvcJ4DQ1B+KdjkkCslfTqq9rCDhuQo4ZZRoVoPR4+zGT ysEwZiX6Txp7+8/XLPg6u8b5CKtrdpXP07V7CbQ+QTqJvCnYvQknjbKWBPcBSSem+86b jpU+uNL0TRXHXI7nKh6FRscRnEeN6vnL6hOy70M3V5/iRe5CX6KoHlmBIUhr6A60/B4k 02PIE3JY3jEvCuN6Vj91nAv6TTs/GTFXfLwoFTrspw0jrXilP50ETzIh7PxR2GL+kZZF QjNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711113597; x=1711718397; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T78z1nOSwZno9foTloy4dRS2ODcsdxPFmoFq7VTiovc=; b=oPk/YmmQ3sYA1kLQiRvA0lfqp8EybVeYjAoMujQEZpUi/YIlfHw8lcqSq4aGPDOQxL 11bBQCHe+TJBxB0T6RFUPTlJcyds1Qu7EhcVCv5G+EMrOEj3H5i/eCpd6wyr+hsunPsm FFeMH5t/aaIeG+ViUjvZSWJvW5b1oHZHrlhdIDgV3oNTAq8KXJiB3paaeyOrjLEHZcuT uz3IGwChYiIWZj7lShgCAPYUMVFvZdSSnOXjb2fyvLplPOcVS9j14/Kuvs1/1zqDzU7k IdaCvYJYkYkz0RB/6lEztJU2C84eyuzwbnBdvYy3mxp95lEheV8GbkHAEJtQzMO9C8Ss Wt9g== X-Forwarded-Encrypted: i=1; AJvYcCUweaLB2ax9fX80OZTpXRUTKdzMmYe06xuFSrYrF9VxTld6St2WQJHsEMmwTyqPsTN5OfGHDUNRnTOTdgqnOQYBUtmfF/ZTHpNRrXIn X-Gm-Message-State: AOJu0Yx3/LF/zyCS5vJoFcBV1qA1MZgUu8z2u3mLo5amdxG/2C3H7JqA cm7k4YYqCeGDDjtCuhu6fK/xzCeHcVLU2EoBDqCXpqjztrGHTAPNsVyyWqLndSi+tipmigJEalM 3QBmHj3LteztzBp6xWo1qN6cx8F9ZnVHf7pMp/w== X-Received: by 2002:a25:b227:0:b0:dcc:f0a:e495 with SMTP id i39-20020a25b227000000b00dcc0f0ae495mr1995183ybj.3.1711113597315; Fri, 22 Mar 2024 06:19:57 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240322-typec-fix-sm8250-v1-0-1ac22b333ea9@linaro.org> <20240322-typec-fix-sm8250-v1-2-1ac22b333ea9@linaro.org> <635f7501-82cf-4df1-9194-27f24eb40a53@linaro.org> In-Reply-To: <635f7501-82cf-4df1-9194-27f24eb40a53@linaro.org> From: Dmitry Baryshkov Date: Fri, 22 Mar 2024 15:19:46 +0200 Message-ID: Subject: Re: [PATCH 2/2] arm64: dts: qcom: sm8250: add a link between DWC3 and QMP PHY To: "Bryan O'Donoghue" Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss Content-Type: text/plain; charset="UTF-8" On Fri, 22 Mar 2024 at 14:11, Bryan O'Donoghue wrote: > > On 22/03/2024 11:58, Dmitry Baryshkov wrote: > > 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>; > > + }; > > + }; > > }; > > }; > > }; > > > > I think these should go into platform definitions, there's nothing at > the SoC level that imposes the port constraint. The link between DWC3 and QMP PHY is fixed in the SoC, if I remember correctly. -- With best wishes Dmitry