Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp226869lqb; Tue, 28 May 2024 13:48:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUYeXPhLgxc2Qe17buWbHwg7ZRDdSe4PGpoMMKSD1GV6ZURORK1GDNmiEYkV+4uf9GlNBp55UYmp0Qkpkr7s6fDY1KDuz1LMwcLO2d5aw== X-Google-Smtp-Source: AGHT+IFHw2HGqUKfh/ax6Wk4v2JWKadYl3XuyCgLDDoRguu2YMQx3Mn+6K4txRjUg0gmMnaYTO0Y X-Received: by 2002:a05:6a21:339f:b0:1b0:58e:1b93 with SMTP id adf61e73a8af0-1b212d38e78mr17125534637.1.1716929287206; Tue, 28 May 2024 13:48:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716929287; cv=pass; d=google.com; s=arc-20160816; b=fhjMYUs4BG9K7NK/qmGWUmKG+mBH/FfXigHQgHGlSLMvKYrwLvuY7VFFBXGm0CDd/u Luba8cMtx5a5orzwz5M0d3IKDtRBU0s0LfbB9UaCBv1K1O0OP7muthEJqCKUiyWp0nn6 LEilkDA+1tutBLqeScXNct6Cci7mgNvneVdoABTT2K0ZkDERTmo5Z0kqq0Us60e5kOaA L4lALwwRHfzyYtuNhQoIwIVMbzcdPbrUQwLtjbVCQKhITva4gclaUE7I5BGCXePyXM6Y /Ct3Ju3r9X05ZZQF3y71lVGrxslw0EZWfLnIZB4rxnnjXQHNL34XORac8G/evYBPn5wQ DlNA== 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=NzKziQ2mUjFv55TZqX8gJhwOKelVZbp6zvs6HKq3MPA=; fh=NbVU2u20x0iCeeT++xdPjmcmAmM64nKhmkgbiNvhYT0=; b=ULwvaVarJrE1fG9j9vlO+FE9M1ErgVbciegUFhYktljNZgISG3QCFsipbtEFiSTtC9 q38/zfyfV86KDuu5KhJ6V1SIUy1kadPlyLV0cPnP+2HJRCsf3c84F3QDtDrOCVLV3n50 WkHzWAHhc1DfQOmmUcZlQ+NPVh5xqJ6oApzwxA7ITdDQ0REZzYecarUjKaJb05c6Dur5 /tgtZo+pculRI5Gj5ik0lj6yl7irSuKyg163B3dLB4foyLoBFNC9hvM4j3zWv+HxGHZf bIVS3ceWJz++7bwqoaK4VmMKwiia+x9SNXvoy2GX22TLNXySrkFmRzYR4HdtggH01U0F WAow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bz7kVyot; 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-193064-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193064-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-68221c6a24csi8835352a12.75.2024.05.28.13.48.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 13:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193064-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bz7kVyot; 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-193064-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193064-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CFCDD291D18 for ; Tue, 28 May 2024 20:48:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC50F18132D; Tue, 28 May 2024 20:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Bz7kVyot" Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 66ADB17BB16 for ; Tue, 28 May 2024 20:45:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716929103; cv=none; b=JJj0GQ2pVxfJjGabq7QIPxQ4VXpSHGn21zWBbM8qM8FSFW3z9Ic4C8O8BnAdOuBWUdwbT387AuZaKF4izdu+OCwZ1Y98wH9IpQQyet1AiasfGrIeEZdfJvtDjGgxrvnX1CFMEBekWIaUCVn4Pgf+XApnJ7W7i7JNIV7fm/7M0Sw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716929103; c=relaxed/simple; bh=9jn734YvtZuEkzjxMWQQ/F5cN34ZH6ms3Y1ko1ls5C4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gk+YBeaOA4PO77nJB/XfWpRtqHEf6Yy2Yeg5p5fpmqXjRKJJPs2ovasJcxkZsngU66v4KvVb6S+WDlYfDjybVCzaQft6KcgsC7zjU89+Ms23Bh/bVLErqB6CDjLgIJ2Hyjp2XJtaWOhkWjbHuPysRif0LL2pzk9PLT6GEGX7l88= 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=Bz7kVyot; arc=none smtp.client-ip=209.85.208.176 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-f176.google.com with SMTP id 38308e7fff4ca-2e964acff1aso13436301fa.0 for ; Tue, 28 May 2024 13:45:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716929098; x=1717533898; 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=NzKziQ2mUjFv55TZqX8gJhwOKelVZbp6zvs6HKq3MPA=; b=Bz7kVyotJ4wu7cjZO4T2GtRHWBc+PndNsabHfoxzRd6dHHUugQBHaLxW4TcjMAljPa mMzYAcE2ZJWiNOyJZwKPEiVoqWUUqKRUQXISensLBBdYrceohFOkSMjyhx6fJnfrZxLj 8EOqwNhAGqhyB7c51EUlpkg+J2hafKiS+0Hn1CI1+CGT+7Xb8PkbqEO1TAjW64wfNX6S ACPRgycZCOWzBuoD2RAziENzmA2dk6ZUeBQlpnJHLVLI0totybhkU00mpUrWZBGEUY6v DcUx780pjcNl6MDMW3VqdCpmKvHULqJo9hMhEa4mIca0wshvEQWI4mcKFmCd66tjFwEw Ij1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716929098; x=1717533898; 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=NzKziQ2mUjFv55TZqX8gJhwOKelVZbp6zvs6HKq3MPA=; b=LEVV5XbuTh5MKfFqkj6dxaPqUJ+NFpfLbDz5i0v7MXP3WBt76r4/fuullQ2D2nY5SG kQ/OKXxM1TWdbtsWYgUuvzKXHfnf5cHf6hD2E8qjwMniYTZBMrdq2HhS0lmSiwpG+Jbn b1bbO7oM8HCoyjhD3k9yAfF4eIu3yE6HEaYPyntA0f3EO1mASmN05w9DfcOJpjTMZnHc 9QmjjlWYDvxx9ey1mXRQi3rHBM5UIjIQ8acKCq+NZPCcdwy2GXfMd+6r3weoBlw0nDxR n08gwHOj5cVJmIrZz32jnhVIOJ90LUBpePd1GKfy+u5PCjFACI0xQAdBPjbW09SE2h0H 0IYQ== X-Forwarded-Encrypted: i=1; AJvYcCUJysA07DvFNRIw4hW9tyvdx0VAHwL8s8aOOvnGJCh5eADZwirkOvaLiJIo4DK2r2vrpVC6v43XOdJPEByviaDFH3iTsi+2kJ/25XbF X-Gm-Message-State: AOJu0YzMenWQu3z86PhQSkho36W/wUusnRjQs9rq6TiFb+JKc1K+Lucp Pl/diCYda8ozjChopq6gh0jarsHMXd1yvzKM5bLpu+Z4GAR0HDizI6qms2NpjCM= X-Received: by 2002:a2e:3c09:0:b0:2e9:865e:531c with SMTP id 38308e7fff4ca-2e9865e5a60mr21395721fa.26.1716929098472; Tue, 28 May 2024 13:44:58 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2e95bdcd21esm22759431fa.100.2024.05.28.13.44.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 13:44:58 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 28 May 2024 23:44:50 +0300 Subject: [PATCH v4 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: <20240528-yoga-ec-driver-v4-5-4fa8dfaae7b6@linaro.org> References: <20240528-yoga-ec-driver-v4-0-4fa8dfaae7b6@linaro.org> In-Reply-To: <20240528-yoga-ec-driver-v4-0-4fa8dfaae7b6@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=9jn734YvtZuEkzjxMWQQ/F5cN34ZH6ms3Y1ko1ls5C4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmVkJFcnASXQ8B385etFaYrBnafXn1fBmsqc3oT r4821H0zkKJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZlZCRQAKCRCLPIo+Aiko 1QenB/48cAngVc+F7/8Jx4s4LYSp3b3wOKl6IOF4pxmFZETpcPLFED/bp2tPHloteFHwNDeMw50 4YT23ZMTHem7xda70l8z61JaPPMhk+6D0Ixa6npyLpdFP68HNySS/S4HteruC7QBYMVxU7lDoQi j7yVFrOmkrM11ykvQIiNkO7LqruEywAKtkWckYTs37GPoTnBAqM0W1HQc29wyl6/yxdkNGoAbt4 MryC4Y9ODV5e04qUiPQVcY0kQ6U3UT2Lq+hPjstYbxusFeSuKWr35xflwO4chH22g2lwdKF3WQ1 9EpDtgckKJDwhKihNuNVt2jBBNjwzNSoIt/pvTumK5R/mjkY 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 26b1638c76f9..5276ab0433b6 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4030,6 +4030,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 { @@ -4110,6 +4139,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>; + }; + }; + }; }; }; @@ -4600,7 +4649,9 @@ dp_in: endpoint { port@1 { reg = <1>; - dp_out: endpoint { }; + dp_out: endpoint { + remote-endpoint = <&usb_1_qmpphy_dp_in>; + }; }; }; -- 2.39.2