Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1347391lqa; Mon, 29 Apr 2024 06:15:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzA/gRkR4Soz29+ivicb5ZFysyseti4WEqOfIJBSM+xy2PVm1mPCPToaYsR9MfrOGNhe/toNARGQ7GRAjmswXFYZWRm/IiI54lE4uFUg== X-Google-Smtp-Source: AGHT+IGc08dVDXI3H6i3nMO7OYsJnpLmfsRKv8VGcsUmezxomPPNg4kY7TWJZ0qCAuBpoZdYw3OZ X-Received: by 2002:a17:90a:7c0a:b0:2a2:2dc9:7437 with SMTP id v10-20020a17090a7c0a00b002a22dc97437mr8577048pjf.43.1714396549105; Mon, 29 Apr 2024 06:15:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714396549; cv=pass; d=google.com; s=arc-20160816; b=X5doCiazb/PAiI/qFedQSdSpEEP0yQ7BCt4aptnBi9QYTAGmjHfQiHEqIUKd3/r5Ie 9mbbgxGq74o3YQc02DwAXxzWDWWjr6bVlIVQ5Znw5LjP0RsLhzsTY+L9pCi88Viw7nb4 dIuRbAtwlh2T9RLYy0iPYnsE/hd4lw9EdjFXWl3xUTfMc5j+58JDDxf8c1YpTnNrXpl4 7aGElnl+GGx9gDte5PSXcuHhFOr9hflPseZMectkWHqu3BmF8brPIt42uTIJzYVlmb3k QGNYqEDgptVmGqJbEzl1ruwRgpt0ogqQZlqur7gvTnqOgtSwPPYxPrutiqC68HKIRoDV PSbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=h4i0LlbK/jX/xdH73w22krjVoqVWeP/qUlOZlDt3qXM=; fh=VU8u3zWnzmnVgkzlTX5RnPCIrqh0yVdQbRRfSykNjbI=; b=XvePWlU9MNnhLT6GRtomWCa6d6S7LDAGcMjin5H1BT90U3FqQsBJCtJbZKyeInWuY9 GJu+z/qa10onMCohRuuLtjmEWP7EsiGPO53uR685JVkIsNFapQ+8bjlbDhVzjdfrmo4C 8P6Cv9fLCdwkC+BJ+SCh2zKcSIzU/f+wmrh5nOF9K25AT0l7w2pe4BkTzLP3NPCJqE0N D0yjgLJpP4Mf52DOyOWZYs/WKamPlLIr45gsWYPv/gFlgaXTjLZQ0EWTM/6KH4rgYeWz pXcOuN2oRoUCIn0ZnY/NcdXzHKzC0ChqN1N6QW0n1V76oqlBNj/9FYQDKtdn/MFM2oNu 0EkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ofh5GEyA; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-162270-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162270-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bv189-20020a632ec6000000b005dc864bb6e6si19637099pgb.634.2024.04.29.06.15.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 06:15:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162270-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ofh5GEyA; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-162270-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162270-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B5907B29876 for ; Mon, 29 Apr 2024 12:45:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12D907350E; Mon, 29 Apr 2024 12:43:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ofh5GEyA" Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 6D0EF7172B for ; Mon, 29 Apr 2024 12:43:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714394633; cv=none; b=eMAqY+i8KQjENl9FnNyr3+jKL4SC+5VBmiam7WI5SLGLZ+B5DC3bkAgoGiZtHIJVctAGi5tkodkuHyAUHC3Efr3TX/Ht2kELbcB3noZsJIGEuNfiV4aD6UKg9vr0DX+7GGaYfQe/LTv6GO02O/N5agKsEx/ESeTgugBWZRZ6fjw= 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.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-51e1b9fba81so158767e87.3 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=IX69gfCO07d3/3lS2x9OStC6+82PfX4vQbUG19McTb5YNaF0aePXzRbaITQ3oYOFZk ALkUo/fjbXRezdWW9HrvDbKNpBmAszqiLhw14fbTmaGlnLWTDW2/63K5pTjEchjX+L1V esUWuPmTV+RmZWM6IxZWzutG0JcppO1TLSK1+SCHCsRcJbjod3M985gcNBS7m1xV5dM+ cjL+Jdjb0UUDlHyujXoI5I7KY7YuV7CBuzzeBN+VUlAh3Ke/P1vy5Guqr1E7yz9byTei T/BZFqhjpquCX3yABjgKuSLdUYJkHDoOiH011aTzA0w4zK4lKFPUgM9eeNSedJ26Jwfy DeYA== X-Forwarded-Encrypted: i=1; AJvYcCXeIqLqabvWMlFQ4i+0gpr6UfM4gwNwk43+Ov0ejAX4IlAMt7eKZoMecm8slwvILxdLDEBVYf0Y8VKdh8uBXPv/BIdC97RPNZhNprRh X-Gm-Message-State: AOJu0YxF5oR4DOUCSxZg8CspRrVP/6imm1HIpvax+onZTHPHakX8mUpg Cav85HFQUQ2Mthhz/vQZKETUKpTe7qroRIdDWlPoSyMspvkkDrS8dolInBeDM49hK8Tvm/nHKfV H 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <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 --- 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 { -- 2.39.2