Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1921327lqb; Mon, 27 May 2024 01:45:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQhYVu8EEyvqBoVczTn/9VMJf0hXgMlnSSK5F9i883naWhEijIch9Nfs/tFySv/phR0jNFyLEgbsMav+BWYVmfXgZXJE5wSiHFLFqI1Q== X-Google-Smtp-Source: AGHT+IESqqQ8cXa6s4l8SokSRt6eEu0WjW+OK01WOaTFz7Vg4fYnBixmHJpaPgeBkoSWN0H7E0ey X-Received: by 2002:a05:6a20:5603:b0:1af:d2f8:382a with SMTP id adf61e73a8af0-1b212d4a2b7mr8910851637.34.1716799511669; Mon, 27 May 2024 01:45:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716799511; cv=pass; d=google.com; s=arc-20160816; b=A2go64QfSJ4ll+kPFATCe/t9Q8m8QP2rHhugEEOhvjnNDJ+/zbJtbnI4zD/ckmDg3N 4EctWwBWJQf5wj9SMBjEuKN9tWuXBx3+UPWucp1/iV+3ubITWXBLBVdd0ThArSnLLAA6 9wi0NL86RAjv+f9HlwrsGX07R3V3g7yjHPK6j6uzqvHqZZkVo45LvDiJ0d8f/JC6DseN gkLN4X49DrOtXyiWI6xo2OaVSn+KUyHHgLEigAQhkLBAxDGc6N+5fB4lbctqLYdcL8ll tQ0Rgx/V9Cym40z80iC0qgJwSo576n0CNuxzLngCmB/PlDudWmBn8F46sbSpNjtblt6a 5bRw== 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=VaEF4gO72oykFIStkZdCU9USqrBYmrQ/jBFI2aUzk2E=; fh=6HTmQqlvySEUrRBGMQ5nfNd0LLJ2fhfQX1IFLC5Nb9g=; b=i6WNuB+JPdYrBXgJdti0Zcj83eV1L0TyTXE3UNZ4aPX7CIdy0+gaIpxRQobWBdGmvs Oh+k6y39tUDXHHk6dOn3xGsouYmVpmjiuAJ5yu0K1OspWb72hUkOLOpQpyHWugy/mqNi TkxZXcElwrXAAHQp5D8Xc01ZUlg3h2T//NQMK0iM5Dk0c1IP8WRNy4BML9IYTcf4yshu wpePa+W1a7dD58GIOGMLQH7uVPbHx1w9auMKcFJB0HZ3FIFO71to0IO3ROp1ZfzX9iBl lGzFicS6KGqnYn8PlmZhHV9EnO0+GeuRntoV9h4MIouyDtVI0Hv+GOH/y+KbgNsczV4A zwVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PRQvNue8; 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-190246-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190246-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fcfdd1bfsi5834914b3a.148.2024.05.27.01.45.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:45:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190246-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PRQvNue8; 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-190246-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190246-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 495DE282461 for ; Mon, 27 May 2024 08:45:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A61F13B79B; Mon, 27 May 2024 08:42:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PRQvNue8" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.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 9E87413B597 for ; Mon, 27 May 2024 08:42:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716799372; cv=none; b=QqXnU8GDZi762z3U6YhQLB8CXp6nFKw75P33WKnEky+zLwMxVtVDcendZ6MT0YRYhr7uKTUj2yWgjLaVwH/TRbvFl7KQnlM8y2htziYvkxvUN1wCT2HXKnl9LodB6r9lDFpO50XfJEi4D68i8V1SD8hsMzp3s5pzF8CVDEHvFHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716799372; c=relaxed/simple; bh=bUymvKgHwGJMNeWdO4E2xoRI1NZeMZTfq1gbdx2kTBk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jA1ScCnhBrrQ3TdCownXWbDk+npDkpXmqDvHMjcVfF3L2UIXgfpAK1m9j/36GJKmb/mGaWVbhO9VEDGazUGml+j1XGhlXmNdaewCyf11mcMbDBpNy2D33ZRYfu5Oif/d5ats7M3noTyTL6iiJOB7qEn0BbWMyrtznnpooIMsn6g= 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=PRQvNue8; arc=none smtp.client-ip=209.85.221.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-wr1-f46.google.com with SMTP id ffacd0b85a97d-354b7d76c52so4541666f8f.3 for ; Mon, 27 May 2024 01:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716799369; x=1717404169; 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=VaEF4gO72oykFIStkZdCU9USqrBYmrQ/jBFI2aUzk2E=; b=PRQvNue8ssMepn14rkyG4/OVbE4cQPbTqnXUWkTQCK3q9IZJHRlfs9S1+MNXwobkNX RZuDEAlhZKCaaG8HIkvCIbGpIyTvolaD+mHCyOwaef9MzUE7NWvjuCTUecunvIrSiLc3 MxNuFD4EhYEbIikoPZhUoRw8KmFpRW0whwpGMAaKXgDD0yJtA8I9IYqA2BteAKYMxFhI 27YjPcMrOFrEIGBjuJs6rXctJjZDy4zR92ALygf0jL3wBn8o74aQEioDXT2DRoJDHmg6 yGiIhT8utkrsoB3k9bfYnoFYonMZJS9Kik2lqsCNZLDKMfFb0LNEwGITuWpecFnIzGAs WCLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716799369; x=1717404169; 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=VaEF4gO72oykFIStkZdCU9USqrBYmrQ/jBFI2aUzk2E=; b=EAaPozZF4fSYF3+Rw9K/XzuBjxDkbDEMNCJ6vbXQgwm8Nt/Hdd/qn+FGgJcNwKHXnK 7jGi4kXVpyzwh4mV8969wNpr2e1CiYFhJQAe1WUztt03eGimrsbRTOMG4f9Wm+jEz5Or 8GNOAIA1ScfDmpZEeAZrgNcG0ozwurXufMvMxlmJDVR3G/hOcoPRRMkv+G7dvAThCMZP RSbkaZlgiEMYrKpnBJNy5oYosn9CL2Tw0J9TrMsQxpLoIGVFyQK5qc2I3lNMx6hHXLNM e98lg+/7OdARokIbu8/Xe6ZPxihLOC+GMxS9fPmf09T0D6XaO69lq3NA96K9FRmmQGqz B5NA== X-Forwarded-Encrypted: i=1; AJvYcCVIWUnG0+3j4F/BpaKKl13XJLjyF1lwn+X0jbrmLwxvhKoSxuKZkJkBqk5rl7Ohu+uBcJvtCk+1ok9DI26phhJ+d2NY12xeEzqZvfdz X-Gm-Message-State: AOJu0YxBm6OfBtve+VCa1lCUJGRS0HuxLToW0zNkV1STrqYco/seLUHl OWtw+NQAIpRbf3b88m2C0cFNn+bbF3atrcDH1bsQNw5CMpWz0r/lZYWC8a8meM8= X-Received: by 2002:adf:b1d3:0:b0:354:e746:7515 with SMTP id ffacd0b85a97d-35526c560f5mr5700618f8f.34.1716799369100; Mon, 27 May 2024 01:42:49 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3558889fb57sm8447292f8f.114.2024.05.27.01.42.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:42:48 -0700 (PDT) From: Neil Armstrong Date: Mon, 27 May 2024 10:42:37 +0200 Subject: [PATCH v2 5/7] arm64: dts: qcom-sm8550: allow 4 lanes for DisplayPort and enable QMP PHY mode-switch 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: <20240527-topic-sm8x50-upstream-phy-combo-typec-mux-v2-5-a03e68d7b8fc@linaro.org> References: <20240527-topic-sm8x50-upstream-phy-combo-typec-mux-v2-0-a03e68d7b8fc@linaro.org> In-Reply-To: <20240527-topic-sm8x50-upstream-phy-combo-typec-mux-v2-0-a03e68d7b8fc@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1519; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=bUymvKgHwGJMNeWdO4E2xoRI1NZeMZTfq1gbdx2kTBk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBmVEd/+QFKuSFUK9Ik+eL30bDuvC5I0nJH7qROWMla eO0Zq6CJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZlRHfwAKCRB33NvayMhJ0Q2DEA DNvwrXulOdcNRZRXI8w7ZpiXjlBiyTvyLLHoh4wv+9NlSrnQkFT6jfza8qR6v2QtHV9qs+cJSiVl47 1lqQ+8yIimZEbAnykiQdlFF39DtdZQQyBibDSpvxFqNLUFz3UXdGj8PFh0cq3RPypNegcL2taIxJ1a 9lZNNxFhWEuTbJu68k7DkcxiBaRb7LCZFgfNwnF8YsJBXQXB3A/CxpCdDxa3Iavpqm3n5ZYLtEENjT U96loPeH/OrecX2XVaqSWnvpBOJPB4N+SbwKYy8ZOZhqZ4wuVGmjL3ZCHIcAhwroTgIWdX31ZOIYSk hiZilxmaH7rOl0j2l7UemGBALP4yOnDgFey8g9a99pgXbpXJPEy+IcthMsmgaVScBDRWtZp3QEf5CG 4LrE3DF1FsKl4kZMdaVV7lOEvFrYPZ/wgK3hdJU5iqbbbaaLqDEIQvdwzTCWcLjiKw5DLmeK5Rv7rV r9le0N1HO+F6snQPXI0+VfneAh7gxCvciV2x801DAGFzw2zfX7pMkgDUfj/uMBiqDniCkfFbL3ap/U mOcdK+LJJn+lsepGqd7tGUZyOtdTF8TRDQnlTdzYmOaseH4S8ep2AmvKCB6dV/sLg00tUMX/47TlrU NVQiPQfoOZ3cSVgn8RKyi2sQdh5x9JCchZHscZvlqiQsTrCHBYB4Ycoxt8tA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Allow up to 4 lanes for the DisplayPort link from the PHY to the Controller and allow mode-switch events to the QMP Combo PHY. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8550-hdk.dts | 3 ++- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts index ccff744dcd14..a95949c01f25 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts @@ -941,7 +941,7 @@ &mdss_dp0 { &mdss_dp0_out { remote-endpoint = <&usb_dp_qmpphy_dp_in>; - data-lanes = <0 1>; + data-lanes = <0 1 2 3>; }; &pcie0 { @@ -1280,6 +1280,7 @@ &usb_dp_qmpphy { vdda-phy-supply = <&vreg_l3e_1p2>; vdda-pll-supply = <&vreg_l3f_0p88>; + mode-switch; 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 39ba3e9969b7..fbac5270b4d7 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -795,7 +795,7 @@ &mdss_dp0 { }; &mdss_dp0_out { - data-lanes = <0 1>; + data-lanes = <0 1 2 3>; remote-endpoint = <&usb_dp_qmpphy_dp_in>; }; @@ -1142,6 +1142,7 @@ &usb_dp_qmpphy { vdda-phy-supply = <&vreg_l3e_1p2>; vdda-pll-supply = <&vreg_l3f_0p88>; + mode-switch; orientation-switch; status = "okay"; -- 2.34.1