Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1078535lqp; Fri, 22 Mar 2024 05:12:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWlviNLi1GQUn4SvcGflOS1hZZSJggvEGtjdgJdD6NaNjwXvNwhJPD2NE5Q7gkaomB8Qe4IV1vPVJShZWZ/4qMCayrzex5RaX7ORY6HGg== X-Google-Smtp-Source: AGHT+IGS5ITt7J86BH63e6CMfynqQJrau1axFyo+44cJeeO5J0aBMoKXpIXicBj5T0Ve+N3Y6Csk X-Received: by 2002:a50:8714:0:b0:565:59a:a103 with SMTP id i20-20020a508714000000b00565059aa103mr1362329edb.33.1711109544196; Fri, 22 Mar 2024 05:12:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711109544; cv=pass; d=google.com; s=arc-20160816; b=ZuonwqPolcLrwKAxXDA1fdvnBkfMEbrddduiI2S51wGzoLhr/QP5GZ6BCOdcoSOL4N VU7irqG4yIpHaTOqlqxTxZGKC1VQjivcTgp3a06YPPd7ERO7jtDHut3dM7QphKcjYN4H EjWQ1mp/kzaplJJuKsfBuHLLvlhprbhtjtNuvFXoEbWDgRBO2OaBz8QZ3WLkglaR+AeJ 9gu44nmW06b8PtuTVTL5i184PlYq/CCfHbfpCPA65GpKvNOrCNi3RVluqu8q6+gg/qs6 aXNErJyi/08rPQcIErYv4YvrZg7gxJCAF2KAVTtHoIeqLSQOGANLe6NvT04pyGI+N55A i5HQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Le16WcSed8nC9jSC5l5hiFp9bIsB6xxNGHVWFVCiUd8=; fh=a8Tlm4YvXirUYUYOZUEDXpq6CbVOP7QjvzzL2e9A6XQ=; b=gnmnOi4iU1WD4X/rI/1LSLeO9+JLDdaVPOraew9GYl4anX+IBrvgGPCicnvzwul4CA hDfSaGVqVoYc8iJZsqCxLjzbrQj5Xbpu9+utJLxOOACxtp8yj51m9rFnzpoNYNSazwFU F0cXV9HNHKbaC3rfZWGT2sscA/iFvk8YPvE78NUVeXSaRlD9DChxArvaiiF/GtIFHNOa gUr4ore1hOHs1V7SiEFATQsHCZMpOphNiqCoIPv33P3p3idql1ed7PBro6RtoYrZEFg/ sLN/W1s4R7n7zB4pjiUYDj5a09k5Vphq3utvAdn7K4taP3wNkdeeql8ycymS8bJJ1+du Fbew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BJ+8Wwia; 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-111408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111408-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 f12-20020a0564021e8c00b005688efbc126si854418edf.80.2024.03.22.05.12.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 05:12:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111408-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=BJ+8Wwia; 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-111408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111408-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 1412D1F24F71 for ; Fri, 22 Mar 2024 12:12:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB1A64174F; Fri, 22 Mar 2024 12:11:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BJ+8Wwia" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 4255244391 for ; Fri, 22 Mar 2024 12:11:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711109502; cv=none; b=rSEt7AJBwrg1Yc1MaN5b6Me2tCcbnlVTycK/SHv8vIRvbWPHJactEiSlhX+/MSb8I+Z045Lb35O3L+b5Ug/uLZggevpIsBDp2TqrvG8UcxmgCbxOsn9Y6BRuITswO+jrWl8gUlgNGJ7b0j3PnuD4WD+0afPN5lfmq2OxxyNJMa4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711109502; c=relaxed/simple; bh=7Hi/wqqjIIEsOtQpwnH6pqXUN/y4LiNuG3sgNcl1HpE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gqiaEHP3GIv/Vxjfp1nz8pqYl/mYxVyJmuI+DZlxMrdVKyQd+8byU23DOSHnSh/kYCEdm49t1ZzwWFm/Eor33Jt5RLo6CPPbPPC9x/pPPMDY5wDKhV1ZAbfc00kiA4bmas83pXS9jC2L9LiidRtvfnuTBYuYM6e3VY1Vg7Q4VJk= 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=BJ+8Wwia; arc=none smtp.client-ip=209.85.221.49 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-wr1-f49.google.com with SMTP id ffacd0b85a97d-341808b6217so1152663f8f.3 for ; Fri, 22 Mar 2024 05:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711109500; x=1711714300; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Le16WcSed8nC9jSC5l5hiFp9bIsB6xxNGHVWFVCiUd8=; b=BJ+8Wwiacn76gzFe14x1TGLz9ggI+UtGv2BcQDwMWJUaS2wR0xfJ/UD2y3UOIWABjO UuLgzhzsZexi3RiRC39xfZ1bWWQQ12eODH3PjS3c01O+4TF0IynVhAoqz8XbZwn3aFv5 CRfDI5CT2/MVEvNspSZeX1nZvL4zYjPtqRs9ZTAXNNdhHXqK6jinGupwIKV8xaK8qFDy IC8ePHjkjv+Z1tXg4nvtltn4HD8P2GZBs6YeabHKNsHRfpPlvovIZj9K93ckx61z9hHZ Rfhb0NBPmyie3R3+vEpvy9xJEsUV7FABDtYCZbUztiBwDwKaXYg1YN/AZwTUWQ3QWyaX PSOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711109500; x=1711714300; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Le16WcSed8nC9jSC5l5hiFp9bIsB6xxNGHVWFVCiUd8=; b=saKS77cdneUPvsg8AHQ4mMgXQAU01KnALJ54VOO+5z47ygy6RNhCqZgqsOlPcDDpfX ZPFJwGfEyR2WOomltpqUlfF9BUIaiAw2euroHk/V8SxbL/4TuVN2i14JmtvSvBLSF+5q yNUc3s27sRpZCMQca1Gvs7edhvvN5HAJgLRx4Zv2vOGw83K/slZtIaLCD3EJnnPhrH2O IcmY2zIyCnACJSkWfz8pjpYXkb62rtQN4kkhnOGGGF08FsnTV299KB/yX8qKO3q7zm7C YQkBwIE1lXC2DcYq6MtWTOuuaHL1dowkr+5oMF0WnAT2KxRm1xatlKQvg8BSJck29CSr lm6w== X-Forwarded-Encrypted: i=1; AJvYcCXSslPXDg9D0QBRvBBZrzf0AjSltj9dtGYViXDCPkOwxgQSdiFCH+MeWjJ3dUliFE2fNBNhOjCvnzcv+3ZzD+cb40wt7AFDHDf6oDtI X-Gm-Message-State: AOJu0Yy40VO8q0xgt/67sglZB2Im0NqgDPKEFCTDGzHV1ZT44cFUZ1qc sUHJeLrvnzWLbQBk4jaM9rpQ90ukA9k8H+7gTXRhlMbf7Rv8TAwDO44jiNlhS80= X-Received: by 2002:a5d:494f:0:b0:33e:6db4:e89f with SMTP id r15-20020a5d494f000000b0033e6db4e89fmr1261987wrs.22.1711109499658; Fri, 22 Mar 2024 05:11:39 -0700 (PDT) Received: from [192.168.0.102] ([176.61.106.68]) by smtp.gmail.com with ESMTPSA id bk19-20020a0560001d9300b0033e2291fbc0sm1947516wrb.68.2024.03.22.05.11.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Mar 2024 05:11:39 -0700 (PDT) Message-ID: <635f7501-82cf-4df1-9194-27f24eb40a53@linaro.org> Date: Fri, 22 Mar 2024 12:11:38 +0000 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 Content-Language: en-US To: Dmitry Baryshkov , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: 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> From: Bryan O'Donoghue In-Reply-To: <20240322-typec-fix-sm8250-v1-2-1ac22b333ea9@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. --- bod