Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1256449lqo; Sat, 11 May 2024 15:04:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWcbaULn44d6jX8xyLce2p2MUgEZOxWJbh7vvo/vVgIpv6JCy9xpfWA3W2FCRv9YfI3lseUpezvPAe+oWa+M21aYPkPXDbRRpReQXBWJA== X-Google-Smtp-Source: AGHT+IG1ETmw+x1/md8CdYTTm7rGVcusDM4FXLWNR8njl6PT492ew/hsMGIiPveoUboiAeRa9HSK X-Received: by 2002:a25:ae90:0:b0:dcd:2f89:6aac with SMTP id 3f1490d57ef6-dee4f1b7b86mr6017481276.10.1715465099165; Sat, 11 May 2024 15:04:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715465099; cv=pass; d=google.com; s=arc-20160816; b=jYunuEDOV15OyD12gRSHSFKVeLRkV7BDURlkHcWp4Kjado0S/otkevpdt9Kdz6SOLQ C/S8qkJLhFBkyNdJDW0CYN5WfbEmHYiFBwdW5TLrGpPOAwOoBe9iSy+GWChlndQInJyT EI7xU7EIJK6nOIh0PdGqWrLVrUbiTPPbHIFF5xLUjfsYtC346SsIxoTqalh4uGDENUST 0PglsybI9+Cfal73Z0SGa4DGNHCYD4UccEzDpQJZtpF49jxMW3kQRViOxBapXg23IS8R 2cBImcbEWCid+tbC/SZcbP7AAqel9H0uDmEHqqv0aC5y2bgpAQ53lEqxvknUhY7KISLR iQag== 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=0NiTVC0ap1sbMmX+P4azo73mVUt/soqEHYFiWewJv/E=; fh=RSxdJVsoj+3hWgeqtzHpA1sgU454Q0e+LV/Gs/h4Phs=; b=W7gfQnq9tlEsdfeAfgnCfREZUn8B9Fl2h+alrAyu1t1/V7jYhvevsHBawh+DdzkU+6 okMe6s7oOqLNM+6d9YR4PHUKLQkT1paTcLZCGgJ7dvOgIpNwRTSgxT80OyJNidgZVnty pqzlCq0EMf4I2Qwe1qnAq6AIK0GgrcVY/yOSxcLIOXuDs3iyfo7DOnRoFVjzPm5Ev8RG kQqdr7xRYAWCzHvMhH7cjU6BAPESmvl7ktXf1uoVpCYYrbgmeCJy+LCXTd/YWgIwK7AE uggUV0yH9J2OaqiPWQUpsz9qicSwz17P1FT4V4A6V50pWILmZV5U5OroFBdH+yfhXBze 30Ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qQiFTy6Z; 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-176749-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176749-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 d75a77b69052e-43e0f3e65e6si11311791cf.182.2024.05.11.15.04.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 15:04:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176749-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=qQiFTy6Z; 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-176749-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176749-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 D0D581C20873 for ; Sat, 11 May 2024 22:04:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62DEE40879; Sat, 11 May 2024 22:04:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qQiFTy6Z" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 7834F36AF8 for ; Sat, 11 May 2024 22:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715465055; cv=none; b=L4qLm9n4Fs857Zk48KxVcxjfmNwbppWu1/uyYyjXwuZo9gD88xqDffLzzDprlrROOJC1SGUBr9zySBvy3Oa7F953j6YKjfqrCMb+BZgaIt60Vimk+EX3E0rRK3r0x+TSc5HmoOBG1z5iRsXgP+Evk22KABdsiWz0chbBFPi8YmI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715465055; c=relaxed/simple; bh=Xy9PldcR183DRnBL5409rKkzxlfVFfpBt9Qkn4329v8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Bdtw6XmyUturfqE41LiftciLHbJY5KpKOCLEJhg+ItqsL18GoxvPn3wkhQIxUiOOZp1dUdkZAmUlywlync7Y5Gt1Jjg8IeUfhAR3XTTcQkz+vGNcknMyXjDY50THVWMMhfVQwr4Ne/UncI864sxrfJBa9eN8pSw05K+26ZTx4Vc= 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=qQiFTy6Z; arc=none smtp.client-ip=209.85.167.54 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-f54.google.com with SMTP id 2adb3069b0e04-51fcb7dc722so2940736e87.1 for ; Sat, 11 May 2024 15:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715465052; x=1716069852; 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=0NiTVC0ap1sbMmX+P4azo73mVUt/soqEHYFiWewJv/E=; b=qQiFTy6Z93EMH6MuhQu1OQ9VE7kkwcd6fK8nc2CkKPkcBmge8hhBcJnNZdF1scpPcJ VaQgiVJsJVJ4v5iH/e4NAh8tJy4Ds85H86guQm1xgj7cskGkxAUT1PBfyuOlUwVSfbB1 ajJz2sSlnTlRwsNd/3aOn80Gg4IP7nun/Xk2BoTJeBnar2XpAKY0ReHcLYjnDxw8fkm6 gVuJXOAE1cGQhR5OAMR6ak7L7Ev9GqSHqd1vCoRU2XsGMTde+Rj/QTdOBviPgKAKBbvc k/BY/WcO5cEvW4N5V4Ao7K1M6ZsLH8kLPy4nU5MNIC9p5GqS14ijA6wfUf/tjGQ3nvjl Nv+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715465052; x=1716069852; 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=0NiTVC0ap1sbMmX+P4azo73mVUt/soqEHYFiWewJv/E=; b=deJ7MtFDGH8YRAJUTs1K+LBKRQ226CRJq7/kKoek9jW8wUtTHAywSS4aUNncXoNOlh Qj+/mUlrqF4cLEt89etoo0a0qPWTlNmlV1t+BuT8S1V4TR3tY9dV2BCTqLF0OdW3hTeG bfFteEBEvSFHrX2reVWsGecjR3Pw/B9grJhOIPqyvJ5LTAzf17qkp7F9JyiEEDimyFvb 2jGhAo7RRG3UWup2YfOWn+EcVXBXX9ErkjAyWMIFpAmcEqLnKN5Q0/J71HKB2b0rLUCI XtDyPlGun0F8B2Ei20yk7JAE8IoHNVWSsF3gf/kT25z0Haidif5JF9K1RCSnico4rKX+ YK1w== X-Forwarded-Encrypted: i=1; AJvYcCX7eo3owu2uFC2oQB8cyYrhz6Z+ftH842UQSvWEqpl3CmMk7/L/Vea2Gc86CyUMv+ELIPsMj3ighnxi21ozHozcBA7kC3i9Qru5vmE+ X-Gm-Message-State: AOJu0YxA/HfJIordrfaImeRlwJKEnEYQ0zInLtra/7si6eMEt6qdh33F FNE4RXSPRS+TV7rK/OfjPia3Cv1rm6g862j2ytcxDBUpTJ+zKVl8aUBqg71wgoM= X-Received: by 2002:a05:6512:2309:b0:51f:3e41:efd8 with SMTP id 2adb3069b0e04-5220e27a2ccmr2259688e87.1.1715465051765; Sat, 11 May 2024 15:04:11 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-521f38d878fsm1123875e87.206.2024.05.11.15.04.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 15:04:11 -0700 (PDT) From: Dmitry Baryshkov Date: Sun, 12 May 2024 01:04:09 +0300 Subject: [PATCH v4 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: <20240512-typec-fix-sm8250-v4-3-ad153c747a97@linaro.org> References: <20240512-typec-fix-sm8250-v4-0-ad153c747a97@linaro.org> In-Reply-To: <20240512-typec-fix-sm8250-v4-0-ad153c747a97@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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2645; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Xy9PldcR183DRnBL5409rKkzxlfVFfpBt9Qkn4329v8=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ5r96/DeyuzcYMY3y9mPm9cVcx+9XqHY2r4uilGS939D9 tXa1qZORmMWBkYuBlkxRRafgpapMZuSwz7smFoPM4iVCWQKAxenAEzkqgoHwyKOrbUsTxKjfyfU ads9W3QualfKvEsnbkleMN3f3+QtLc90cR4b60HOikv71/K92Md04j3XJuEFDo9Lko4ukdD44XH k0TSBgq02UVv4513f7LXbJEheJHahe0SHifZ2rzIzQ//ft7KMf6r7zzgYVsMkUz+/JzNaW1N0Rg mXTsy9NTEcapd7g716P+qtnDa573H0lO6VLvW7G5UeVaQZJK/PuZ6QWBamldvLcqGXYylrXemGZ RdN5r3s/vPa7klK6aE9e2wyBZwuOl493PMzeQLj70tWC9T2P5RMOSr3wV6CZ4rkX4/vIWc7Dp7U f+fA61B9RP+JjdgZqcgC9eATwSu23IkJUG4zqZ0QmXEMAA== 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. Rename endpoints to mention USB HS signal instead (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 41f117474872..3596dd328c31 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>; }; }; }; @@ -725,8 +725,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 8ccade628f1f..0ec473ceb3d2 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -4226,7 +4226,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