From patchwork Thu Feb 29 13:07:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13577092 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08185C54E4A for ; Thu, 29 Feb 2024 13:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=p6lC9r4P5Vkb2g+WAoLU2jOwmQrODcRftAQGvcnHyVw=; b=05JFE0OmpYimvH yL18D+wg0YSCpc2JZIWzVQNwVCWWaQtiLZh5rvbHh7yFRWMxF7lVGxgrXVAxJepTw46FXcgRL1JEr cywMqP6na4nocp0ifJiguWqIXMKLMIL4BPqy9DlIHUm67LA2wrBT4ev7GbqHoKRDRBOCQvMNd/+VX 8kzl7IBnYMSG6QfcCWEuIPnHsq1Z4zXv+SwJYXERw6ot0fOPSintfZ3eQtf4y1LqlPTuybkWgP/KJ jjEwyIoOHsQDIAO3Jro1ZrfQCYPc3ZE+XgSbbWAfZmQ2tRSqMQXrdudw08Z/tdEWZQrGSjakNervO 6Z68Gv5PbqQqXEchJ5bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfg8D-0000000DbLj-1iIJ; Thu, 29 Feb 2024 13:07:25 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfg86-0000000DbIf-2POh for linux-phy@lists.infradead.org; Thu, 29 Feb 2024 13:07:20 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-412c24280ffso1376845e9.3 for ; Thu, 29 Feb 2024 05:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709212037; x=1709816837; darn=lists.infradead.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=fywjC4h+f6+K3smJr1nJvUkccespMrFvMNirPgXOt7Q=; b=VOe4yp4EaQcHNRIphxFV7I5SevIcAnuxYWtDTpja+sc7wT2xfYuUT6VH0hcQ/DC7tF KvWWknhn8tRvr3LAI1N5Nt7PctOMIrmnOdWRmnOuVFDSOO1CjVLxCBZGXKzxoT5fw4Ml B7SWI48/4UG8JKA1KzG3nc2DSVgAHHuv18Ekqw1eVpt9m8XaoguUgJW/Ho5R9Gxwzztq 0xawkTD1FdxH7VBPMlVcNMF20JUxFO8a73ZRJWEkmA+itGY92DpqhEO6YcOv7b1+uDMh mT7mdzZ3en9vRsYhPOFHCjjSIgHfVr/seuieLevXRGeGmUceb7Xr1h27G4FvDvnpIssf 9uSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709212037; x=1709816837; 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=fywjC4h+f6+K3smJr1nJvUkccespMrFvMNirPgXOt7Q=; b=nu4nmkD4HQ4gtqhai+RIYU2CKcs48TDN5mzFUDq7/1BuSRgvxNtVr2wimw0MktRAM7 QoJpy1wB/aarqxwOTxHqumaiEpPjKCGIqQN63Y1NxlIVlXvxGF2n6dZcjhDRuRl34Td6 Yqw+RzrlmplY7XY3n6Jt4vtlFzvBA1s1YsKbx0rl09RYuFtkpnfSU336c6n7O1mmqXHV XdzohQe/tNTAym04o+01BPQdPTARCvqp5+LraFvfFr7qigBbqJOAWGu24LAehxxcYZ4A dfRcEPtsnJ3WjIh3pD3igdjjuGRAvdpSVN1TX8S3LWavB7qso2JSd8IGS86ZW6NTnX1s 1BGg== X-Forwarded-Encrypted: i=1; AJvYcCVKOmpJlLwJFOxTG5vZCOCNfDqfMumOdRObChXq5X6aowLmsfMyS/MLUr8v741CKUYd0H3AAaiaDW0fO9UOdnlH/RxysmmVvSfINsO73Q== X-Gm-Message-State: AOJu0YweXJ2I1mET9WrnQ3hSSf8gNIkBIMbiqPAKKSJ6LEWGiGWxDCA1 w0dKleDsm9IZWrple/lxHS+AnH4Et1WSfW2a0fST2OhRuZsK1cwp4WDlc7EA6UfbGWCOvnRXeVs VSSU= X-Google-Smtp-Source: AGHT+IF5SHeIBv4y7JFQoUnfwEl/nga/kneK6KmwsmHQJMRK9styGPFjelcmVyl29oT75A+1YByctw== X-Received: by 2002:a05:600c:4fc6:b0:412:c1e0:e95c with SMTP id o6-20020a05600c4fc600b00412c1e0e95cmr550358wmq.12.1709212037288; Thu, 29 Feb 2024 05:07:17 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id t7-20020a05600c198700b00412a38e732csm2071473wmq.35.2024.02.29.05.07.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 05:07:16 -0800 (PST) From: Neil Armstrong Date: Thu, 29 Feb 2024 14:07:07 +0100 Subject: [PATCH RFT 7/7] arm64: dts: qcom-mode-switch: allow 4 lanes for DisplayPort and enable QMP PHY mode-switch MIME-Version: 1.0 Message-Id: <20240229-topic-sm8x50-upstream-phy-combo-typec-mux-v1-7-07e24a231840@linaro.org> References: <20240229-topic-sm8x50-upstream-phy-combo-typec-mux-v1-0-07e24a231840@linaro.org> In-Reply-To: <20240229-topic-sm8x50-upstream-phy-combo-typec-mux-v1-0-07e24a231840@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley 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.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1314; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=MsxEEfnne02nqOkZki/+nigAQ0nhYoGqJj7vVZuWZn0=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBl4IF9MdD4p3qfj/k9iDx4mHLqSVCaj4RDbCJRWBM7 p5FfNVGJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZeCBfQAKCRB33NvayMhJ0QkJD/ sElXkF1lTcwKxlvSHshNzoZANrB1IsApIQKCsylEXa3rV848swZ0XipoTQ+DlYBLwtQZlFbQuMLW+V lQBLxxZ1hRmjE8c8vBzqVPtWwsBDdkzli/VeDPA4/iV4qsZ8L0ZGXyv7QE/Rj4sCAORdCo0m63M+io rJ8MXfFUVeWcHhYizPLjjJ/4x6M4Hl3oe2hbCRjUS4h1rbz+rIA/4/sQ0fzzw4R0Fut3rIczCKetkL nWSwyzsAw9PLfa2Gr58/Y84zGs4/MoLq7hGxndGx6VK9VO56tHz68/O7QANPe91Bmm3dZ+9fN8T8P3 YSFhK/ZaxXpvzPP8tNcvCzuhu6JiN/bal6NlNWqen6edtPsRFKgQP2Y56dsoExRw3vTi8OQWFjO81b jb6aSVR1rI/PTIDKVRPvG6oy12Ili+6haJwq/ZhKUQYd2JL4d5GFGxE5NcLXs7NEnpZq1coyblzbM1 NbD8qCEzRPIyK/2mAa0UEiDmhURs56Yx9vNe9DWRL/Jxeyt6Hx5c5trKuzHNBmFJZxy5hZsiTCB6+m 7kCy2PPviHgmk+mhTgTZrZPuvTrtonz96w0o3ZKL4vaMgIi8mfz2YSK4Oj6tsbZ5eO7URXeiPj0hte XDz+8cgf6uMz9YxJ2A9fxXwG41jlapzlRtdeabuWBo4mIWY2P0yk2b5GIXbA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240229_050718_855948_A77E77D4 X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Allow up to 4 lanes for the DisplayPort link from the PHYs to the Controllers and allow mode-switch events to the QMP Combo PHYs. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index a0fdef55a40a..6c73e0fc001f 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -556,7 +556,7 @@ &mdss0_dp0 { }; &mdss0_dp0_out { - data-lanes = <0 1>; + data-lanes = <0 1 2 3>; remote-endpoint = <&usb_0_qmpphy_dp_in>; }; @@ -565,7 +565,7 @@ &mdss0_dp1 { }; &mdss0_dp1_out { - data-lanes = <0 1>; + data-lanes = <0 1 2 3>; remote-endpoint = <&usb_1_qmpphy_dp_in>; }; @@ -1112,6 +1112,7 @@ &usb_0_qmpphy { vdda-phy-supply = <&vreg_l9d>; vdda-pll-supply = <&vreg_l4d>; + mode-switch; orientation-switch; status = "okay"; @@ -1149,6 +1150,7 @@ &usb_1_qmpphy { vdda-phy-supply = <&vreg_l4b>; vdda-pll-supply = <&vreg_l3b>; + mode-switch; orientation-switch; status = "okay";