Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1322285lqp; Fri, 22 Mar 2024 11:18:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCPyuOl0P9GtxyhxSlxfO92YUQIEBPIO09GqB76K1ZMVq1FfdjS3aBbE9mcN3puCK5HFMYtI1dpsrXPlrMCdvK4Vc+6ZLxx8PM4Ft/lA== X-Google-Smtp-Source: AGHT+IGehPes7RIk5yeN5NT8aKy3yrcJ/euaaKZCGrCGlDy8DYyq64UTjn/ePCaECXccM6yR3PnW X-Received: by 2002:a50:9f0f:0:b0:568:d7c0:eb10 with SMTP id b15-20020a509f0f000000b00568d7c0eb10mr241323edf.3.1711131522706; Fri, 22 Mar 2024 11:18:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711131522; cv=pass; d=google.com; s=arc-20160816; b=VcwhrjGAX8q7GfDpQHoj4AjzHCCkd5z5vvyVpGLJ2WCnCuhEmW1JA6x5sQCIQLkgRe 6JQAYHYP45CiZQi7eiCEcTbqgSHcwp7rBMZxINcQ1wVu+WSwkGxIGfgWoS/mzYeW4y5M l4wKJgB1cBNQVUmWcWMXHx55UksIWew+Tegdm+Chi2uqCXOoSImlA+MRn8Dk4F5eSvEX hSbf+n8/eN/57ZAH79DQdkokj0ZnbIJZW95j/uVtcmZA2T04pu7qyA9ptTE1xMoHogHr bgUQRIME2IXCpuZwmiAXb+ng3J9NSteB5VnX40jzQk3C8DaqTMJxmtGfVyU1/vWAGNd5 J2Ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=SeiHsFNUoaCnN7xb45zTYPjadaI5jk5AW3v5aPdkC2E=; fh=NGJjDTmQ5ZL9aT8rcs6KxmEQpIHjsue9ADMgbF27a+I=; b=P88Yrqf/tkytx9rJXxJMubDCfNxkvj5gnLMhXh1IpMZyYdK9FLDM1k0h3upYlgraEc oa9gdRa1KNcMUk0LIMiamDt9HJEwpq1j2iFgJ3HR7/vmi6MwfeZez9vokptuqCudgvbr Kw6nywbAHvFkiHC+WWEz8PA3mDIgxfqNYlVkCLuK2xbVl7lX1Ml4Fgshd4Qeh2/JejFZ OLeFJlFw4K3PVtIYib+3BguKNfdjKZAnDo0n7elLRAKs0HK5VB9Gu8YTmK42184ROrLg xP3nCwrl9CpFFkIGqSxLQpVgeOjwXGWP3EWUqDGpHLxPGlqRqU3MJpaWqtN1Oaenk6Mm QduQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G8TPjHS1; 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-111929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111929-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w1-20020a50d781000000b0056ba99a4805si62540edi.597.2024.03.22.11.18.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 11:18:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G8TPjHS1; 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-111929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111929-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 337D91F24B24 for ; Fri, 22 Mar 2024 18:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51BB064CC0; Fri, 22 Mar 2024 18:18:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="G8TPjHS1" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 5B9DF634E1 for ; Fri, 22 Mar 2024 18:18:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711131482; cv=none; b=ON9c5vgWppSX3gdwvizCT6NrUUoLXQ1VlJO7oxz59SV9yUChA6NTZKot5TXiu1oU0kk4mMghvEVjjdkUWe4JOBbUjw3igkzUWaznT9CDu+sGUbnqLbJpKT8Tc5jcWdTz1lq5NCw0jnwQ1c9GFr+6OCMTcpfNoFGcuVV8qzUbo4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711131482; c=relaxed/simple; bh=4PZeNkpkgA9MeuFYKbd3qbiEtrgn3qW6NEkoD0AvAHA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qFs6z7Va6UGZ2RuQzMJY+YNBhQFNGy5VHrYm6/fUu7wu68QlUp1KlOQJ8RbMd3xKOctVDjgPVFZ1PfKblLD55c55kKeucB9ufyyHnOylaZ90XprUwMfNGdKcJlKuHJvySVodyN8vOf4bjoSeb1AECiNxmCM4ZAQJJHrz3sbcUl0= 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=G8TPjHS1; arc=none smtp.client-ip=209.85.218.53 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-ej1-f53.google.com with SMTP id a640c23a62f3a-a4644bde1d4so337428366b.3 for ; Fri, 22 Mar 2024 11:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711131479; x=1711736279; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=SeiHsFNUoaCnN7xb45zTYPjadaI5jk5AW3v5aPdkC2E=; b=G8TPjHS1Ql/oTRYf+u6U0NKmtXpl/4/idaaYTQPncDaT+NWosjPAoWIZUQ2qDWAex5 B+GnXm64CeHa9UksAmFNd6NqQeN1RMMJK1m/+5PYY5nuCut9C0zdkawKBedoIWOLraR0 etFIlsS7YyMHi3/VR5EwjORww+x8wEHJucfP4tRVCoCNlc+uOgQvemZw2STJSSLWZmpK TmUN6kb7I/iKNVXTx0+lyG7mhn96hUxD1uAKMJTcU3kqJt/yQzyPb61hKdBbRAPlxl5R ghCyaScwPUxpRuzDS+P4jBZfz390UdhrbLNlI6u/fnzyuYW4N9QyLyeGJig+vD/+VXcp BsWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711131479; x=1711736279; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SeiHsFNUoaCnN7xb45zTYPjadaI5jk5AW3v5aPdkC2E=; b=jqVfkaEFTYSDhpTI7RaD+lofA9Q4r0dNFx+A/ykglQ14bj4Tw4X3iPjWF9fp0yrRVR 3O4WHRtoCmqvJ9fh4F23YJnH2HeJOj3xIFFGxJyEngJh2TiK7mrn9eu/qv88GhyyHDBd GtGD8liApHHK2vlryYeXDs9kOSq3qJm5TzAPu7pbuLrSKm33aHG3xC0I6WBwTiAmCDC0 DiuKz7gFpBEj1EkStUVu2UjYcMQk7V1Eb5GCayhnZ0R98OD6xzIH47Uyauu8r2NXpr4i e6AdDHsfECRhIQ3rXegGya+gAkzFOJ5A61bTWxWbNaOS7+l0LqW5olpjyLTVC/WaYK64 5+ng== X-Forwarded-Encrypted: i=1; AJvYcCXm3JR+l3g8lcdcHn7sQLJ4vHxAZyN/uxhdC1ALsAyZGJHQcYutxsw+K09OdUHYUmcszqJjReSp3q/U0N1FFwGBVg6g522ePE4Lbvkq X-Gm-Message-State: AOJu0YxbfcNHEzjdN/J/uWwtwEeDcrIRAgeKSFYU/FxXtOkGnGek+PxD bAc5uQNq7FWgBAc9T9l4R+yQyv03o2MSHd9XjxIo62WIrud3MRjbA+/NNyy59z4= X-Received: by 2002:a17:906:c4c:b0:a46:dca5:8b10 with SMTP id t12-20020a1709060c4c00b00a46dca58b10mr373843ejf.24.1711131478620; Fri, 22 Mar 2024 11:17:58 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id a6-20020a1709062b0600b00a46a19b8a68sm74040ejg.167.2024.03.22.11.17.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Mar 2024 11:17:58 -0700 (PDT) Message-ID: <5ad8fc4d-cabf-4b50-bb22-60896a13362d@linaro.org> Date: Fri, 22 Mar 2024 19:17:55 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] arm64: dts: qcom: sm8250: add a link between DWC3 and QMP PHY To: Dmitry Baryshkov , Bryan O'Donoghue Cc: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss 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> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirl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rFFGX1KmTkdRtcgC6F3NfuNYkYDAQgHwsF2BBgBCAAgFiEEU24if9oCL2zd AAQVR4cBcg5dfFgFAmQ5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 22.03.2024 14:19, Dmitry Baryshkov wrote: > 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. Yes, I believe so too Reviewed-by: Konrad Dybcio Konrad >