Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1332318lqa; Mon, 29 Apr 2024 05:54:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkHdL1bGyuLlCQOnaz1vBU0E4MgY+T0OTD2orjJCvn6ZcZ3ys6YcxUq68wGkZvVQBrvcchRMHyBxxCGjiVorYPrmpcDaS6GOQS5J8uMw== X-Google-Smtp-Source: AGHT+IFMqHPEr9XfMRQvBFjF1d/hryna7Q7PZopkL/qHwNMeodgd3A21bdtrLXmVt6u7Bs3xOSB0 X-Received: by 2002:a05:622a:1a04:b0:43a:bfae:39a4 with SMTP id f4-20020a05622a1a0400b0043abfae39a4mr5308151qtb.35.1714395260016; Mon, 29 Apr 2024 05:54:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714395260; cv=pass; d=google.com; s=arc-20160816; b=stF0+KqAXehExaMER6+WGuYQAirGveiXccDknuUQIXMWmq+4T2tzImHaW/K1tQMZd8 CwjbgP+y/6Jjix8Ei50f2PY/APunW2G4goAelBsdo3o3poHCu8sgoomTjgldl9f3ySdu m463Z3mcHA/yhgLfVgZFrGrK57ocXz6CM3sgyZ4Yybl8FvFbAlcRxVbkfoTxPvFGTU3q gfuq+bcXT/7Rlxro5jDFSPxjTMbJ0aLpDGYhzLmWcDZOz2xdp2FQV6E6QhJDIrZcVm6Q +fw+S+Tlpq6yWwbBiOCfoGDu9KGie8VACWwXOzCmGjj2b4p4THXz1YgP93ktgqx2V18V RUiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=oYI4k9pCItW5lrimx9sxd2j1r+nQpXwV3dgJ6rGtekI=; fh=sqMQlaMIJmMTZaARu2swXUUOPnXEkqFMsjmicBM7WfM=; b=nXvqoibxa5t/Dg09y3cEZ8sW2SITNmS/xovmmP7Ah2uSqwrXq5HEGO2OL+FatQ3uDL 8lyNXTUB8beuoOGoS5P6daHUjMe9RZGmraR2qw5pprAMtJW5HaBoioo3rtfiKSUMC4V+ H5eFHimIMMCoMpMgWx9jfDsrO7VZwKKoTqEB4518LpYU6LdwK7M1f0FunCcW61TstIB8 abutRKgne5SI8NmIbseFHavzsfLEn5c0f7jiaKxoyS7SvUU34XMXcwJCDby/BWzEFWVr K6PwMgeHbHAn3syc6OzXt6hR6f9Kq3PsRvRDKAES0HsihI/GgIZHfbwu9q3yQPERveGe 9edg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fTB5iHV2; 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-162292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162292-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 m6-20020a05622a118600b0043ad3f6fb7esi2910901qtk.809.2024.04.29.05.54.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:54:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162292-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=fTB5iHV2; 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-162292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162292-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 6AC2A1C21096 for ; Mon, 29 Apr 2024 12:54:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39EF756B6C; Mon, 29 Apr 2024 12:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fTB5iHV2" Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 B03D354BEB for ; Mon, 29 Apr 2024 12:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714395105; cv=none; b=C/vwuqv71qcy54Rxp/YZs17cV2XvRBFmoooBk7sBTxw6JtmBx2MqP8ZVrGN1b6Qh8uKGj73S7l1f8UCKguZHTHVqAvt0YT03nykLD08MxQa6uqvrePcLwnGjv7INs8ASQVwA9whvxfpcBYnjwVkNbLNeUcwbbsZF7WOf5tmo26Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714395105; c=relaxed/simple; bh=qqwGQi68EVY5RX0H0R8vNiawzg9y+DRdgcn9cG5wVsA=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=jkgH5wHEA62SVTa5xQ/hMAb9iypyXm5H+5R7HowdMhl1H6hW/ACViOxx0dRB/7WOv8eY2lmBMImezNulc8XpvIvhUdR8ZOiO/d9IHlgtaAUtwo8dlZcKeCaVwhJ1zKQjR490idC2SBI9sxfzZoDMZG6EBbjP9lSFvcIwAqXkoMg= 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=fTB5iHV2; arc=none smtp.client-ip=209.85.221.48 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-f48.google.com with SMTP id ffacd0b85a97d-34c9e7955b5so1711213f8f.3 for ; Mon, 29 Apr 2024 05:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714395102; x=1714999902; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=oYI4k9pCItW5lrimx9sxd2j1r+nQpXwV3dgJ6rGtekI=; b=fTB5iHV2SOeu2kZI1NjeRycQ4DR+eMhRSypjYtRzLuZfWdig90J6qNWU/YyuwjNm+P vClM9rGT7rkL/wjSbTFyuOxOup1FgMiX4leYaJTCe02tnwBaJwqdxq/ZXQBjWv++SR+o MPwzulbms53nQMY+bbMZTuz5mpmi/Be9/00KrMVwJyvhFmW6mV6eLsUb+Cxx1r/WyP+w n71VO8nB6+wU+SJ10IZQNmLwk6Z99HxpHh6v+0sjCeshw5lhe7lpgaC//42yC6e2P4nT RVWK8W3kWGm4CUnRZcU+pQhwnv0XYEcF4Jng03Ff7nHmlwNw+9hEM8S6dEWZVWXAZlSa ihTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714395102; x=1714999902; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=oYI4k9pCItW5lrimx9sxd2j1r+nQpXwV3dgJ6rGtekI=; b=r9QBcRzpLkyxPA9wFkxxHIm7P6t0WwTymruMTxyi75TytfdDcMdCCAKZvRrAGqb3eO dnXJtfPxkUVvaY9AUgDv/Vbbvv1eQksdyRsmd+xB/fVEmzxnIgNbPKS5+sMx+VCICcja NGf32xHW6CkKbBn5HrQInqXvlsxa9b+4dBR8kFZ/HPhjnyq5jtN7bnLA6KaKqfMOu2rc tIOA0tNY8aH3cqMlVew3aieu8rgZnecvt68OiziYGnOEYkGoNX2SuwTylk7WR5J5VA0v LrqqN+28iNvBi72tzbNEdOjqFN6MNiFBqLlSINNvLCCuPdgaqVGI2idfP3+LJlKjsQYZ KEkQ== X-Forwarded-Encrypted: i=1; AJvYcCXyCKQp/v+fIMPsA0i24K1a3d5H7bqKewwTqE3ifMnfOsGsHdhl/kcmtCBlp2R1/CNzTPE2vrfIIwK6/oLz7Mvp3xCya6AIG/jnNjac X-Gm-Message-State: AOJu0YzA2DnTt9aejTRT6isq8Et/WeFzVXV0ZQ0QoxJ5uMVi7JfI1pK6 9HaCuuhnkCYLvWZ0R+uGbWNWZ39YbHWfeXLbYhdJ6KhDX6fRqZrCD7ZGRGmq5qpodzsnSRAfBi/ hH4lwLg== X-Received: by 2002:a05:6000:712:b0:34c:d816:6a82 with SMTP id bs18-20020a056000071200b0034cd8166a82mr4467141wrb.47.1714395102060; Mon, 29 Apr 2024 05:51:42 -0700 (PDT) Received: from ?IPV6:2a01:e0a:cad:2140:d72:4b40:65fa:89e6? ([2a01:e0a:cad:2140:d72:4b40:65fa:89e6]) by smtp.gmail.com with ESMTPSA id f15-20020a5d4dcf000000b0034ccf959d6asm4541218wru.74.2024.04.29.05.51.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Apr 2024 05:51:41 -0700 (PDT) Message-ID: <81ecfb4f-fd65-4448-b342-372ae25a0e0b@linaro.org> Date: Mon, 29 Apr 2024 14:51:40 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 03/12] arm64: dts: qcom: sm8450: move USB graph to the SoC dtsi 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 References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> <20240429-usb-link-dtsi-v1-3-87c341b55cdf@linaro.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAI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uJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20240429-usb-link-dtsi-v1-3-87c341b55cdf@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 29/04/2024 14:43, Dmitry Baryshkov wrote: > Move the graph connection between USB host, USB SS PHY and DP port to > the SoC dtsi file. They are linked in hardware in this way. > > Signed-off-by: Dmitry Baryshkov > --- > arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 25 +++---------------------- > arch/arm64/boot/dts/qcom/sm8450.dtsi | 11 +++++++++++ > 2 files changed, 14 insertions(+), 22 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts > index 3be46b56c723..9926294e4f84 100644 > --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts > +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts > @@ -674,17 +674,10 @@ &mdss_dsi0_phy { > > &mdss_dp0 { > status = "okay"; > +}; > > - ports { > - port@1 { > - reg = <1>; > - > - mdss_dp0_out: endpoint { > - data-lanes = <0 1>; > - remote-endpoint = <&usb_1_qmpphy_dp_in>; > - }; > - }; > - }; > +&mdss_dp0_out { > + data-lanes = <0 1>; > }; > > &pcie0 { > @@ -1114,10 +1107,6 @@ &usb_1_dwc3_hs { > remote-endpoint = <&pmic_glink_hs_in>; > }; > > -&usb_1_dwc3_ss { > - remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; > -}; > - > &usb_1_hsphy { > status = "okay"; > > @@ -1135,18 +1124,10 @@ &usb_1_qmpphy { > orientation-switch; > }; > > -&usb_1_qmpphy_dp_in { > - remote-endpoint = <&mdss_dp0_out>; > -}; > - > &usb_1_qmpphy_out { > remote-endpoint = <&pmic_glink_ss_in>; > }; > > -&usb_1_qmpphy_usb_ss_in { > - remote-endpoint = <&usb_1_dwc3_ss>; > -}; > - > &vamacro { > pinctrl-0 = <&dmic01_default>, <&dmic23_default>; > pinctrl-names = "default"; > diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi > index 616461fcbab9..d138b90bb280 100644 > --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi > @@ -2321,6 +2321,7 @@ port@1 { > reg = <1>; > > usb_1_qmpphy_usb_ss_in: endpoint { > + remote-endpoint = <&usb_1_dwc3_ss>; > }; > }; > > @@ -2328,6 +2329,7 @@ port@2 { > reg = <2>; > > usb_1_qmpphy_dp_in: endpoint { > + remote-endpoint = <&mdss_dp0_out>; > }; > }; > }; > @@ -3119,6 +3121,14 @@ mdss_dp0_in: endpoint { > remote-endpoint = <&dpu_intf0_out>; > }; > }; > + > + port@1 { > + reg = <1>; > + > + mdss_dp0_out: endpoint { > + remote-endpoint = <&usb_1_qmpphy_dp_in>; > + }; > + }; > }; > > dp_opp_table: opp-table { > @@ -4584,6 +4594,7 @@ port@1 { > reg = <1>; > > usb_1_dwc3_ss: endpoint { > + remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; > }; > }; > }; > Reviewed-by: Neil Armstrong