From patchwork Mon Apr 29 12:43:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646876 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 65552C15D for ; Mon, 29 Apr 2024 12:43:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394628; cv=none; b=UhK/hKbvrQj2Hcf69UGQTsTDaQyvO3KOJuq2jpyDXoqQggTiNNVVM0GJ2Duac8xWR8qqnecYrh4+ZFnMxiIgCLWTmgj1D3KdVzPZE2i4FD2zbiuU5VABDcCVUwXYAOKJZKnMqGCqPJHRrqkysH4gzZ9YlraAgY8JgANquCvUUWE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394628; c=relaxed/simple; bh=3ahalgQrX1I3yfQnq7+cpNw3xYKZCyqvysUuHDXO+Mo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C90boIzk91XorcOq+I/8war545kjZkI9JuZ6L5VBU9dhyRBJXOVyNooSgcwclEhw3rQVxika1MBvQr33x7ghRz/UJgatEOLJSk1b+jAe7T9rVzaBubt53nUX6lJfaPw7ZGcUL2bNnoRznCPTc7FQ1BRB8kkqEZoRDtLTr6NCWFM= 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=u9KKIMvb; arc=none smtp.client-ip=209.85.167.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="u9KKIMvb" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-51dc5c0ffdbso909396e87.2 for ; Mon, 29 Apr 2024 05:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394624; x=1714999424; 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=NNutWFZyGINp4G7joe8+n09dkk5KMMBPhLsYqPUlzNI=; b=u9KKIMvbaViEflCuvFHS/uWv6HoUv3raijzwS26xrQK2T1XvUj+Dxw+wAQFGWRv5uv I+EJHXtJ3sa6Siq3RKlrHwvkR5vviX9E9z94F+7WeOKJuK438gp9eHKozSJlWxo7QdDi GknjiJY7RYqr7KZXReFgnj4dGRUVvZEOwjPvdyTQZCatZ63lzZz1jpB+nOI6PTMgAbsU CKziPnJiSi9pOMyjgVsTpz2OW/meiHiJNzPX7wZRxGOuVMQFEAiJlKbUVFiAQZU6wjTe Ma4IhEuQVBiuU/FlDxMPBmJs1OF1Q0hKwP4RSLSowg27z1o9QC1BAJVui5QMxMDYttYB WaeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394624; x=1714999424; 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=NNutWFZyGINp4G7joe8+n09dkk5KMMBPhLsYqPUlzNI=; b=qTlYByShYaAbgWxP+l91aYdXiThO2LeJU99qFFiw6tIimjkuYqkKoaJcgiOSmavGMk 4ENoQKxtFegc5lOGp2DR8aja95rDh8/avZwBmVB0HxUvH/SLhJ62qGMJDoXR8BP1vuHl 5utDVNTrYRYquC8XMSTRe7YaqPv6C8U0r6SnQ92KT03YZNGgty/AAaHGjoiom9BCYGRJ ptJ+8eK+QVNKMb2hL17LpvxxoEPq6oDl4l28GnTrRzCxzx0CWfpeZQVB/hjkTQPIjnAC Ts1zDYNB8Eyfe4wfDevQZX0OBYlND3cbKcg/M35rIob0daUpKPyJgUIoCqsfDLI0ShtB BBGw== X-Gm-Message-State: AOJu0Yz8MsxSeqGWtfWW044ey84bdpC+dhVefZOz47vCrr+UsvvU64vM ec4WgSafjRp3KgbxfQNkdWdFz2FSnIgTqe4oD8dhg9YYqVjpp8OQoadIbCTvxLM= X-Google-Smtp-Source: AGHT+IEqM1Vl43HLK9dfl1bIMuF51ks5ITFNdbi3CKn/0fEHcDTFo4Ov7KI2UBym7WYpgkvbo8o4Aw== X-Received: by 2002:a05:6512:104a:b0:51d:98c4:94a4 with SMTP id c10-20020a056512104a00b0051d98c494a4mr3042535lfb.58.1714394624562; Mon, 29 Apr 2024 05:43:44 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:44 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:38 +0300 Subject: [PATCH 01/12] arm64: dts: qcom: sm8150: move USB graph to the SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-1-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2204; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=3ahalgQrX1I3yfQnq7+cpNw3xYKZCyqvysUuHDXO+Mo=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X9/mDMPuhor2aKIoNFUPaYHHrtHcUIR55XM CfkMaujkByJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/QAKCRCLPIo+Aiko 1UzVB/0Q8OdOxh0ZQiAxky+sBdCuAuqwjeEZsEjpN/UX3IV0oakPn2Er+gU1ZFz2a+/dsqX9xOe UQIslyEqpZDT40pRb+F/QuS53yAJN2Z0NP7XcItFiD3jmTj3cRvYdpqh7hheWsLvYDTzESCouMm ibIIT1jgU6Znfwn+Vqtw90Qi8OwEvVb3nlljux2dHuW3hFJM1rb5h3AEvNfspEpnmhFpS4krwrp zIQgwQRYcX8ck6V1JGRKaDj2BD/zW0kjoiguXt4/Z2aVYs2lFWuSSXPW9B305UXC0jko36/ewJ7 RxgZwT37ynVPNRmBljWdLqya3GEroqmq6U/810FhcjO2GGt4 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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 Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 13 ------------- arch/arm64/boot/dts/qcom/sm8150.dtsi | 4 ++++ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts index e9b9abc18746..bac08f00b303 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts @@ -470,7 +470,6 @@ &mdss_dp { &mdss_dp_out { data-lanes = <0 1>; - remote-endpoint = <&usb_1_qmpphy_dp_in>; }; &mdss_dsi0 { @@ -676,18 +675,10 @@ &usb_1_qmpphy { orientation-switch; }; -&usb_1_qmpphy_dp_in { - remote-endpoint = <&mdss_dp_out>; -}; - &usb_1_qmpphy_out { remote-endpoint = <&pm8150b_typec_mux_in>; }; -&usb_1_qmpphy_usb_ss_in { - remote-endpoint = <&usb_1_dwc3_ss>; -}; - &usb_2_qmpphy { status = "okay"; vdda-phy-supply = <&vreg_l3c_1p2>; @@ -711,10 +702,6 @@ &usb_1_dwc3_hs { remote-endpoint = <&pm8150b_hs_in>; }; -&usb_1_dwc3_ss { - remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; -}; - &usb_2_dwc3 { dr_mode = "host"; }; diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index ff22e4346660..cb878b7305c2 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -3507,6 +3507,7 @@ port@1 { reg = <1>; usb_1_qmpphy_usb_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss>; }; }; @@ -3514,6 +3515,7 @@ port@2 { reg = <2>; usb_1_qmpphy_dp_in: endpoint { + remote-endpoint = <&mdss_dp_out>; }; }; }; @@ -3672,6 +3674,7 @@ port@1 { reg = <1>; usb_1_dwc3_ss: endpoint { + remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; }; }; }; @@ -3894,6 +3897,7 @@ port@1 { reg = <1>; mdss_dp_out: endpoint { + remote-endpoint = <&usb_1_qmpphy_dp_in>; }; }; }; From patchwork Mon Apr 29 12:43:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646877 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 DB05E175B6 for ; Mon, 29 Apr 2024 12:43: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=1714394628; cv=none; b=HPVEArsWqSt97PZy5yX93nB4iK6tAyG92h466UkWlKhVIcCqTKcGbK/8KUMO5M9f8tUs6Dh0RushqOUyoQ6bmXjLQlKt4bqR6SW+DaVaitN0urjlkdGP0J2eBf8zgagcW+70xwo3/FEF5MSy7JfadCLWxh3fJcioZNlF1d7ACJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394628; c=relaxed/simple; bh=NvAJ6b5ki1+dCqAxlvXfYm6SnEViL6U6fNYL2uOeV1I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jJxcmhVFHbEJAUcqyWC77yMH6c/OgqLr9xCTBxT128NTE3ExCJgC48M0S7MdQBl7kfuHS1sKeLV2vR9TdpfxDkZ3ft8yBjJIBmmAkbx/jqGXGI63ZTnltLMimIzscDONhhUgvxnMevXQD2mIImVVRG7LpmPWL8FIBBmSMojhTGc= 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=creHSdal; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="creHSdal" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-516d68d7a8bso4073335e87.1 for ; Mon, 29 Apr 2024 05:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394625; x=1714999425; 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=99aJ9PJ8mQRoKAE22+Ctzat8MiNYAHOyEO7AxLly9l8=; b=creHSdalZehcvJ6lNUCCLz2AHUfyOvVD+0lyuOzOwhOJkYixlqibw3r2F7R5qdgg8z 8WbQ9/dTB33iax78SX2iZHqOgek2tkumiu6FoCx9w11g6fxUZaeAjH8GkEmdG+wb1cAY hUFfDFk1c5+oUlqsI5uhGT2VCxiIqPSeRGKrFxD7LkAb641aBihVLOZnSfJV8HouOUdv 0S2mVPVtL7nBz5hjwIxaOdeK8/JBrdf69PUEORdjwVa4HilhCdpEdSGH+NHLVFrfmYHP stmq5Z/etCGxLmsRWwU3sAlKvh1//roDt23LzKfCQ+8yAK3inHhWCEf3GrWiWiC4S/4W IVlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394625; x=1714999425; 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=99aJ9PJ8mQRoKAE22+Ctzat8MiNYAHOyEO7AxLly9l8=; b=ihlz2NwVDXl5cWVJLccKvRQwNkVD3tFlRma3jV/sg/E28UwlmGfsR1hxo3H7Nl5YZ7 pUaJacGNZGsVabZzVdGMekdhbr/BaU7F5N0jAJvnSoCWBpHVbotm0WDUW+z53AbIctvc iaofzI0CfLGezEM8vz6UZzohTZW4epeDcvJPsXWuJKzEOiuMo/CIwNIrxzERYrVWbpQf TnNWTxvSTMNshlfjvC8Oh6DsHYAzeGuh612xsxeQxYfm/skszaEVOWCInqlL4hr/gzkt 9PWjHJnljjSmoWMOkyEK4GdscbgSMAdeXXv69jq4K29QmK2mvnx/E6Bz4xVwxqg+VSbJ eDrA== X-Gm-Message-State: AOJu0Yx61VniErvMPGft+ZIXupbcKbT/czgywDVHx7KzjnRdcbSeP3ih CFa5Kdnc6M6hCOa/ViZOIf8Ww1IcD33ggzjzXnuFNDQxTL1xgEM5UvJCSorMjmc= X-Google-Smtp-Source: AGHT+IGH6nbRRR0+Y9otM6dog5UsjoMI6emEvga4iftex/xtie9D7dOF/teX8edk5NQd5GpMhZPwzA== X-Received: by 2002:ac2:4e0a:0:b0:51d:a98c:11da with SMTP id e10-20020ac24e0a000000b0051da98c11damr1243107lfr.12.1714394625132; Mon, 29 Apr 2024 05:43:45 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:44 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:39 +0300 Subject: [PATCH 02/12] arm64: dts: qcom: sm8350: move USB graph to the SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-2-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2475; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=NvAJ6b5ki1+dCqAxlvXfYm6SnEViL6U6fNYL2uOeV1I=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X90J5WrU1bAzSOZ2L+UKIVkd53i8fy7x58D rZGPJdTJ8OJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/QAKCRCLPIo+Aiko 1XG1B/9Z5ruZ5MJNx1pbR2KYsy8Ehr5dDZYbuvjo6GCnS6myfxfySRVbNPR25pHM95kHb+9RscA 2zzdILsAMR+g5vIAU4l2I8gR6Yeifb5CjXB4MkNVHhVc1rkoU206CiQTBaxyeCutMN2qzoGNLhZ 0++iEWzAb9K65H2HMGpWc+tDDtuJMmD+OZVqgNYgz5tygJnG5lg0KYETmMiIKH3I7+xgiJNytEx yyKAUNS0BSrNXoSg3NQZL/U+2b4VknDJrAOJqe+UFYy/Oq3OXcdWI+DzZalkvO7Gg2PLmDIRhRn EvWQBx+9AZl8BttNEzHwxcXY4KW2RWGJN6TAM85VvAlZ4z+h X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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 Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 25 +++---------------------- arch/arm64/boot/dts/qcom/sm8350.dtsi | 11 +++++++++++ 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts index 4c25ab2f5670..81e5577cccb7 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts @@ -486,17 +486,10 @@ &mdss { &mdss_dp { status = "okay"; +}; - ports { - port@1 { - reg = <1>; - - mdss_dp0_out: endpoint { - data-lanes = <0 1>; - remote-endpoint = <&usb_1_qmpphy_dp_in>; - }; - }; - }; +&mdss_dp_out { + data-lanes = <0 1>; }; &mpss { @@ -864,10 +857,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"; @@ -885,18 +874,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>; -}; - &usb_2 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index f7c4700f00c3..24c42f285163 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2273,6 +2273,7 @@ port@1 { reg = <1>; usb_1_qmpphy_usb_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss>; }; }; @@ -2280,6 +2281,7 @@ port@2 { reg = <2>; usb_1_qmpphy_dp_in: endpoint { + remote-endpoint = <&mdss_dp_out>; }; }; }; @@ -2405,6 +2407,7 @@ port@1 { reg = <1>; usb_1_dwc3_ss: endpoint { + remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; }; }; }; @@ -2626,6 +2629,14 @@ mdss_dp_in: endpoint { remote-endpoint = <&dpu_intf0_out>; }; }; + + port@1 { + reg = <1>; + + mdss_dp_out: endpoint { + remote-endpoint = <&usb_1_qmpphy_dp_in>; + }; + }; }; dp_opp_table: opp-table { From patchwork Mon Apr 29 12:43:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646878 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 6E479200D9 for ; Mon, 29 Apr 2024 12:43:47 +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=1714394629; cv=none; b=S6ShudOBX06K3Xi6b6gZyBJEiGU86LDnbzOKBv4yrmmbpO6YZ93BY4WJdbUgl9talAkw/jkTU7US1qslzwYelIdHuc4GYhmGJO2bMRoOkpqo6T1HdVlPMwR/iOCYmvi4EMH+BfZ/lOJ9j9Uhhjw3DWMBSHmYwM+OzA7zDLmqgXo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394629; c=relaxed/simple; bh=T611xpa2u6i4khfTFU2OgFjuDM98KKpM9628a4zNbDM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Vr5mcUD7SqvsoSdR7u6KE5khdd0mtTS08S2kKi6d2NK5c7jkFroCMyE8xz51L4dHp5RrvrKI5jc+1Ni4otVeKY9Iq7Dp0Ui1JKFwLdN0biENProAHWiPfEa+9Ihrwzo6wWJBcieYqnG1Gm9dyIfdiYry6nyG8Nh7Ij9ciLR2HdU= 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=A/aNV9SI; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="A/aNV9SI" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5194cebd6caso4956656e87.0 for ; Mon, 29 Apr 2024 05:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394625; x=1714999425; 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=WUoXRRFUJQQBOWuIqHtXudyyJPn9iQWzIcDItzMD4xo=; b=A/aNV9SI+OThSesec3lgnw6AVerYvVFzXRfo3H31JxG6HhOBIhWNVn30p3ccY90Yiz Hd7GqApxV2W0uS3dm/l6z1BLRq46QdLfRQQ988BOs8DWychIJEzr+lFV3KQo9zVtT1Z2 Oo1GginNxY0WJGva331aKfDhILeUBRsvmxnIOahSE2xcwh8ujXHeJiBOg40MQIxgrplD YlZj4gkNxDtiy1wohCPJgVILLSDLa33GGBZQT9L5fZpFvZ9xmRIILgr4cqTKMHszuUHP VhjBrWgmIYjhnKecJxvKlKNFmypap0OmvZeFmB8W8kH0x/RPCb5guwJTHuck8LKA+kv0 P4hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394625; x=1714999425; 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=WUoXRRFUJQQBOWuIqHtXudyyJPn9iQWzIcDItzMD4xo=; b=URUL6D8AxaLk4XaIraPXjdiukHzIG0TLn4uJbDgomBwAvwgwG49lUnLsPA3mvANPfK dFXgGETNGNGF7cLrtw2GBHjXChdI7qlKg9ezePpoHyCYHDIUt+5XkBUpChh3XAoawDjT aLEFloEhoGqNQbH2y/EzNp7mo1oyELKOYX7PDnRojJatL1LR/BF7LUi44p4L62kbhngu 7+fva2HbC9Xnzf6V6Qi2HyObPol28B7FCeTiRX4PCA238mvh7vRpZ8fPBQ70G8lMqOkf K93JvD6Z5IOsNLOus6mvfbnfLzErf6cotuE9EsGVxpo8sFFpKa8zUYp76AcQsM2Nh1oR tSig== X-Gm-Message-State: AOJu0YwKaGx0ssi6r0kghGiULs3cvJxMEp8EjR/YHWhAcsOH+D+W66FC LE1kDnBTvQxgbUYyehb854fZjw9nZvlyENpTwsHO48c6+FBSPBNwakz3EYYCWCsXkqXsayf0L+a d X-Google-Smtp-Source: AGHT+IEI78llUWEI2u8/GRG6nm2hwH5UIF30yhS7dfAtx32McGYBAqnjYGzst6qNeJ/UgXfR0DcUrw== X-Received: by 2002:a05:6512:2395:b0:513:edf4:6f20 with SMTP id c21-20020a056512239500b00513edf46f20mr7214514lfv.54.1714394625729; Mon, 29 Apr 2024 05:43:45 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:45 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:40 +0300 Subject: [PATCH 03/12] arm64: dts: qcom: sm8450: move USB graph to the SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-3-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2551; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=T611xpa2u6i4khfTFU2OgFjuDM98KKpM9628a4zNbDM=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ5r+1L8Oixd7Xp/9fM8yX9HLyjfFy6TflWsoBbDMsTe4l 1ncPdWzk9GYhYGRi0FWTJHFp6Blasym5LAPO6bWwwxiZQKZwsDFKQATOXSWg2Em6xuHlhdT/jsH BzK4HXE5W7hXQf7R2krep955be7PWJ/7tei53ejJiZP+1TT9/q0ggaVHZj6+ca2Fd9G6oLMpgg6 zvBfeUrjEI5D5iqNCc0dlhTzn3XR+eybBXAcZLbnVd16l5LE8/ziz1a5i38Peb3Ic3ony13NvR3 KcnayosnLZNj/NSS3i9ZW6nIttpuzq+HOtuuP3FXYbuRV3jwVOYjYKT5jh56/T83ffzimuQVMVr ud5T7u9o77xs4HJ9+s3U1gtpplKK+YtUIjJdHohlcqwZ/cLX7bOGUUtzA1GEyNLJ4UIXfEQnXkw WeGV5IRTfOJ1UnYcrT0b6j9k1WS0175uj2aJNd52YuY7AA== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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 Reviewed-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- 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>; }; }; }; From patchwork Mon Apr 29 12:43:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646880 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 34E8B42055 for ; Mon, 29 Apr 2024 12:43:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394630; cv=none; b=fIAwPhAKDOJlPpHQQlBzceLSSn0TmBsRdGz6sT5vt+40b7HWBj58i2jFoFaWTuQEDdNa9K6A+aQP0Di2yzy5c81FLxpnaR8Ltlav5gO7sBNkbSQ/0BMNZGSKwmbOFwFVtQ3pRrjENMRSO0p6HgG5OqJ7KY0Vfx+SFZYtCrXAaJ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394630; c=relaxed/simple; bh=RGNZENRA+0alhCGOoQnLbz5uRpvQV6/VtrC4cdvI25M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Mws55kT7WDbvAnPyrtLVcZubzo1u36aEC1RI4Vdwa2DU4jB55Qwio3wf2beS+/lBUTBZQcNWpJtvTzXdjeVd/Kk+zC1myUJiZ6AtBF7XhtSUAkwtKFTY128Sp+JYw8I600uLPlz9H6YrauLlUta0l2h3/iOnWDFS4q9LtFJdiSI= 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=wrwCKKB+; arc=none smtp.client-ip=209.85.208.182 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wrwCKKB+" Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2d8a2cbe1baso58933161fa.0 for ; Mon, 29 Apr 2024 05:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394626; x=1714999426; 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=vRvNNTfWi6a7dwHJEWEhcluXY/eX8QPuZTSxnvWt3Os=; b=wrwCKKB+ud5q1H+H8/Y0A1AhWE4R65P41Ws/fAq8psctV5TxmWuAU0LPYwNn3/F8SA 622QyVt279Eg+44TC5HcfwXTGkIiiMXSRsG23j31M6GAsr3Sjv3na8dvYuusPj+q2aRf ZoGCHPujqy6OmM3a2Mp7boSszsgMBEKOVMgG84Z5fIljxLZHfmphZ8SjTkIua5f0tStm 1ZPdtfYLnhkp6hX4f1H5w/Q4h7D92FGhYfzI+s/sFa8YwLS1KAyEWnmOEZPLqOAcxJpG EVJRKWCY6XdvMW7PKkkP4qUW6WxyxgVkq+pYLdUX+Slbk4rNBFByEdqwyjpznJPxf+7B ywSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394626; x=1714999426; 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=vRvNNTfWi6a7dwHJEWEhcluXY/eX8QPuZTSxnvWt3Os=; b=w1neQN0E7dSoOl9gQWtcwcWoJZ6ziKEH80c5rkPimmOXHgJE2o+rL+T6wQSDYZhW/8 RqAcjceCgFpNjG/wSp6KxVwRdw3k33S7celHNmTauWJcPLVwg2nDH9xSSx2xlzdPlsI2 wLZSovJ6I3Ku/Nv6ko7YM4u/LP7SY67A3rz3Is+Cg9HRjmFlrnVoNQEKGjP3CDNszzjg 0HJPyRHOflYEmF59ZomsgvXtkIBGz0Pynn4R1iAzkl9tWx46jStKMz5hNWJDKQPfG2At U2BvuWHGcWz3PLe0N0Q53KYSl+oclIvwYZMG2nNSojlYWTZBknNZ0PXW39pqUH+SGISe Mo2Q== X-Gm-Message-State: AOJu0Yx/naR3yQzLyRdkFGMo9YCvCZIbXUEv4EcCWwx03uUKi2X0Y0xF 6h9LEZA1Wz0wl0cvT13w31WOS7cP8UAgsVaFk1TDNx9nghJABEmHjeXxmJvGvwM= X-Google-Smtp-Source: AGHT+IFtvqZQxZxOfV0zV8OzIEN0nYUSLW6OP6n7jHcrte32mYuaiiIx7wOX7CCiXfqoFWjR77RRMA== X-Received: by 2002:a05:6512:1081:b0:518:c69b:3a04 with SMTP id j1-20020a056512108100b00518c69b3a04mr10411503lfg.0.1714394626366; Mon, 29 Apr 2024 05:43:46 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:46 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:41 +0300 Subject: [PATCH 04/12] arm64: dts: qcom: sm8550: move USB graph to the SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-4-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5277; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=RGNZENRA+0alhCGOoQnLbz5uRpvQV6/VtrC4cdvI25M=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X9Ypp3cFmtJ7OmMsknUpsvfAkgnL6CLfDHy 81iHH9dKK6JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/QAKCRCLPIo+Aiko 1S5VB/9rO3CMRyN4wYvwNooFwP7MPs9MvDZdm+rczJkNhLBVMdiWe2jJTLHVV4QUs2l8Bx3Xg6I Tvc60MUxwseH2QBHv6DkkbWGvC+HXh6eg4ZcLpxZOScgV2YekCNWmalWzGVYHorJLuT4W1iNNU3 uNIujtLXp7NID1I27OtJjTwAhITKB/9OF1f9/mWm3QGGY2IMBsrEwuWQXkQFSGi6Fk6/tvEdN4a azxx+MA+5Hz913JkAVAcbufxpaMN1dzw4ATM3YDsKWMBghWczJRK4BQb1mr6rioNwfkOKxxnyvA /smC+bzgP2TlGQr7l6lBQzY8C2gYtEQU6QBs8Kt2ClIPas8O X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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 Reviewed-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8550-hdk.dts | 13 ------------- arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 13 ------------- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 13 ------------- arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8550.dtsi | 4 ++++ 5 files changed, 4 insertions(+), 47 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts index 12d60a0ee095..f786d9114936 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts @@ -940,7 +940,6 @@ &mdss_dp0 { }; &mdss_dp0_out { - remote-endpoint = <&usb_dp_qmpphy_dp_in>; data-lanes = <0 1>; }; @@ -1267,10 +1266,6 @@ &usb_1_dwc3_hs { remote-endpoint = <&pmic_glink_hs_in>; }; -&usb_1_dwc3_ss { - remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; -}; - &usb_1_hsphy { vdd-supply = <&vreg_l1e_0p88>; vdda12-supply = <&vreg_l3e_1p2>; @@ -1289,18 +1284,10 @@ &usb_dp_qmpphy { status = "okay"; }; -&usb_dp_qmpphy_dp_in { - remote-endpoint = <&mdss_dp0_out>; -}; - &usb_dp_qmpphy_out { remote-endpoint = <&pmic_glink_ss_in>; }; -&usb_dp_qmpphy_usb_ss_in { - remote-endpoint = <&usb_1_dwc3_ss>; -}; - &xo_board { clock-frequency = <76800000>; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts index 3d4ad5aac70f..56800ab903a1 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -736,7 +736,6 @@ &mdss_dp0 { &mdss_dp0_out { data-lanes = <0 1>; - remote-endpoint = <&usb_dp_qmpphy_dp_in>; }; &pcie_1_phy_aux_clk { @@ -960,10 +959,6 @@ &usb_1_dwc3_hs { remote-endpoint = <&pmic_glink_hs_in>; }; -&usb_1_dwc3_ss { - remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; -}; - &usb_1_hsphy { vdd-supply = <&vreg_l1e_0p88>; vdda12-supply = <&vreg_l3e_1p2>; @@ -982,18 +977,10 @@ &usb_dp_qmpphy { status = "okay"; }; -&usb_dp_qmpphy_dp_in { - remote-endpoint = <&mdss_dp0_out>; -}; - &usb_dp_qmpphy_out { remote-endpoint = <&pmic_glink_ss_in>; }; -&usb_dp_qmpphy_usb_ss_in { - remote-endpoint = <&usb_1_dwc3_ss>; -}; - &xo_board { clock-frequency = <76800000>; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index 92f015017418..d0b373da39d4 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -807,7 +807,6 @@ &mdss_dp0 { &mdss_dp0_out { data-lanes = <0 1>; - remote-endpoint = <&usb_dp_qmpphy_dp_in>; }; &pcie_1_phy_aux_clk { @@ -1144,10 +1143,6 @@ &usb_1_dwc3_hs { remote-endpoint = <&pmic_glink_hs_in>; }; -&usb_1_dwc3_ss { - remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; -}; - &usb_1_hsphy { vdd-supply = <&vreg_l1e_0p88>; vdda12-supply = <&vreg_l3e_1p2>; @@ -1166,18 +1161,10 @@ &usb_dp_qmpphy { status = "okay"; }; -&usb_dp_qmpphy_dp_in { - remote-endpoint = <&mdss_dp0_out>; -}; - &usb_dp_qmpphy_out { remote-endpoint = <&redriver_ss_in>; }; -&usb_dp_qmpphy_usb_ss_in { - remote-endpoint = <&usb_1_dwc3_ss>; -}; - &xo_board { clock-frequency = <76800000>; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts index 85e0d3d66e16..7a8d5c34e9e6 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts @@ -746,10 +746,6 @@ &usb_1_dwc3_hs { remote-endpoint = <&pmic_glink_hs_in>; }; -&usb_1_dwc3_ss { - remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; -}; - &usb_1_hsphy { vdd-supply = <&pm8550vs_2_l1>; vdda12-supply = <&pm8550vs_2_l3>; @@ -770,10 +766,6 @@ &usb_dp_qmpphy_out { remote-endpoint = <&pmic_glink_ss_in>; }; -&usb_dp_qmpphy_usb_ss_in { - remote-endpoint = <&usb_1_dwc3_ss>; -}; - &xo_board { clock-frequency = <76800000>; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index bc5aeb05ffc3..3ada5a30ecb7 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -2910,6 +2910,7 @@ mdss_dp0_in: endpoint { port@1 { reg = <1>; mdss_dp0_out: endpoint { + remote-endpoint = <&usb_dp_qmpphy_dp_in>; }; }; }; @@ -3186,6 +3187,7 @@ port@1 { reg = <1>; usb_dp_qmpphy_usb_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss>; }; }; @@ -3193,6 +3195,7 @@ port@2 { reg = <2>; usb_dp_qmpphy_dp_in: endpoint { + remote-endpoint = <&mdss_dp0_out>; }; }; }; @@ -3280,6 +3283,7 @@ port@1 { reg = <1>; usb_1_dwc3_ss: endpoint { + remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; }; }; }; From patchwork Mon Apr 29 12:43:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646881 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 99AEB6CDBE for ; Mon, 29 Apr 2024 12:43:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394632; cv=none; b=HadBBfZmnemzdHqK5Se8rDHM/3bEZ1MavdIa70racW3OWHTomQaoLpgBuba7aSoMF0fVULMD/VVZ3qPWsUZak/dEKmogvIw8bd8XniB7nxfyjghqGfD4RubBCgRPjCfv7OjSgECYmATCn7qr/FsFBCU3WB/BHDJSkhzQKBmcoic= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394632; c=relaxed/simple; bh=lfCa8/A3WdTMZE4WDsCfE9ziDKBNSnFF8CBfBae6aH8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pSgsPxgln5496+OYjX0dRc/HJwyaz5i0f7keJKTtJsTKsjY0rgg4F9/EFX/4sRsh3ItGyi9m9vhA1+5VJSaVNxQG9YbvK7tHDVqzV4NUvkXeatCQp4nm4YfBN9FSIwILd/OfvFaM8l/E+c9J/C8LWL/bhDbCkaWCWL+iB9WoOKk= 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=TndRtTyO; arc=none smtp.client-ip=209.85.167.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TndRtTyO" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-51ca95db667so3792899e87.0 for ; Mon, 29 Apr 2024 05:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394629; x=1714999429; 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=G1PNklnw7rpcXPRbhJLkI3I7rSwQMAW7Mmxi2Rcau0k=; b=TndRtTyOCsQ72k0hq9IKd5V3sKoLk5t1NLiyIiyOWdteqiOZsTMqElXIA3el9oPEVC 1s/6s3BxGIzebpktGRRFntTeKE1ntj2+Ud/UzP7NoZQ+35ja6cbcyvGMJxo08UMJfU6O eMlBz7X+pQW6pzwH1SIrSRduJDVC8+S7yy43ggB45NqtrSGRg8/fU1kftlfG9+mQoz+o Ke81aYz3nFNp5sTxe6p+npXZzADIC1yhobM71abPcpxAY2Tsj9CVZwskOejp4rzw6Es2 4bmaJp2SAVxFbGeU+wVu4wiAX7L3D5gPiMU0UGYlFD6h6WIc5WxqnrA70blHwjMoGGhn H1xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394629; x=1714999429; 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=G1PNklnw7rpcXPRbhJLkI3I7rSwQMAW7Mmxi2Rcau0k=; b=vwnoRIGuree8uCJHuZ1nyth6jxyVZ8UL0ok2v+37C1vY2P4m6OsEAvc9fIAI7DbjqL zBT5t2quHO2/VWj3c6/ipiZw77NJSdSs07DKq20yeM0eM7bFDsvSmanRaaIsiwJAm1wG 645NZJ9eijoQKshZFe0vU5ljpDV757i6Tg1rTx9Y39+A6hPtDS/1DKOKLg21Lju6eTxB vVECCZLOd5MjgywaXRHfr9LU6XBxsz7qFmFH69VuX8VUrgBhRjAVjmkko1Izr8A2TUiZ l6jTQ2+xGjqboG/rahjEaVW2ExHlVbm65HyO+eyDQHWd6QHaz5+ed71L6xZbINCfu87y 68tQ== X-Gm-Message-State: AOJu0YyTrLdgASyUpkWpuVMKHb1V00Tum/jVyzYl3fqVUbWhI6f8V1TZ RB6S2HBRaI7PM4+MoP70v3PRe5Y/K5i4Y6yiTrcQD3rBRXQ+Iho+xEEUYXRkj+w= X-Google-Smtp-Source: AGHT+IHvs8WWEj3p6TBwj4vs3xl32rzPrtcspSVEvP3UNooYhYk0FPySLN71TawbnGaXBKQEracfMw== X-Received: by 2002:a19:644f:0:b0:51b:223f:ac41 with SMTP id b15-20020a19644f000000b0051b223fac41mr8206330lfj.42.1714394626953; Mon, 29 Apr 2024 05:43:46 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:46 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:42 +0300 Subject: [PATCH 05/12] arm64: dts: qcom: sm8650: move USB graph to the SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-5-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2247; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=lfCa8/A3WdTMZE4WDsCfE9ziDKBNSnFF8CBfBae6aH8=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X+mEJBHfZwIG87jh7rS6vG7tnHJWSkPk8N+ FrBErOzJmqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/gAKCRCLPIo+Aiko 1ZxPB/0So9yTJ2Y7nrFAv5od+5wTkS1zY1sWmg4VsLRK9Wse2LqAxQlCeo7VI4hlImjmxdPZB+W m23GEi1qk2DvsbmfpCd/svK0soVKO9tpMPI6K8asXArZZmVelZsF1N6xkokHv2g+yBXkHNfM5eB siv56DbFaOPsSjoSa8qoGlUpZhoAntl6FtL16pOETetDzLMwdzTfHeXdG8E4YYTjXx4P6PFu53u QC9SGs6W9G+F3RXwwWiDL0H/w1gCpMEKoa/dQ4M0TXsvCVxLtxGqSsaY2QoYljZGB0lTh0WVApD NIpFrjTpUmHE1AXvTc3f2XllEINuEHbyA6aZ0l10PusCCruM X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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 Reviewed-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 13 ------------- arch/arm64/boot/dts/qcom/sm8650.dtsi | 4 ++++ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts index 4e94f7fe4d2d..65ee00db5622 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts @@ -832,7 +832,6 @@ &mdss_dp0 { &mdss_dp0_out { data-lanes = <0 1>; - remote-endpoint = <&usb_dp_qmpphy_dp_in>; }; &pcie_1_phy_aux_clk { @@ -1211,10 +1210,6 @@ &usb_1_dwc3_hs { remote-endpoint = <&pmic_glink_hs_in>; }; -&usb_1_dwc3_ss { - remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; -}; - &usb_1_hsphy { vdd-supply = <&vreg_l1i_0p88>; vdda12-supply = <&vreg_l3i_1p2>; @@ -1233,18 +1228,10 @@ &usb_dp_qmpphy { status = "okay"; }; -&usb_dp_qmpphy_dp_in { - remote-endpoint = <&mdss_dp0_out>; -}; - &usb_dp_qmpphy_out { remote-endpoint = <&redriver_ss_in>; }; -&usb_dp_qmpphy_usb_ss_in { - remote-endpoint = <&usb_1_dwc3_ss>; -}; - &xo_board { clock-frequency = <76800000>; }; diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index 8e0c1841f748..4624ea4906d9 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -3675,6 +3675,7 @@ port@1 { reg = <1>; mdss_dp0_out: endpoint { + remote-endpoint = <&usb_dp_qmpphy_dp_in>; }; }; }; @@ -3767,6 +3768,7 @@ port@1 { reg = <1>; usb_dp_qmpphy_usb_ss_in: endpoint { + remote-endpoint = <&usb_1_dwc3_ss>; }; }; @@ -3774,6 +3776,7 @@ port@2 { reg = <2>; usb_dp_qmpphy_dp_in: endpoint { + remote-endpoint = <&mdss_dp0_out>; }; }; }; @@ -3864,6 +3867,7 @@ port@1 { reg = <1>; usb_1_dwc3_ss: endpoint { + remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; }; }; }; From patchwork Mon Apr 29 12:43:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646882 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 4184C6F53D for ; Mon, 29 Apr 2024 12:43:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394633; cv=none; b=uH8sqJ1vDgWIGjM9ctpKKeIHBnYH3rJf1DMrGxr4TCDUXUo+z3AYIAyqZWPymBB6pkX2KTVFNLA1fg5P75QdInGBgmyhHgVaYkPFz2g+ZbVABIpaCWAO7EVhH6RO4tUkSNwdYTJVmMG0lF93Epd+Ar0we+EoHukJPyWpMcVGMog= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394633; c=relaxed/simple; bh=JuX4+O/28to1//jzlaPMAiwzNgrTEGt4DxiQd4QQp4o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iiO0GwbbuatqQVZxHsOeNDmiOqfdZ0vEkxYgkKISDsiheFIpfF2Flsk7OUVFaHc9YkhaECiZufBDRTorEgA3mnSdYE1GsoR22BFrFox1pfWMRx2X4pDlUEf1+hcB+Xxv3vBuEhs8dcWvfJ7nqqmOP5VURz71DZHPM7h4OkJf1JI= 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=ofh5GEyA; arc=none smtp.client-ip=209.85.167.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ofh5GEyA" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51acb95b892so5402318e87.2 for ; Mon, 29 Apr 2024 05:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394629; x=1714999429; 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=h4i0LlbK/jX/xdH73w22krjVoqVWeP/qUlOZlDt3qXM=; b=ofh5GEyAzjTZOqSVC7Qk0ZAAzeG0AF3dymhCZLeHI1jisDGM3rlS+sxOXWcMNQc0Jf 6lcwwjmDuxxYOv/D2I/kqFMcm4+vW2nR/7+n8irnhpYIEe5N42jlbQpZ1L9lgS4Y+LHp +1ICiq8WhA4bvS7QP6OwXj7b/pbu/Ia5ydqeqqQP48jKcX0TictAzgcVAf641Orq6dnk 7guUnV1O6oqmq5D79Wet1I9Zhfv1Kd7sRTSjRfhFf2FvnD/5FoJLkRQEDgnwZ2M8pJS6 8hgMFermn/5u2FsE/QlGLzNfFtLUMHJxkwk4t//rVH8mskd0mx2dg92eB6MBdd2Z++yD Iytw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394629; x=1714999429; 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=h4i0LlbK/jX/xdH73w22krjVoqVWeP/qUlOZlDt3qXM=; b=JIMSOHSE4KFGrocgCcqnI+D8G17/3NpCjBFg96JxCV3wYgPWw9H6F0tKYMtPhxhid7 DDkZDScjW0Yp4p/RO7EkZJxQFPvaVwDTVuh7i8r7JoM/QiRinhlyonM+a9PrDQe6m5vl Fad3jYJ37qeg1likbqQeBTDW7/jwWJPWOy6oYLece2i7JMINC62XRFCPdKh1B8xeM+nU WOyiltESCpAIXfsx49vxvl5CPXpaoJUicK5zXtePfJfyN3KN8ah1al0Pt1ba9bzRXHRv /T/eDWlKSspX8oHNXrrfyGeQw981O0KjyzoxCTLT2SxCDyZ+3IUWehze+YnOjSLMnY5S 7Xmw== X-Gm-Message-State: AOJu0Yzr0jSGM9tDEXwvErjvt9eAuLASV4u+ibN39/Iz2N4r/SfPmuxL swRX+gtQFDmkkd53gdtUPgJzxVo9+SJimcpuluO9P7sfhpt3/hdDqq8tTsf0b4U= X-Google-Smtp-Source: AGHT+IH5WtQyxbb05Mnwt/rQU3LEGvC582FkSgfkOqq4d93ZtqpkEb2v1lXLG3nQmA4/L0xAlZVF4g== X-Received: by 2002:ac2:5de7:0:b0:51a:d08d:bab4 with SMTP id z7-20020ac25de7000000b0051ad08dbab4mr7729777lfq.55.1714394629561; Mon, 29 Apr 2024 05:43:49 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:49 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:43 +0300 Subject: [PATCH 06/12] arm64: dts: qcom: sm8350: move PHY's orientation-switch to SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-6-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2128; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=JuX4+O/28to1//jzlaPMAiwzNgrTEGt4DxiQd4QQp4o=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X+9CV7Y8tW0xXm7a3CBq0jMy9ZnlxBl7CN0 2hv1StwfduJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/gAKCRCLPIo+Aiko 1Re/B/9ZAm4Ed37rYeTV+CGRXdaFHEFCtGVf3k3Nym29H/hSEmWD2shAtpX5Xi0SX9zPpEBBRX8 IP8Ii+R2rhQG1T5t7ZgOqJEni9/99fE1z2Atm2S7s6kLm1ZDYJTnLMnV925Vo6/uXD6KNouTFWz n8AfwBJKCyWKAU+Ba5idmkVbpGJjFC5yTmnwkNxieZJoCRkXuF/Uw6BVlOmgWpnbLSkVqcPzNgU 16GDDQ3NodnkNKc1ED3cUsXCyphjL5ubZZJgWiOWWRmO7JgfsWpS60rq03/JiXtRweBwqaX0Mb+ 4+YC8ko6G7zz7rtBWbDJa+suTOx9pJ/yzepk37/GK9AQ3vAz X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The orientation-switch of the USB+DP QMP PHY is not a property of the board, it is a design property of the QMP PHY itself. Move the property from board DTS to SoC DTSI. Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 1 - arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 ++ arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 2 -- arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 ++ 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index 44239d1e57e9..c52357214de5 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -1373,7 +1373,6 @@ &usb_1_qmpphy { vdda-phy-supply = <&vreg_l9a_1p2>; vdda-pll-supply = <&vreg_l18a_0p92>; - orientation-switch; }; &usb_1_qmpphy_out { diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index d6c8c6c2eced..5580843e27b6 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3936,6 +3936,8 @@ usb_1_qmpphy: phy@88e8000 { #clock-cells = <1>; #phy-cells = <1>; + orientation-switch; + ports { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts index 81e5577cccb7..895adce59e75 100644 --- a/arch/arm64/boot/dts/qcom/sm8350-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8350-hdk.dts @@ -870,8 +870,6 @@ &usb_1_qmpphy { vdda-phy-supply = <&vreg_l6b_1p2>; vdda-pll-supply = <&vreg_l1b_0p88>; - - orientation-switch; }; &usb_1_qmpphy_out { diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 24c42f285163..d67c19a59d5a 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2256,6 +2256,8 @@ usb_1_qmpphy: phy@88e8000 { #clock-cells = <1>; #phy-cells = <1>; + orientation-switch; + status = "disabled"; ports { From patchwork Mon Apr 29 12:43:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646883 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 F17FF7350E for ; Mon, 29 Apr 2024 12:43:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394633; cv=none; b=ECD0fPhnuLSHqHQ2wRR6tF0nO6Emgvt+wiIOQzyLoclhNT/d6mi5y1kQFxjLgxTuhfOGdyk5XvS0b0yzLHOkC45U1p3+Z2NtCS+qiovmcaYQO/vY6kT20j6BTk1O4q+O3TBcLGLdQpQoy2gzO/r1YeZPpHldC6k1juT/tnznKGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394633; c=relaxed/simple; bh=VaKZ66FGWwoQy5me5qchzFwSeHkkEPWbc66wOo3Oj3o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YcxWyNBJkvJcadrBUQlJb19gTfOaMMSWAymmGCgUPAnai+Ib42ibgfX/8O3mC9f8j7SzpEDU+I2Pk1LvIn6joAVEQFdbHKYHJxaT4JpZixTwqb8dVP3e3HCQzokZ24Cd3zgy6FTTMs5kd0ECv4fpdeobfurSSf4TfkQjt6rX7Z0= 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=Vam+CK/S; arc=none smtp.client-ip=209.85.167.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Vam+CK/S" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-516d2b9cd69so5207116e87.2 for ; Mon, 29 Apr 2024 05:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394630; x=1714999430; 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=zKB+Sic8syn3+o0jtrrv0P7ILrPMpb5h/T3oEmMkcuo=; b=Vam+CK/STgm21CC5Y5logqy4B0XEW/tKoRn7Tcr3E3SoPU06lkWd5rq0GC+Oqbkx8K bv1CW+lzNpHRB+C+9ZwnmyqBjvSnSY6CSpE0QfBFZ/5u7ejjJavFN42TmHlpKGqyPRqr 886rWE9uLLyr0jKa/iC0KPzHDl8lIDAFfgOfxoUjCmYbbv3b8dk1p1KCX5Q/w7I+Je8w W1o6wknWSx2cIgpSispNI/pX/IxeO+kw1SWnHv4uqLyNGgcnUAUeR4rr7rlhb4zJwc+F OXlOlE28cosWcRWUUZ6vGxq0OlLQqmfbEyi4KlUwhJBnLJkEbNZblASwKPZwjdflLWWe nd+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394630; x=1714999430; 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=zKB+Sic8syn3+o0jtrrv0P7ILrPMpb5h/T3oEmMkcuo=; b=eUFwLaeVbx4DWeHlaEL+yxGUkfgneRSxGudMtTgXKI3yowV8jZ+FCEFVr/sptERC6T bmxYBhIg8wt4JSiRtC25cfHmeKvtAASrI6aCDubD4/LJIxLDhFeF7o1Azw8vFXUrG0jt s88CMQ2rWXhvqyYY6jUKmPIevt3TOHPlr2ie4BHjJEzMOjxg0dxTD1Ka6zMafUxB7g2h CwmLxT1bltutPJrPsTVetKURaWOWhKOWFm4lA5NrFR0UCeT6ykhSs8/qKjVLZnrc2Ink 7qeszjEBLYoFjtcKDfJwsPAYidW6G3Tqs0UMhfhUyVXw0Jks+8w0dbEab1IqOROLBiOb ogMQ== X-Gm-Message-State: AOJu0YwOdHFtD4kfUIUDB1nML8T5kdGRhiunuM/VWYuTuf9LATZJZ5ML yKPisdkYSPfW9ifaoMg6wKCPR7FavV7bblMLVw9C0mZyuCAQKSCLUy+HWf9U3/8= X-Google-Smtp-Source: AGHT+IEqbYs5fTpD5xtsPvfVABBMdcLK3Bo/n9Z/EIQdUx7e1HHaKKZtQ4KBjmsztN5x0DBz5fC60w== X-Received: by 2002:a05:6512:3991:b0:51e:1bed:13a8 with SMTP id j17-20020a056512399100b0051e1bed13a8mr269088lfu.29.1714394630402; Mon, 29 Apr 2024 05:43:50 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:49 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:44 +0300 Subject: [PATCH 07/12] arm64: dts: qcom: sm8450: move PHY's orientation-switch to SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-7-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1206; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=VaKZ66FGWwoQy5me5qchzFwSeHkkEPWbc66wOo3Oj3o=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X+TKHOdrRtR+dO0bJrcvCX7TBwc/ICKi+CX HGu1rfpj9mJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/gAKCRCLPIo+Aiko 1bSMB/439o1/JP3m+BS+BjFJBvDpiipkcmNarD+dyeYzpRRHd8PgTSsx4pr5dASI9YTBPxy6bVw yIqDffO8uI9IApPE0DhcRgugSXSZgsbmotwbSaE+288EjyAOl+Yz/+lBuWumMczq4J4HzoPuXoh R9LzzQB9B/rMsC9Zh7Phwd90oJIy2TbV7oG8a77Cqda9uLPXvKCGOBMv2fjSuXF3yiG7vv1iQ1M U9Ull470QADuun0mP6UpWbUNouNRh9BdX/xkOIffsC42GgIFoRQ2FuzT8qqrrdd16NouIEOzjzC 9SH+cssa6lHnpi3v7mSZtrBpwbHig4J3zyd7xMATMxNq0sYB X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The orientation-switch of the USB+DP QMP PHY is not a property of the board, it is a design property of the QMP PHY itself. Move the property from board DTS to SoC DTSI. Signed-off-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 2 -- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts index 9926294e4f84..71dc06db7736 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -1120,8 +1120,6 @@ &usb_1_qmpphy { vdda-phy-supply = <&vreg_l6b_1p2>; vdda-pll-supply = <&vreg_l1b_0p91>; - - orientation-switch; }; &usb_1_qmpphy_out { diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index d138b90bb280..3494d5076368 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2304,6 +2304,8 @@ usb_1_qmpphy: phy@88e8000 { #clock-cells = <1>; #phy-cells = <1>; + orientation-switch; + status = "disabled"; ports { From patchwork Mon Apr 29 12:43:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646884 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 5150FC157 for ; Mon, 29 Apr 2024 12:43:54 +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=1714394635; cv=none; b=mi6PW9mjZgwBII/eowbQr5aTVEVfGIhTsMn1XwyY6uFsoo/xDLFnCXSfONsNM3OBFPTBZdF+sP0VP+e30+5hn8ZEJnqMC/UkGMOFmbDqZLPAkbwrJGQCtLn7YbkHRYZ4D42xx5rmMxeW5eGMyTJs1QZVCPN7FApJJU0J+mtG+XI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394635; c=relaxed/simple; bh=mB5dNHE33/I4OECIdcy5yU6UtG47DTMDpY7rm0u1Cm8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fRbtNSX8gIj6oByJM+ihepZSktmU6kb11nPlrupO5fHr6IbUBLcHyt8q3PNgsDgriQ2ZtzmWTMhzUabe7vGI8nmOchT7ErhdI6BuHVe6k3Sfofd2HwiJfszrhPXezg29AacbX6PDKo8JFjY1oqbX9QIoHaXfBh+e8A6EsjVYatI= 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=VfiSf5T9; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VfiSf5T9" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5176f217b7bso7491614e87.0 for ; Mon, 29 Apr 2024 05:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394632; x=1714999432; 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=VUwgFYdQLO2Q3w1p3+vSbtqETEr2mAj9TysZNWquXQI=; b=VfiSf5T9rkQLFB8iFgsNSQRd5kJpDUTJWAL9WgeHEdXdt+m0yz6nZgfG1W+rs0hCXK Xt/cAawBgRfJbnFvA9VSY0GoUnplpqZAjmUXO2zAElUl8om6bWrNvlQd/IB+u8gprsFc r+4j72iWRT6mRwcZSkeHP43NW/IJPrjuidpKMb/Cd5ILKtoymwQec/0+4tz7XVmOydEN ScvM/K9N6V+UMhyQ9trD+YSeI+BV5Cl4DNuVdfAV0Q7zMnpNXgqtErjz9pg5vZrBNrL+ 0fphw1BwlBSoHc/YGic0RXzxbuZoAjf/Wql+/Rp9+Xr8k6TvzuO0+6Al8mlfMOMHWDyb s2Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394632; x=1714999432; 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=VUwgFYdQLO2Q3w1p3+vSbtqETEr2mAj9TysZNWquXQI=; b=DEfokXygpcU+fYLRW+6kl2o90fKjD9uKxM8y9CDGiMCANwBa14KwjnhbygFxvMBqAO 3UDoEAujpcyar8jsb+pK0qa1aOlmd9aszKwzCDlUsvl+5ubWkSCkRkb9Orj1GO/tirY0 YkgsJ3AIu1hk3OWUYN1eq2QLlyQjMSaDuCYvf1WCDFHJ7MzOWDdYf1oHdtdjshX3fZ8t HXjHWQNW9d+YZLzerzSi9doHe2mz4QIl8D7g3BSfFeUXdVpNMZrSAUwUVCo5t/vVTvZP NlO5li8wAOAnZY+B3hrVEQlxbGDeBMJgIhMuO+6hcE3Zo+EaTphzyWuI/Ob93VXilG02 fX0g== X-Gm-Message-State: AOJu0YwS4H2ic0Nv0AmZVa7/oAEDgG/YnksFm52AjDXZRu5SA7XmrALz gGcx7ZaELwM4w1CgnLCPEVDbjVAgd0z1PgPUgbj/Ma/PkYr2btKqelchc6ib7tA= X-Google-Smtp-Source: AGHT+IFfoZ81l6o5Ix6rjxxP66bHvmS5cReAVsX5CqlAivfxhsmYlrOu/E9gkANeWU4aJMDBfnhTZw== X-Received: by 2002:a05:6512:329c:b0:51c:778f:b569 with SMTP id p28-20020a056512329c00b0051c778fb569mr8460407lfe.29.1714394632655; Mon, 29 Apr 2024 05:43:52 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:51 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:45 +0300 Subject: [PATCH 08/12] arm64: dts: qcom: sm8550: move PHY's orientation-switch to SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-8-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2753; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=mB5dNHE33/I4OECIdcy5yU6UtG47DTMDpY7rm0u1Cm8=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X+nPdLahY2uQ5qROmWpmc3j/yqcMyopWIHl DGYKKIINOqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/gAKCRCLPIo+Aiko 1Zz+B/4tZFDbbOPkCCgOLpuPHfogNtJYpeHcw518Mn+XuWU/wRt6X8o9D31yW7GuGTyeV2t9c6O Za3i387gBeGLNPfFV47XYGD8iNW4PJAJ+qw2dw9qYdY716cdLxH2VTbaYeuVcTn3h4+NJWKCgcQ VBO3DaaEC7jTPStT63EZcTl66wifl0AuPECa4FyE0vDdkYbed5fj2uFZC2wc7fREy1JucdcP8DS 1S8mt3IAaULJG+n1FoswX1KH6W+AeNuohje1QPry2+uHxzzLNBgvKZg9LWfvyY5SEWiJnEy1nFa DsVf4miJyLkF3SsCXIsV7t9iu1RzvSA7Kz+3r5iVSq1CVw6i X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The orientation-switch of the USB+DP QMP PHY is not a property of the board, it is a design property of the QMP PHY itself. Move the property from board DTS to SoC DTSI. Signed-off-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8550-hdk.dts | 2 -- arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 2 -- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 2 -- arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts | 1 - arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 ++ 5 files changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts index f786d9114936..98934e4a81b2 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts @@ -1279,8 +1279,6 @@ &usb_dp_qmpphy { vdda-phy-supply = <&vreg_l3e_1p2>; vdda-pll-supply = <&vreg_l3f_0p88>; - orientation-switch; - status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts index 56800ab903a1..d3fd00176233 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -972,8 +972,6 @@ &usb_dp_qmpphy { vdda-phy-supply = <&vreg_l3e_1p2>; vdda-pll-supply = <&vreg_l3f_0p91>; - orientation-switch; - status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index d0b373da39d4..1d487c42a39b 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -1156,8 +1156,6 @@ &usb_dp_qmpphy { vdda-phy-supply = <&vreg_l3e_1p2>; vdda-pll-supply = <&vreg_l3f_0p88>; - orientation-switch; - status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts index 7a8d5c34e9e6..92a88fb05609 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts @@ -757,7 +757,6 @@ &usb_1_hsphy { &usb_dp_qmpphy { vdda-phy-supply = <&pm8550vs_2_l3>; vdda-pll-supply = <&pm8550ve_l3>; - orientation-switch; status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 3ada5a30ecb7..9980504f66db 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -3170,6 +3170,8 @@ usb_dp_qmpphy: phy@88e8000 { #clock-cells = <1>; #phy-cells = <1>; + orientation-switch; + status = "disabled"; ports { From patchwork Mon Apr 29 12:43:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646885 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 51C5A77F3E for ; Mon, 29 Apr 2024 12:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394637; cv=none; b=eI501o4VGCByFyWw74FcPO5yzolZiQbXJlxyM88eevnWEXcvw1MMKQXINnAzYoKMI3QJ/YjzSQKFNJRYfKT3aioQ9qwHcxLCC8DP/updDSunAGk9IsDQw+CdLyHFsoUyPlFSy6Ux6jOEUJRfRIBdLRhTGsqn/WCX3az9aXTd3pM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394637; c=relaxed/simple; bh=jpLPvcnaiJtFOhYzxmrluAjCdASp4Pcd3OYik5xfALw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ea9s+THMShZixJA+zkmQPM0C3nBR0MBCHOQ9Frn8Gd9ViDYrdEGV4KMRG+eBAagDT1k7t/4HcM9bH82yS75yOiWm9qQ8mLXCpr4ANdk3vlbnZEQWY6k5+6WPjghl70+zmTVvD2ov47kbf7APE6P+GFWsAMUWqbbFLj85iRte+lI= 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=Zqfb4nt8; arc=none smtp.client-ip=209.85.167.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Zqfb4nt8" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-51bae805c56so5097370e87.0 for ; Mon, 29 Apr 2024 05:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394633; x=1714999433; 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=C1zN9ChEBlTW8KqQxahC7RH01jDIvsFbyzebamCLZHM=; b=Zqfb4nt8ynTXaX81yFo13LmnM2qQH8u1fOe2BbxTlotmmjEzn10Fe7tiVGs23RLlXk Eu/gp74JtUF/id3MfcyHvtGtYQ6L48Oe4o0s8WoouuCLSwZmuwW23NiyHKbapc3sWzXs /l/5ZxRiXUZqtxb0I9DewCCrbn9tYMpsYM4RxdRXgpxIzQ67FxtEWwkKLiY24dYelxEX 4X1H/SlCMEkoOnvfyp7qhRbt6nYKjoeRB6NugVt6IbzG2F27iBu8owwnzAaVkdQ31PZC 7EpFR8IJK8lq6cIoJIsFIU2HoxvaFgi7IW+g3N8AzpgtvwhA0NRmUfR8u2uO5bo5XDP9 BZaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394633; x=1714999433; 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=C1zN9ChEBlTW8KqQxahC7RH01jDIvsFbyzebamCLZHM=; b=SizlNzhF60hcX5iB7IIdzJQTcBiK7AmWhhAV83IQExxXgBvt3LA5k3Jh/jS5mllOT5 TbG2T1g8gXXTpu+rx7C7ylHaPGa9AAp0i4VtIMOwUYtwl3loIhkr6wossiNHVdswKny4 ZLIIQ17VimvF/Pu0Iy0DEpOn4XoUf4qNJ9RjbKU7LDfKi7i0pePB++nwOEWP0TS8OxUB NzKTnmy0og3+3dkpzrDrpFbAA3WOgfG6lFkHGrk1p80pPNHZIaWqlFT/aWjOffcfL/DO 07yFcpDGkhkhajvLVhSiwpgeA6PlOr15tU4gGRwgy/j+w+IqCk4zWcBbiZjWq34Fs2oF ABCA== X-Gm-Message-State: AOJu0YwZ9GDM0WYJYV60+xT7vZ9jesBmo7ZZz78cf0zgomxl8//b+rjB qc5lWDZhsny74fHo+Isgo57bJneIHwEgW90n9ORnCxkvxjzk/vGw1zhF7FMkfnU= X-Google-Smtp-Source: AGHT+IHkn4xOO9GIqpCtMbB/YgjfQ3SotcznHDG5EAQQkWNG1yGoHZKAmkjFUNBLjKSZCJDu+exMSw== X-Received: by 2002:ac2:4c2f:0:b0:519:63c1:6f2b with SMTP id u15-20020ac24c2f000000b0051963c16f2bmr5103721lfq.54.1714394633432; Mon, 29 Apr 2024 05:43:53 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:53 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:46 +0300 Subject: [PATCH 09/12] arm64: dts: qcom: sm8650: move PHY's orientation-switch to SoC dtsi Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-9-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1206; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=jpLPvcnaiJtFOhYzxmrluAjCdASp4Pcd3OYik5xfALw=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X+XjsxS7nH9BzKfJjz86HMhAVFMVC8uDlk7 SM58fyKemaJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/gAKCRCLPIo+Aiko 1SB+B/wOd9d6CjI9nlVyvH1rzAUnClf5fNFH3j/tXgQP2oXgm7c65FaVp+1TDGs7EveUAQytasg I11HxoRKfQekCDe+m5Ygp2VRz3f74Mnqmcgy33DryMrxMDbOIhUAxmfKpBReLHb3cFHcA/tz/Bi hMGN2RSfi377VFlMNJfqwDVZuSrcAJQ7H7myouJovGJvT/o1xLD0l1i6gxZL3UkEp0AvSwr0s7b yKw6h3gZr2LZMb5ArNsCZyugGvaSjRLPA/BfTrRhBW9S5KzV1PCUW9J2IjfDlRE7+7jkadTez5H ePQtg2OMq1hUZIEZ/qstmEaqjtBxGjBvZNfuIGiELdFpiUd9 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The orientation-switch of the USB+DP QMP PHY is not a property of the board, it is a design property of the QMP PHY itself. Move the property from board DTS to SoC DTSI. Signed-off-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 2 -- arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts index 65ee00db5622..f93de21a26ad 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts @@ -1223,8 +1223,6 @@ &usb_dp_qmpphy { vdda-phy-supply = <&vreg_l3i_1p2>; vdda-pll-supply = <&vreg_l3g_0p91>; - orientation-switch; - status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index 4624ea4906d9..9dd66c28c588 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -3751,6 +3751,8 @@ usb_dp_qmpphy: phy@88e8000 { #clock-cells = <1>; #phy-cells = <1>; + orientation-switch; + status = "disabled"; ports { From patchwork Mon Apr 29 12:43:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646886 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 C63727A15C for ; Mon, 29 Apr 2024 12:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394637; cv=none; b=RgCWHB0Ok4ivBRHFfaELJ3xCxbu3wBVR7DhqtFowBDU3Jb6JGJqAMVI3ziY8ZwQUqboRTPoxQVtwgTZ/VdEN6ayFgZMjdefbFw6WDfEGc/xbc8aexnBfhVQZ04lAJJ+G7JcKqXXZi+0Pigu2D4oZ30ARbivMl9oXR368I4Qav5U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394637; c=relaxed/simple; bh=il5vunYSrfVqpfM431mg6nLZaZ2x9lAoqs3lcglIC74=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TWFJmzKjkQD/iDU1LF3wTpB4jFwgBh1Yyi8n1/oyxmUXyEYcCN376a+X5V2oAIwl8aPR9M0XoD8+eXP0U3ijMCJn/Z8z5UXFb+aIwydAwwEng+TkdFC3EgK/F3sxIR7ISsJTTiPZbvw8SHhD9G2ikvktKC/+dzB24seL5nq3bM4= 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=bt1rJ1A3; arc=none smtp.client-ip=209.85.167.47 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bt1rJ1A3" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-51ac5923ef6so3939168e87.0 for ; Mon, 29 Apr 2024 05:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394634; x=1714999434; 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=YmNDHnUFEW30Sp7PavPEqyUvJ/mANSFLXHcjWoqAqXg=; b=bt1rJ1A3SL4liGPlc3cOtgdg8COLMWRZpYhrqWzueU5IVmQF7SKhURRJ8r6b5QCRQN G1I1PHraxKdVp6FXv8EIPPTTb3UxrgtJnpQYdj3ZlwGG9URh8QvuKNjstnAs6bQQC62+ cwZde35y/fHHQcs/059hdmAGF1eCNReQ28jRMuXz97NcVDaxVXSxuk0MJ71Cplj7kaja OhWkGisPERcU+TMxYKiW8QGl9dEqyLh4JefwVQR1+i+fQHF1tcF458uhetW1rh9SEz0W vl6VHajTwRCnQ7+OEpwpWLW4ByI3nDd8DwYKTR2raUMrKE+EB8Ace0Rt9sX48hPw8EMe l6Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394634; x=1714999434; 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=YmNDHnUFEW30Sp7PavPEqyUvJ/mANSFLXHcjWoqAqXg=; b=sTb9Bq3FhWUtBTD/AtsHxO4Al6aSCJLK69tvE4wKoymA1rcX56a7/tKGeu1PRY0/tk 0d4n3YgkRG/h6JwEsOFaIDBVgnLp+mg6RCrojc8FX9oktkC0wkMkpn8UCBrjZZqpI/BB 3Hfi2IPG5hcHdS3RPc7jd8jmEOFjYCvfrkO63HesQpzPgtaHerm5cEMJ1w0OGnR863bD xM4bi0m2FUOS05s9wXer5NqV6OXFSWucZ3kGpcaQ7vhaa7nOKOBOSOi2TeTctFkjXOLM gCINAMbmtxopnhLnGT1osEjMTbaNI3IVsAgLWEgS9ejjDFn8LLw/Rstv0zbCNTZ3tD9G og9Q== X-Gm-Message-State: AOJu0YwtFyub/rDF4XXtGf2dtagichhGtiy9uHQl6AF5NPAVTRHP581Z t6Vgph++tqY+4iI/nClCVe1nZH5h2SvYZRR3ujqiPXh31GG7fbrqcwnjIMr0CIs= X-Google-Smtp-Source: AGHT+IE5ZGSUe9qERTPZ7RrhWZtLmbHwAvKUuqU3gkuJWDsJnsPoZZMhc7agdDnbWvXel8SUxp+xIw== X-Received: by 2002:ac2:42ce:0:b0:518:f4e9:201c with SMTP id n14-20020ac242ce000000b00518f4e9201cmr1918457lfl.16.1714394634046; Mon, 29 Apr 2024 05:43:54 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:53 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:47 +0300 Subject: [PATCH 10/12] arm64: dts: qcom: sm8650-mtp: connect USB-C SS port to QMP PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-10-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1246; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=il5vunYSrfVqpfM431mg6nLZaZ2x9lAoqs3lcglIC74=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X+CLTXxFzwPPjv5JStujURmepqH7FoamzNM pYCKW6nSRSJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/gAKCRCLPIo+Aiko 1fF0B/433m89T8i1llMfmuSOBt5xduI1UZEvjDYdAyPGkt5UqSdlJ7cXpXLRjRShuKevJ0Ccg62 EJVs8agEDWskn2AvDEZ8mJKNps3zGF4S5aaELzs2zAT+s6vCGHasKNsFvqWgs6vW5UgL1BHkTr7 tV2HCjdxD754JA6C9HfkGTwj+S8Yk33mGdR/ewGLS31SIN61P5L+xwz/eZQLamRwO35Gd9cWrvQ UFEWhxFqGODJbkqnTl8cq4I026Rd6pPfnmgaZ3+kNydKNweMUbXp2UoNSFB5Jam1fnooPmvT9IU 8QUbVRISGXEHrz3Yf+INTi9op17y/CMkS+NjwZNWqpgg94tx X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The lanes from the USB-C SS port are connected to the combo USB+DP QMP PHY rather than the SS port of the USB controller. Move the connection endpoint to the QMP PHY out port. Signed-off-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8650-mtp.dts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts index d04ceaa73c2b..819f6eadba07 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts @@ -59,7 +59,7 @@ port@1 { reg = <1>; pmic_glink_ss_in: endpoint { - remote-endpoint = <&usb_1_dwc3_ss>; + remote-endpoint = <&usb_dp_qmpphy_out>; }; }; }; @@ -853,10 +853,6 @@ &usb_1_dwc3_hs { remote-endpoint = <&pmic_glink_hs_in>; }; -&usb_1_dwc3_ss { - remote-endpoint = <&pmic_glink_ss_in>; -}; - &usb_1_hsphy { vdd-supply = <&vreg_l1i_0p88>; vdda12-supply = <&vreg_l3i_1p2>; @@ -873,6 +869,10 @@ &usb_dp_qmpphy { status = "okay"; }; +&usb_dp_qmpphy_out { + remote-endpoint = <&pmic_glink_ss_in>; +}; + &xo_board { clock-frequency = <76800000>; }; From patchwork Mon Apr 29 12:43:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646887 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 5AE9E7C080 for ; Mon, 29 Apr 2024 12:43:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394638; cv=none; b=N2ZxaWk8uUeCZ52dq4UGIwfJwXZMJktWKTHfFj9jNhD0PabZfvWzp2Mk1l9SCmmIFjErErdeijag+8MomrklDLbHdWCbR2j5XPuHuKCPMPpTJNnieWIrqGKO/9KILNhxXNxY2/BXZ2RlwtpdBSpbjxMWYlNHJyBfGjvruOG13L8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394638; c=relaxed/simple; bh=LK7Ctcd6RzL54uaHPMejPy+1++45b+tqteiPOT8tKcA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bMFCbILjII7ON+jCnm+zxvlhcW6Lulto/0FvvYpMfalluvMbUILCnKP6qbFRd2m3oYrCf6ONvJL/6eqIWI0U46HuIxdHSFhlHTnI1QXEUEjUAFPsD0McHWvkkxaKHeFqLTbs+vHHvwNrw15h42tNqtE9mkW6wE4DsJr0NMhS+wU= 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=McpW5kVn; arc=none smtp.client-ip=209.85.167.49 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="McpW5kVn" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-516ef30b16eso4873431e87.3 for ; Mon, 29 Apr 2024 05:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394635; x=1714999435; 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=uOY5SzSul9sZ0JXY/XiYAvnKe9RLzyPFltZQ3GztXPY=; b=McpW5kVncmdYDIx6IvgKjqfNDustvGfXIcrwMhw6WhHgqfrK+pKJwGoPdfaSw8ulro 0iSlImklfnv8Vrm3OLQx+DR6YujOvognHDQSQ6HqbNWsup9bMFaDSAt50lQC8aJDK4ON vb5UejQ5Mrd1JasLfeZH3nXxPRZ5OSL7yXnrH+1gQ9WtLyA4pN6/xy3A/gQ+g9iiUCsE wVqP94D6UdoZb0yhauvuaq58hDPAFqZIeuz76bw/aq+mqQv5m1T4O3d7qgPO4tzy0BKJ 8tU05n/6RtdiBBKNjFlx4jaETwcLXKhyyq3OkCX1NfgMnSsKYBdrBpsIBW8cr1FZbcW2 p/Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394635; x=1714999435; 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=uOY5SzSul9sZ0JXY/XiYAvnKe9RLzyPFltZQ3GztXPY=; b=lB6BpwAUQXCqzBZP0M0oSjqA1huoT+VXMSwV+afLBxYkLxN0Jo2hm/EjjQcsR1Twwc EHPqQNriENnAwF0YNATnbxTDizDulXqU2k+mZcjvs0mGnN9/C5ZV3n6sNwhfgsPo6iFR a8/juGUPk/kfr+JXhmOLRX7vi7FWFxLYcP6NGH1RemXhPmJCdSZs3sXkvNEi1e/y/IEB KkhsakNDLhR155EoEw7bpTHB1t2QNXiaUPfYx8pX3+kelujA9UnOJgGxAqBVndbMo2OP /KZTZRW+KqzFiP+AzHGyjv4PhoLxDFNw0qLBvHzOUgByDWNvHTCK/6X3GVB4R3Rg4ek7 8szA== X-Gm-Message-State: AOJu0YwPznpXu8/nXGb9Sfla530SLTSGgg9Q6y5dFHwSTI3ijdHrux60 DfaJzNocBrYmoeXG3V6x/F5JF+2wjupjIYrf5FSdPzKOm87nfJDGzafe7KtqKkY= X-Google-Smtp-Source: AGHT+IFn5hC41vLvelPj6vdVIj3fwTZnutyqPvHDxZ6jl+l/tu+KdBq97m2w3o/AnQHCuTfI9ZWGbQ== X-Received: by 2002:a05:6512:3d08:b0:51a:c207:12b with SMTP id d8-20020a0565123d0800b0051ac207012bmr7534206lfv.37.1714394634706; Mon, 29 Apr 2024 05:43:54 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:54 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:48 +0300 Subject: [PATCH 11/12] arm64: dts: qcom: delete wrong usb-role-switch properties Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-11-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5376; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=LK7Ctcd6RzL54uaHPMejPy+1++45b+tqteiPOT8tKcA=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X/aU9hXN91FuteM+0Xv3KuVW+d8/LeIihAu KlvO0WjYweJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/wAKCRCLPIo+Aiko 1ZX/B/9IaKN/gnDntewUSImAIvBRvjeUbGJnpP/AY7Ml0PY9cj58xf7cSi69vMFZtOn2mut3Esv DFeWGh9QTr/dJ4EZjeJ8ueM8UTbptDfWpxBR4oi4dHmja+3rzbGcssAacuVvSQ4R1Q4Lq/PowlC PpzBAJpw3oBUj7Mnz7n2kgnxkZIqhAh2mHdTyg1MSSb0h2b8sGcZ9Qe03uVIum0LzYahMaR9LXE 4+u96nee4beK/QEtYnHFWsYlx2gXG30uFbD0SCOhS++KZ++9nGhl/l/cvqQcnivWJvl33bnxAdU KvqJIDZQoEQ19DppyNFMp0LX8jvwAuSFLsUAuKuUnXarYknS X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The usb-role-switch property doesn't make sense for the USB hosts which are fixed to either host or peripheral USB data mode. Delete usb-role-switch property being present in SoC dtsi. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8953-motorola-potter.dts | 1 + arch/arm64/boot/dts/qcom/msm8953-xiaomi-daisy.dts | 1 + arch/arm64/boot/dts/qcom/msm8953-xiaomi-mido.dts | 1 + arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts | 1 + arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts | 1 + arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 1 + arch/arm64/boot/dts/qcom/sdm450-motorola-ali.dts | 1 + arch/arm64/boot/dts/qcom/sdm632-motorola-ocean.dts | 1 + arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts | 1 + arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 1 + arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 1 + 11 files changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8953-motorola-potter.dts b/arch/arm64/boot/dts/qcom/msm8953-motorola-potter.dts index 711d84dad9d7..2edf804eb7c9 100644 --- a/arch/arm64/boot/dts/qcom/msm8953-motorola-potter.dts +++ b/arch/arm64/boot/dts/qcom/msm8953-motorola-potter.dts @@ -301,5 +301,6 @@ &usb3 { }; &usb3_dwc3 { + /delete-property/ usb-role-switch; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-daisy.dts b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-daisy.dts index a5957e79b818..336b916729e4 100644 --- a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-daisy.dts +++ b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-daisy.dts @@ -321,5 +321,6 @@ &usb3 { }; &usb3_dwc3 { + /delete-property/ usb-role-switch; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-mido.dts b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-mido.dts index 6b9245cd8b0c..bdf1bfc79c56 100644 --- a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-mido.dts +++ b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-mido.dts @@ -326,5 +326,6 @@ &usb3 { }; &usb3_dwc3 { + /delete-property/ usb-role-switch; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts index 9ac4f507e321..fccb9c4360ca 100644 --- a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts +++ b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts @@ -322,5 +322,6 @@ &usb3 { }; &usb3_dwc3 { + /delete-property/ usb-role-switch; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts index b0588f30f8f1..d46325e79917 100644 --- a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts +++ b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts @@ -357,5 +357,6 @@ &usb3 { }; &usb3_dwc3 { + /delete-property/ usb-role-switch; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index 47ca2d000341..27de7cf31c83 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -667,6 +667,7 @@ &usb_1 { }; &usb_1_dwc3 { + /delete-property/ usb-role-switch; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/sdm450-motorola-ali.dts b/arch/arm64/boot/dts/qcom/sdm450-motorola-ali.dts index e27f3c5d5bba..a288d52fb6d7 100644 --- a/arch/arm64/boot/dts/qcom/sdm450-motorola-ali.dts +++ b/arch/arm64/boot/dts/qcom/sdm450-motorola-ali.dts @@ -248,5 +248,6 @@ &usb3 { }; &usb3_dwc3 { + /delete-property/ usb-role-switch; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/sdm632-motorola-ocean.dts b/arch/arm64/boot/dts/qcom/sdm632-motorola-ocean.dts index c82d6e628d2c..2f55db0c8ce3 100644 --- a/arch/arm64/boot/dts/qcom/sdm632-motorola-ocean.dts +++ b/arch/arm64/boot/dts/qcom/sdm632-motorola-ocean.dts @@ -287,5 +287,6 @@ &usb3 { }; &usb3_dwc3 { + /delete-property/ usb-role-switch; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts index 2c7a12983dae..9153a5a55ed9 100644 --- a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts +++ b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts @@ -240,6 +240,7 @@ &usb { }; &usb_dwc3 { + /delete-property/ usb-role-switch; maximum-speed = "high-speed"; dr_mode = "peripheral"; diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts index 98eb072fa912..4a30024aa48f 100644 --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts @@ -234,6 +234,7 @@ &usb { }; &usb_dwc3 { + /delete-property/ usb-role-switch; maximum-speed = "high-speed"; dr_mode = "peripheral"; }; diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index 54da053a8042..9d78bb3f7190 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -359,6 +359,7 @@ &usb { }; &usb_dwc3 { + /delete-property/ usb-role-switch; maximum-speed = "high-speed"; dr_mode = "peripheral"; From patchwork Mon Apr 29 12:43:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13646888 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 F32327172B for ; Mon, 29 Apr 2024 12:43:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394639; cv=none; b=L5YrfnBD/Se/GnxEdEocL1MIPwefhnDvuhjZ48eKGLat0LFdSrLQax1+Hv4yZN+rU0DlHpZkTFTCQqymmSyOYsRSKe4lYBIj9kSmx3HHsxuZm/hBg85yL7fjkFOiRCDOTrjF+CavgPlDmQI8CgAWuMsr1AGNCAi9DdktEf2yYa4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394639; c=relaxed/simple; bh=Zxc4rW527dKenl2Mbly1X5nJqEt90f+a5Ld5zvIb4vQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gXbxmAhVb51MOXBTx1+jgOHs+HI1FJhM4JOcxBZgmJSgXU11OcI455GQkH7JPG59MxKHF6rK+RPW48cjzD4Pog4UO6uLq4xPKDYnIN2HuODDjO7m/qbcDhJwZRgi2+iKUs65pWG19ulrkgxeK3JmcVAJxHncDX5kqC8rVu/g58A= 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=zQYvs2zy; arc=none smtp.client-ip=209.85.167.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zQYvs2zy" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-516d1ecaf25so6110999e87.2 for ; Mon, 29 Apr 2024 05:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714394635; x=1714999435; 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=5TzjAuvmddZvd7O/0VqMVZaXXIfiLHk7iuZZZQxk6yA=; b=zQYvs2zyA3B+kbtsnhhVQGAWD44aahJZT6fgeCpFdHvI8/T+Y010ZJ2Zx0fiuHzGIs boYwoq/SqXM0D14/SQIa8fFeaD9RcoYN9YrDPtPF3rVBA25/Xy0S1R4sbi0d5arHtwsY UAlCDwPJNlrD4Xb67lYKOyNkDZduiMbrFHUH8fOLu5MtfcIV3BTSL28sVClFsXP/a9N+ WyDB72e96uatQ2vHwrbLaMkQaGU7sB7PlU77G+SaO20P5EkzudpRt9Fp0s+OHPHWj77w SuHN617eBTiVAApWcOG9RFpnuP4g9VnFrROcxVZdIEKl3A+CET98AeEXcWliTJUzsKbC W9mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714394635; x=1714999435; 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=5TzjAuvmddZvd7O/0VqMVZaXXIfiLHk7iuZZZQxk6yA=; b=DmECp7/kCCKnkvCvcwThm4u+LBu7YpGVAb47EgN/c/YQ3VBOKrnKqwchyqK1ws1V2C 7f+ZixSJ8U178qk1xD94bi3mNBr/BKsbUU46+C3UI0PaX3AEg76hfGPuGHJOtpKJsekg DswPqAblzywZDNeVBSSCRJaFxJDQranvZ4W9NWdrT202rT5bV0Z0znMyu3f0ROVEhuEl 1r/GfhHtcMKZn5hkRwmjd4kVl+uJXz3OQc7mURANibzusVCdXIMn+y3VpCkydx3epx8/ QUBo8c1Iqm7gsavYn3+YKrO43DQ7NOsbflf15i5882hcAW2WlcejRwHmKDR3EVjsA1ZV X2og== X-Gm-Message-State: AOJu0Yxc+acesFq6XdDah6B7db9NeC4Z4TFTbOT/AxBOSBj7A0DGf0BP cVCu6Q54ol3pfv8LEXdPALznVNeuexe/gGnxS+j6AjWXDz2NOEXTzpIkcJ5EOgA= X-Google-Smtp-Source: AGHT+IEdwyAHzs7xcJsghCo85/iFqaDFNwV/J1HNdGF0EYu0HLBfB7jEWrAYqM1SO7H56ilSMrbahQ== X-Received: by 2002:ac2:4a73:0:b0:51a:b110:3214 with SMTP id q19-20020ac24a73000000b0051ab1103214mr5878301lfp.49.1714394635355; Mon, 29 Apr 2024 05:43:55 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id h18-20020a0565123c9200b0051d94297380sm467538lfv.241.2024.04.29.05.43.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 05:43:55 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 29 Apr 2024 15:43:49 +0300 Subject: [PATCH 12/12] arm64: dts: qcom: x1e80100: drop wrong usb-role-switch properties Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240429-usb-link-dtsi-v1-12-87c341b55cdf@linaro.org> References: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> In-Reply-To: <20240429-usb-link-dtsi-v1-0-87c341b55cdf@linaro.org> To: 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, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1579; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Zxc4rW527dKenl2Mbly1X5nJqEt90f+a5Ld5zvIb4vQ=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmL5X/bFJjVn7sjPOdNCH4QfmpkSI7MAalgUZXy Dj8oTEarPeJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZi+V/wAKCRCLPIo+Aiko 1a1TB/460MYnFM7+pfnU7+QJNXl5W8MgWVr1UKqJfZ6K7i53BEbxXKIgK6nIQGgXenGGL2EJeX5 NajzCOFelfBGrx5oyCoQv2wWcUvQ2shkL+X4rmqeuSUF7xcfDf9MlwdPXRYDtionJ9l84c1Pxln VcVc/42FGzuiyZwstrqpzmvejBsV21tzPKwkSBIdpUWzE3mO/4vF+6oYeXKJXw/VrvtTyLd3Tpa dtlAj0aity5xHbQupBdq1fUkO/glridh/B3Mg//bqyIyQpC6KabJotFDXP6uaDuTLXD6doefVcv rHALFg2oWaRNAJI8eByrF7xpykia9nXFG1zwnZxKwuRtEoNw X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The usb-role-switch property doesn't make sense for the USB hosts which are fixed to the host USB data mode. Delete usb-role-switch property from these hosts. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 3 --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 3 --- 2 files changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts index c5c2895b37c7..7e4a13969d25 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -849,7 +849,6 @@ &usb_1_ss0 { &usb_1_ss0_dwc3 { dr_mode = "host"; - usb-role-switch; }; &usb_1_ss1_hsphy { @@ -871,7 +870,6 @@ &usb_1_ss1 { &usb_1_ss1_dwc3 { dr_mode = "host"; - usb-role-switch; }; &usb_1_ss2_hsphy { @@ -893,5 +891,4 @@ &usb_1_ss2 { &usb_1_ss2_dwc3 { dr_mode = "host"; - usb-role-switch; }; diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index 2061fbe7b75a..1aebfa5f958d 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -545,7 +545,6 @@ &usb_1_ss0 { &usb_1_ss0_dwc3 { dr_mode = "host"; - usb-role-switch; }; &usb_1_ss1_hsphy { @@ -567,7 +566,6 @@ &usb_1_ss1 { &usb_1_ss1_dwc3 { dr_mode = "host"; - usb-role-switch; }; &usb_1_ss2_hsphy { @@ -589,5 +587,4 @@ &usb_1_ss2 { &usb_1_ss2_dwc3 { dr_mode = "host"; - usb-role-switch; };