Message ID | 20240221-rb3gen2-dp-connector-v1-2-dc0964ef7d96@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-75648-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1356751dyc; Wed, 21 Feb 2024 15:30:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUv5SdlaQqC1DgsaqhJtcCN0lEpL2KHFyayuOTkDQH1TJpZYrcjVcTw0xbZfANg90OWCuByRVPavZ2H9kTNW63QG0LEyg== X-Google-Smtp-Source: AGHT+IEZEIW1LKtu/q3sUD47DsKZ9/gOgQZBMVpkl1Cm8rjMmNhGoCMrM+o0Gp90PjaJv4LY+j+f X-Received: by 2002:a05:6870:238d:b0:21e:c884:2aa7 with SMTP id e13-20020a056870238d00b0021ec8842aa7mr10799540oap.24.1708558247420; Wed, 21 Feb 2024 15:30:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708558247; cv=pass; d=google.com; s=arc-20160816; b=nZF5hM13n2GCQbSKH4K9McMceXnhquOERQvKsiFe+VK1u775kHSKRQ4WldQWHHkp9s AJ0SrW1mzZNiNm8Ydj+4VYLv/lHmZsR8sUcVZmIpNBmi4gpK45PAvUhBUGY/c0l/ksgd QGlVNpL4iSKtoKr/4DtG+VYY6GT708kINUcB3D8OpgZDe06TlZYAZ8H10v7SY03Ucqsf 96a+GxVN6MGFfmdD/G9irFwMlBlmCOnIZOSfSDVpadAe9hCoNDeee9fJLGcfyE5TzIbh Ybv7hf19BpOSYWuCl/yrlqjXKVGz6tQFk0ynIaFO+SeuW77zYIghcoLaUYV4dm0KD7Cz A+2g== 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=qAXUNrbphgVX1nX2HaaiJEh0N9ojsbXCmsSio4EY+Tk=; fh=Ph3D4iPhMs0qfrBSt7uGZnxnp3Fv4RZ3r2ELq4z6NQk=; b=iFMzHu5NsnB9V4vejT3jnNeSvx+ZFL1d4n2igED83Fp/o/iODzga+1tn4G2pgSFHLV hvvFiAzUk5VJ1QNAlKyGFIQxIbRWmRrl+2/lnA4verTQ5AVsDBoduaY8hlRnvHrJE/ZB rQNowZxJrMBmVhdbJDAIbEaLyBW14aqFKSTtA52nh23x6C60Irn5qTblmfuhX0izd7Cd +HZXO0m1GKGG7ynuiNawhEcehstn6B6Ucy3je7ClfxfTO3Z4g12vKVjOs2zp6lkVHllR 2ZNcpQCwq1iThUx3jem2lFlagA73wn+za4HLNlh7iNaV59G5Z7BCwFf/Vzz8Tk7Vpl50 /TAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="MdSJs/NU"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-75648-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75648-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k23-20020a6568d7000000b005dc4fdcf9b2si9067859pgt.9.2024.02.21.15.30.47 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 15:30:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75648-ouuuleilei=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=@quicinc.com header.s=qcppdkim1 header.b="MdSJs/NU"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-75648-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75648-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 2D4CD28759C for <ouuuleilei@gmail.com>; Wed, 21 Feb 2024 23:22:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45D871420B8; Wed, 21 Feb 2024 23:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="MdSJs/NU" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6AB43128386; Wed, 21 Feb 2024 23:19:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708557570; cv=none; b=lRBGLAdKDhcJ0LYLrcA/+5Se/78LD2XHB1te4RgZ312uy0WizxZ8z+6UD8eNp5FT4PW91Yf3Q5eFxwWa3ny6ViZIT38BRihKO6SeqCFLfYHOoA6cJC37UEg73s8SgrQnIKu+hjbWT5XuHATOjh7b84pGOYzpZv/lqsUJQjueEkg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708557570; c=relaxed/simple; bh=VL34t8qklVew/hOjrCZqCUsAirrBBOvh5uaAOY6ZK6I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=dtZimWat6x8wP003Y2NOYh1a2dw02BPKKv7LxK8qvdac7vNuAIXBYXXvAfPZM5SEb1WBv/3m7Jbj9YSMraWnQAA/JjrCVzZvJoZ9TYMTetYzxdH7CYPxNW1KDS2lQRJxvDHkAA665inln1pgQLMfdx0x0f3+LF3XTQCGpAddsc4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=MdSJs/NU; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41LN2mNL026263; Wed, 21 Feb 2024 23:19:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=qAXUNrbphgVX1nX2HaaiJEh0N9ojsbXCmsSio4EY+Tk =; b=MdSJs/NUUA+1/CbDXtWmLr9Mdl8LQBNTc49Yv79SMtP6og5AkQ4kd8Z+iw3 5sfgLjsNZ00bIWIISgETYaaAcCmF7ArDJsrYIb3xsqRsw0Ity5zunqBskItEMado /rkGfr7retcsUL0mGWgciQtLSd99Qm+7L1d1OhlojJjRKdToiQ2/BvmbwQ7TDiQi VZMdcAA6KEHtHyCKzA/0tycbMq9ac6/QgPeZG/HJr2PHAAIVbsiSi//ubkcMs3e6 qM6T48RIbT89Fd2H4PfoKKPIevq0MzpQqrpiqCEls3N0OQjXxDBZr7Zi5YJOzVcQ 4hkXmUycuC9YyT9B0AJnPNQAdxQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wdfm79p72-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Feb 2024 23:19:15 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41LNJEKQ028446 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Feb 2024 23:19:14 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 21 Feb 2024 15:19:14 -0800 From: Bjorn Andersson <quic_bjorande@quicinc.com> Date: Wed, 21 Feb 2024 15:19:10 -0800 Subject: [PATCH 2/9] arm64: dts: qcom: sc7280: Make eDP/DP controller default DP Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240221-rb3gen2-dp-connector-v1-2-dc0964ef7d96@quicinc.com> References: <20240221-rb3gen2-dp-connector-v1-0-dc0964ef7d96@quicinc.com> In-Reply-To: <20240221-rb3gen2-dp-connector-v1-0-dc0964ef7d96@quicinc.com> To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, Marijn Suijten <marijn.suijten@somainline.org>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, <cros-qcom-dts-watchers@chromium.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> CC: <linux-arm-msm@vger.kernel.org>, <dri-devel@lists.freedesktop.org>, <freedreno@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, Bjorn Andersson <quic_bjorande@quicinc.com> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708557553; l=1486; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=VL34t8qklVew/hOjrCZqCUsAirrBBOvh5uaAOY6ZK6I=; b=EZuf+5W5l8rsevilqPZ95PsdtIZFPpyjxdrGWkEgYcpSz86nb1pBMKe370GsyR39ivrFhTNIx Ekzkv+dI0H9C3nRbEZNmyuxGQalOdGttehOFB7HdKgAf1UySAjMePwn X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: kX9RRRCDA9cWt8K5Zgapvmg2BzEA_Dxz X-Proofpoint-ORIG-GUID: kX9RRRCDA9cWt8K5Zgapvmg2BzEA_Dxz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-21_09,2024-02-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 mlxlogscore=820 lowpriorityscore=0 clxscore=1015 mlxscore=0 impostorscore=0 phishscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402210184 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791553172622833019 X-GMAIL-MSGID: 1791553172622833019 |
Series |
arm64: dts: qcom: qcs6490-rb3gen2: Enable two displays
|
|
Commit Message
Bjorn Andersson
Feb. 21, 2024, 11:19 p.m. UTC
The newly introduced mechanism for selecting eDP mode allow us to make a
DisplayPort controller operate in eDP mode, but not the other way
around. The qcom,sc7280-edp compatible is obviously tied to eDP, so this
would not allow us to select DisplayPort-mode.
Switch the compatible of the mdss_edp instance and make it eDP for the
SC7280 qcard.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
---
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 2 ++
arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
Comments
On Thu, 22 Feb 2024 at 01:19, Bjorn Andersson <quic_bjorande@quicinc.com> wrote: > > The newly introduced mechanism for selecting eDP mode allow us to make a > DisplayPort controller operate in eDP mode, but not the other way > around. The qcom,sc7280-edp compatible is obviously tied to eDP, so this > would not allow us to select DisplayPort-mode. > > Switch the compatible of the mdss_edp instance and make it eDP for the > SC7280 qcard. > > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- > arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 2 ++ > arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 2/22/24 00:19, Bjorn Andersson wrote: > The newly introduced mechanism for selecting eDP mode allow us to make a > DisplayPort controller operate in eDP mode, but not the other way > around. The qcom,sc7280-edp compatible is obviously tied to eDP, so this > would not allow us to select DisplayPort-mode. > > Switch the compatible of the mdss_edp instance and make it eDP for the > SC7280 qcard. > > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
diff --git a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi index f9b96bd2477e..e339b181a9ac 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi @@ -348,6 +348,8 @@ &lpass_va_macro { /* NOTE: Not all Qcards have eDP connector stuffed */ &mdss_edp { + is-edp; + aux-bus { edp_panel: panel { compatible = "edp-panel"; diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 581818676a4c..a19c278ebec9 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -4513,7 +4513,7 @@ mdss_dsi_phy: phy@ae94400 { }; mdss_edp: edp@aea0000 { - compatible = "qcom,sc7280-edp"; + compatible = "qcom,sc7280-dp"; pinctrl-names = "default"; pinctrl-0 = <&edp_hot_plug_det>;