Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1675743lqz; Mon, 1 Apr 2024 13:34:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDa/lYj4e7tJHLLwV4v6HftYVuJcCF51e8/b4bLpe/XBJYdDnDsffePcIqVjPcDkzFUa84Si5TEv8UaYvk9bb2kiOoxatTpsu807P2pQ== X-Google-Smtp-Source: AGHT+IFa2a4rz6GxoMiZNkNUZMk4lz+Pq+qWkgRQQxmLO+AMnoL0cAzV0i767W6WVAJP3JctFfZV X-Received: by 2002:a17:903:41cc:b0:1e0:b6d5:bed with SMTP id u12-20020a17090341cc00b001e0b6d50bedmr13359147ple.5.1712003680282; Mon, 01 Apr 2024 13:34:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712003680; cv=pass; d=google.com; s=arc-20160816; b=L9aZhxwq5jbQJKL43a+LbH6MDhjkD/rK1P5TV8mTboaozMNp6RWLbfRncFXIzoB07R 6lTGCai/q8Iufm8+7E3llAo8o903UD0MDULnbTdDyiJSEXw8pe2he8o5J7u4tLmjgiQP xUSoYazCdOExPlkTgnUxQCBJKul/STVaopg2Pn5q53Y2A4rApdoYrgRLQ9ig5lPbdwGU 7+6LSpWdcaOJx1u04ttgIdK8CkTkOvkMv1kcQu8RRgzD0F4fivGoUAG+LyUjG2n6IRTN MhgSQ05Q5MnxraTlmg4IwtxBhFqRyQNjbKhs1PZddVXl3TAG6AR58zLAOg4bGmWXH3H4 d8Pg== 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=VaUekUYydxWYYnPrJdmSSBGQEd6ZZ9qkV24cX+A0hWY=; fh=QvWXKuFEZEm8TiTiBQbC2lDXTTzMuCMA5wRwuy14QjA=; b=iNceA2e65tghYe7ZwDl7AyBcdmvkzMqLlmNpco/9qRnKyIQ/VDPYu50/LhH6mrDxhN sduCIgICfYD0Cwj/ESGbRwjalzBhl4rzR2472MfWAwxFG/IG4L4JZUT3pRyfgFxOf/xR orqOlEk+/rjYc71287jaCTklJW6hnKIh9FREtZltEq6of9bGA1D8+pRJPoDg1LGzvg4M B5iMJNh5/DFTTOJJkfd/UlTFNDhBJNFtCExQKuO9dh+D9QvcuhbS2yDYX32VZTIX+dih kmtKgf941jr7YTOBKhc7ntb/MTNUZQiZGQPejXnYT5r4qJQhjWeGoYljC8fwzep/jYz8 mJsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Lh7wa/pW"; 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-127036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127036-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k7-20020a170902ba8700b001e026b9d4f6si9401705pls.333.2024.04.01.13.34.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 13:34:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Lh7wa/pW"; 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-127036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127036-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A0778B22019 for ; Mon, 1 Apr 2024 20:34:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D04A5645E; Mon, 1 Apr 2024 20:33:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Lh7wa/pW" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 A524C4D9EF for ; Mon, 1 Apr 2024 20:33:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712003628; cv=none; b=jrgXdkN8G+0qgB6htOp/H1QH/r6jaq6OtBsIw/5s98RuXiWc/92eht3c4UIKUYbi+kbmiRAVoJ3jqt2C85Oi3ErPvcmYfBPGSW23JKFFN+hKne/L17VxyrrnsBZe4ItEeEijbvZrm93Qz6hk2NsKanih1H0X7dogGWpQKpdZfIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712003628; c=relaxed/simple; bh=CLQVhmk/27P67Q5DDFf+FMW5mOTK698dPfd2w+evFJI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tkRJ+JUr/hYEHlnm4auM3JZD9pgBRPEPWQYEDdA4muiEHE7cE27je9eODD055GmOKDeAy0qcfKJ4aDEaC4BMvVCDcyKMFaaDlsdH8dAX5QqFeYCOUfgwApgSRXoLYWDrYQ/y4DkTiWjbSw0Fxyg9aITH4a5LiHAeMH3QT1qsSaQ= 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=Lh7wa/pW; arc=none smtp.client-ip=209.85.167.45 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-lf1-f45.google.com with SMTP id 2adb3069b0e04-516afb04ec7so694253e87.2 for ; Mon, 01 Apr 2024 13:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712003625; x=1712608425; 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=VaUekUYydxWYYnPrJdmSSBGQEd6ZZ9qkV24cX+A0hWY=; b=Lh7wa/pWworIaC8e/iMNVizLgPQBkujXFyyQ2b/PR4nJxbmKLDHbJ0kvqfOPgb3PeI QugMgbqv0QyMa2XYEZO2zpDFJWUu16h1fJCD7q7cg74Az6J+KU8DwKzxDc5dVejPmQk2 RACVzDhHgvHrkT9Hj3Df5f7pJRRluAFXyPmyZhVqSCaFfy3o/bWHBPSOS29ILhiXNT8G 3Uh0AKFWnyTOUu1IjLnD8rdFGT7VByDIJ+QhvJOsdjGaeTm7fgpGzpStzdxCGAoL6EUy xLfH6mugI4aJyqaGDlrzL5K4e8JcNNCg3NNZenYxQzawmmCbkGYJXS6PveSvDKUW4STe m+sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712003625; x=1712608425; 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=VaUekUYydxWYYnPrJdmSSBGQEd6ZZ9qkV24cX+A0hWY=; b=jUrfmnOPgigHwmLKxzvqan1SzeJ+giHJDN623mFFu/o6ZMzdalzcbtvRbPHw/DP/nZ ua2R8bXN1Ih6nzUR5fnUZngZzt/phIX01yHlsXfbUf7EcdrQmR9z54+BW5hazt35kBbI 2kfNJLY7p1YXtt0Fo1iTvBy+4NJOh3fIh3UTQcyIohNJXU+wkT12NbvNs9aztfeRAYzI 8hujSXinKfvuCLk7dbsGb/9VS8Lq4/y8oQULD3rHFnHb7krL5NjnwE6LxnKGekUEakTN TZ+i/eme4s1P8hjwGAeLfcXGRVGzppabSZ0hCAJMpw6YBARKB+Jd7DNundbAtmPBxFsW jIow== X-Forwarded-Encrypted: i=1; AJvYcCUwj8kV9ELZa961+QTJqjNzdcILN7WV4D5q28W4FoTFUNQEEYrTjWMYnJD7O1Q6MYdT7R0Wo73rY3znWl/OZQDaKWh6StKpF1ZgoHr0 X-Gm-Message-State: AOJu0YxJ2BFBSxnXlTHMj4T9MaYvAjlNVfzFqzGhfWyWMSeDEvqM3a6T syQ5fGPecF7fALYY0KbqVmKdKC62ac4W5i75+UkxEuIJhYP2NyJtEo2WYND0JiQ= X-Received: by 2002:a19:e004:0:b0:515:d1c1:c1f8 with SMTP id x4-20020a19e004000000b00515d1c1c1f8mr7558416lfg.64.1712003624989; Mon, 01 Apr 2024 13:33:44 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id j11-20020ac2550b000000b00515a6e4bdbdsm1478342lfk.250.2024.04.01.13.33.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 13:33:44 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 01 Apr 2024 23:33:42 +0300 Subject: [PATCH v3 3/9] arm64: dts: qcom: sm8250: describe HS signals properly 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: <20240401-typec-fix-sm8250-v3-3-604dce3ad103@linaro.org> References: <20240401-typec-fix-sm8250-v3-0-604dce3ad103@linaro.org> In-Reply-To: <20240401-typec-fix-sm8250-v3-0-604dce3ad103@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bryan O'Donoghue Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2725; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=CLQVhmk/27P67Q5DDFf+FMW5mOTK698dPfd2w+evFJI=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmCxolBUPQlAYOIefb8KyuYOLAtq6877RLYQh43 QZgXF2CyuOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZgsaJQAKCRCLPIo+Aiko 1Wf8B/9Pm78kXmduvIoq5pA27/BiuNgtFW3USGWltyqAMieojp1D5zEE67t/h5A/x1LHwOUyzdd g1AkILqZT2wUyg2ZY6JhuZE+voEGEkhYV9bULkhkiT4Egcx0ybtDyoI3OV3uRWoRzpy0jLHdx/0 5Nm7QTtE8dKEKDPqJ6EQ0Zv61j1Vd51JgtmJU4pHcXTXmQ4am3WU6+G7Dt+RE9BzeFKUQOcOWP5 Xt4oWGQeUuoFmzWfBTMnFMwyYXgyxvv+kaAL6ZrZ+8T11P7Hwoxk5frc5WW5xNgU5tqGTQvoEAW VKGboz6AcVlWLj+SitfgrC1biUXfHGGmp9TOl1HviMK+ZV9X X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The OF graph should describe physical signals. There is no 'role switch' signal between Type-C connector and the DWC3 USB controller. Instead there is a HighSpeed signal lane between DWC3 controller and the USB-C connector. Rename endpoints in accordance to that (this follows the example lead by other plaforms, including QRB2210 RB1, QRB4210 RB2 and all PMIC GLINK platforms). Reviewed-by: Bryan O'Donoghue Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 8 ++++---- arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 8 ++++---- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index cd0db4f31d4a..44239d1e57e9 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -1356,8 +1356,8 @@ &usb_1_dwc3 { usb-role-switch; }; -&usb_1_role_switch_out { - remote-endpoint = <&pm8150b_role_switch_in>; +&usb_1_dwc3_hs_out { + remote-endpoint = <&pm8150b_hs_in>; }; &usb_1_hsphy { @@ -1465,8 +1465,8 @@ ports { port@0 { reg = <0>; - pm8150b_role_switch_in: endpoint { - remote-endpoint = <&usb_1_role_switch_out>; + pm8150b_hs_in: endpoint { + remote-endpoint = <&usb_1_dwc3_hs_out>; }; }; diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi index 2042020eb0dd..6cc0bcb40f1f 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi @@ -659,8 +659,8 @@ ports { port@0 { reg = <0>; - pm8150b_role_switch_in: endpoint { - remote-endpoint = <&usb_1_role_switch_out>; + pm8150b_hs_in: endpoint { + remote-endpoint = <&usb_1_dwc3_hs_out>; }; }; }; @@ -723,8 +723,8 @@ &usb_1_hsphy { status = "okay"; }; -&usb_1_role_switch_out { - remote-endpoint = <&pm8150b_role_switch_in>; +&usb_1_dwc3_hs_out { + remote-endpoint = <&pm8150b_hs_in>; }; &ufs_mem_hc { diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 7f2333c9d17d..440bbb89bf8a 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -4196,7 +4196,7 @@ usb_1_dwc3: usb@a600000 { phy-names = "usb2-phy", "usb3-phy"; port { - usb_1_role_switch_out: endpoint {}; + usb_1_dwc3_hs_out: endpoint {}; }; }; }; -- 2.39.2