Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1951262lqb; Mon, 27 May 2024 03:05:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXyEblEocOzRNbhfoavuhQtb4oZ83Y5Co+GFS90sTeZbA8Mx55KMj+315JAp4H2slGnvJCzPAE7xSOAXinR4TeSy+yVfpEjrDIhRpfTgg== X-Google-Smtp-Source: AGHT+IHbuehzdwd/ZjDrgyXE+bqFuSZQ4qLGvMNtZhMlJ3zzGuhRNZFfHVVoO+lhU7PQfT2jbnKH X-Received: by 2002:a05:620a:4156:b0:792:9a68:1532 with SMTP id af79cd13be357-794aa87a778mr1745303185a.34.1716804335211; Mon, 27 May 2024 03:05:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716804335; cv=pass; d=google.com; s=arc-20160816; b=Jr/PzKpJT0Kk370/PEzvWU2LjAn64JFBYTxF9fbKRU20HYyj3r0OySwVWRz565hsPx YHikaT/5/KVQrVgrA7ObZp6FUxYy17jnjKwvE7rnW3Hz/XbAZJTkVF3PkGFlTCdthg6V 2sg/HpQX8WEeFxS8mYQbW0P3HzR6TKC54/Vq8ymPgA34J7Knqh1id4YI0+xsez4sB98K GwAc6tBeT9Uq3xyEwaxFaRndY0psRGjcedRnLih14Uss3QeTjvztxF7CeCFhOys2jsCw 2FXYjjBLwm2o8jUd5o9Z/mv+xuS380XmBMQdBv3xyw5blamKT79VyuYIrlNMl/cYe3n5 u6nw== 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=mnDVrdRG/chiFifTcD1+nCXwPqU6LkEDp4HNdQa6uM0=; fh=G6zR1SXYL1cdTqGilxYNVh/ncroQdID/wI/NXsxa5w4=; b=M1xK/4lpBs7Wa6TNu7hVwCuYPCoMDjSfuNujqnWZy0ufY3l56/Qv1ynRJ5X/lO2cdb BMLEjiUdDyi9kTalal6nS9eAFG7i1rnlmX5vmmVrmIrYFRAwEGJmrUtavXnbuS1FqUIv SCumWBYpJAzueNnWF6N2s0svz+Amzwj9mmpIJA9PHBcKFamu0IWykV1Y08oi/wY0AkXc ZX92Yfjhy0t6DApWAA3jKwrDUSTTt4fepDEwoVUYxx4ZPEjf+LUSB/S3j4T7OxP6Wvxz ZltcB/TRA+6J8ynx7ITaSmwyhZHkOceWbSRo755ZXSotz69y7sfZKI/XRgwXmyNlMN5a FTVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wXIH7mSL; 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-190396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190396-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. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd0ab1fsi841008085a.324.2024.05.27.03.05.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 03:05:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wXIH7mSL; 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-190396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190396-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 B6B691C214EC for ; Mon, 27 May 2024 10:05:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A40713D2A0; Mon, 27 May 2024 10:04:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wXIH7mSL" Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 3D94413B7A7 for ; Mon, 27 May 2024 10:03:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716804240; cv=none; b=KZamTaG1AuWjn2BLd9iSF9UTn7FRPnj3QQjHKmZJ1k5BJFR+AumoJWK68ahjtBECUUjmqnLN/Gx3alPiSv6UrR/0DiUCY+9PPEpL4/A2W52Xiiyl6AB7Zyp66XPqrTz4VuGpuoT+QBF+DzuzIsk9+eyUgFhRZA+bxeXZsuWPv2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716804240; c=relaxed/simple; bh=QYDBAT8W2DyzVhVIByuwRqL76E8SqW91TF9Y1jLyJZg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=euWjFCe4zbO6YsSiCY/0/Sy/M+TBM8AbJITpa6Z6gImdjcE/icE48tpv7lCXGAHe0IZBxRRoOPGpNuJ5I7Lq617HA1OfXaIIF+YFQn7NO9HD/uzDy5GCN4h4SZVZRbaZoWes65yQjnRFv2tRFdWXRQxls1++urKZ4Zr9Xf/5bMg= 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=wXIH7mSL; arc=none smtp.client-ip=209.85.208.180 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-f180.google.com with SMTP id 38308e7fff4ca-2e6f2534e41so98913511fa.0 for ; Mon, 27 May 2024 03:03:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716804235; x=1717409035; 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=mnDVrdRG/chiFifTcD1+nCXwPqU6LkEDp4HNdQa6uM0=; b=wXIH7mSL/XmH+YPzNWBxE99T+C+RoGGGxEG5h7YAPJ1STFD/Z2cJzVxOpROJupxYO6 okO0W1YuZv/SRzfnS5g8m84GG4fbm0i85OmF5fJ0/ocG+aE1a9Dc6Q//b0M71YxBQoPv nCgguVBcXmnxGS56nBZsnWdYo54pLC/yIG0Oe6vCbnMniHK7eCh6n4CeXe0IuyMXteiT owiAWXfU5+kp32FLeiA+36A0eYm5pr/Q3Z6+7aQ4xvaYDGmKB1HH90W0/sOf6oJ88eyG 5LMvBOOpmZms19no/9UteHjxZB9U8Ze6b3l1qVAWIUhwYmCX2SPv3ZyREdoZ26eQX2fg Wamg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716804235; x=1717409035; 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=mnDVrdRG/chiFifTcD1+nCXwPqU6LkEDp4HNdQa6uM0=; b=NT5jlBpPfo4FoNjweryAZXzbB777y7UKXKfJqf6Ayi7trUDkuSEMSsOoy5JYJA6nJR Sr3/+X/uzyrnPYHGRR67QJbX9Zg8yNI/DwPciBDirFJWZk6gPH2cwNoku0NX7I3ABFya IWfBze9znpFRapDNVmFUGJ08dk5EqVuhNfU+j7U9+rm3TojTsYtW9XpBQ5h3uJZPyEDV NpwWZ46YgnvZ0AahKBqN2BdKatOU449loH6eyf9K6DfEnODXpa5eF0+cE8eSLIRXt7uX xBzWT7XXg06KPth4N1Ri/PL6FfVHItdg82SZhsiS2GJkY0oZGQRfN8wjUTlUuacQjDZ5 NpyQ== X-Forwarded-Encrypted: i=1; AJvYcCVwyHXgUHRgQYjfvVVZGvdmg4cl4NxggiUDU40yBGaWDVfPv6UmlBbdSkH5zO7dgHLuB4QP0g4R0h1H3GxDXWAcqXWlU8s2pcYDIQyG X-Gm-Message-State: AOJu0Ywuih7PjcoAdjRbuCxZ14Bc8CAmR37ZwU2RGvEa7hzw/92MEGmT 69sm/o57KOrlCr1A5XJkJy9tHtmy/xXUn/K9WAW87LyuXKNFC3VtAfw+ti1WdYM= X-Received: by 2002:a2e:7c16:0:b0:2e0:1a40:6ff1 with SMTP id 38308e7fff4ca-2e95b03f295mr55774171fa.6.1716804235347; Mon, 27 May 2024 03:03:55 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2e95bcf4bdfsm18616651fa.63.2024.05.27.03.03.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 03:03:54 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 27 May 2024 13:03:50 +0300 Subject: [PATCH v3 5/6] arm64: dts: qcom: sdm845: describe connections of USB/DP port 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: <20240527-yoga-ec-driver-v3-5-327a9851dad5@linaro.org> References: <20240527-yoga-ec-driver-v3-0-327a9851dad5@linaro.org> In-Reply-To: <20240527-yoga-ec-driver-v3-0-327a9851dad5@linaro.org> To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Bryan O'Donoghue , Heikki Krogerus , Greg Kroah-Hartman , Konrad Dybcio Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, Nikita Travkin X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1907; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=QYDBAT8W2DyzVhVIByuwRqL76E8SqW91TF9Y1jLyJZg=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmVFqG5F1GyD2Dudm3jDFmSHyOQA82/0BTxIfh7 J39EEjBQjuJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZlRahgAKCRCLPIo+Aiko 1cCqCACKJO4l58DjOGCzKkok4fOcU42RSJC+jknT/QqzzkgQeHzhN98x+pzmyct2T/4M0hTtlY4 qknNvb1WJ5l6GxTnQdTnoe1d7ZZOi/cdJf5WwGMd77/bWZJUaJ88MEB34HIOHmPgVQG83xID46f 3uUEGr5xrp74VNcOeH288WrLVKOTUiaPL4QAloj39wosAmr16xyGqo3NR4iKW/VRqBMpzspBm7t q9IvcUDHA4EPQ0l3LXo7y3HdN1CZc3uc7yeI3zTW+Pj3R+TQYg6LuHqbU8Z0n4jvurhXNdRvF4E HkSvf6CHzJEFQEwvi65ZUSWEI+pScN8BXLMSlTBPv5x7DAMp X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Describe links between the first USB3 host and the DisplayPort that is routed to the same pins. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 53 +++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 10de2bd46ffc..745518e3ded3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4028,6 +4028,35 @@ usb_1_qmpphy: phy@88e8000 { #clock-cells = <1>; #phy-cells = <1>; + orientation-switch; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_1_qmpphy_out: endpoint { + }; + }; + + port@1 { + reg = <1>; + + usb_1_qmpphy_usb_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss>; + }; + }; + + port@2 { + reg = <2>; + + usb_1_qmpphy_dp_in: endpoint { + remote-endpoint = <&dp_out>; + }; + }; + }; }; usb_2_qmpphy: phy@88eb000 { @@ -4108,6 +4137,26 @@ usb_1_dwc3: usb@a600000 { snps,dis_enblslpm_quirk; phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>; phy-names = "usb2-phy", "usb3-phy"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_1_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg = <1>; + + usb_1_dwc3_ss: endpoint { + remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; + }; + }; + }; }; }; @@ -4598,7 +4647,9 @@ dp_in: endpoint { port@1 { reg = <1>; - dp_out: endpoint { }; + dp_out: endpoint { + remote-endpoint = <&usb_1_qmpphy_dp_in>; + }; }; }; -- 2.39.2