From nobody Wed Dec 4 19:10:44 2024 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 F1B421A4E77; Wed, 20 Nov 2024 11:00:05 +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=1732100407; cv=none; b=C1bTWB/Dz2+KG2XEwBjmstAwF4SmH5bAog1pOQYCMRQUopBL48Ip74ZwytDiuCSEQBJYLjT+lg7Gyx6xGZzFqEpiEbh4PpMNY48WN8I7kBUW0Koxfuhr20qed52ut7lS+nAqk5BBg1fdFo7QzxC/E1nUpyEcYUqL/XEMkfeWjTQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732100407; c=relaxed/simple; bh=Sm0rX+FSTAdHbIUuipg8AflfiM27xqi8lxwbIDIKsyU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=rWX+PpX3PKFKHOjAbOE6D1eEDCHFsD7rJyjUOHV02dpbRqHk4LSbaG6hdB5DlC9ToUI4Uju6Fz+NPZ2PCU/XOiP5uuoiKjwiXrMgUj0YnyqF+IJ8xbyPRWowkcEpqLAmSTrK6JAbb0cu8pRcfIPx89y/88Au0MotPud1a181EUQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=XQcDO3C7; 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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="XQcDO3C7" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AK9GWJj025929; Wed, 20 Nov 2024 11:00:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:date:from:in-reply-to:message-id:references:subject:to; s= qcppdkim1; bh=uhOxfLJm7IAQxFMXnko7AWGcyTFeJVBwgwPDFqPcecM=; b=XQ cDO3C7hk1d8768kMje7ioQRukuHYVIXwOTfbG6mKuZ+Ah4ifluS83Jxqr/VNSzNt H/Pg22SR0CxtCumI/cf8PqWbJ70jOYjYmoW5lhVwjzh66rEdEOlKS9Yn2ucSy0KW XsDU5xdARrMUCU3NdQubcgyFu1fuJYdqhM+VjeMDTMNCxRZHeSB6hOMjI6iNRRwN BFPd/MfrT8GQRGsOqZw2K0nlUhV35JMRicjmuPumtrk4KqG28wT0VnOMebv+gMZY cUhR5T6vQ02kalyuOePR1vFpSHoqA5EDquu8qXhxiMBiFiIEcVWwGQ9ydURiMr8Q IDA8Xaw0YZc50tah4dVQ== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 431byjge77-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Nov 2024 11:00:02 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 4AKAxvu8013600; Wed, 20 Nov 2024 10:59:57 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 42xmfm8jst-1; Wed, 20 Nov 2024 10:59:57 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 4AKAxvK7013584; Wed, 20 Nov 2024 10:59:57 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-mukhopad-hyd.qualcomm.com [10.147.244.250]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 4AKAxv2U013581; Wed, 20 Nov 2024 10:59:57 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 3978529) id 78D7A5009EF; Wed, 20 Nov 2024 16:29:56 +0530 (+0530) From: Soutrik Mukhopadhyay To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: Soutrik Mukhopadhyay , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_riteshk@quicinc.com, quic_vproddut@quicinc.com, quic_abhinavk@quicinc.com Subject: [PATCH v4 2/2] arm64: dts: qcom: sa8775p-ride: Enable Display Port Date: Wed, 20 Nov 2024 16:29:54 +0530 Message-Id: <20241120105954.9665-3-quic_mukhopad@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241120105954.9665-1-quic_mukhopad@quicinc.com> References: <20241120105954.9665-1-quic_mukhopad@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: pdFAVi4NYhdIGvCRLEEgKfysuIuX8wNK X-Proofpoint-ORIG-GUID: pdFAVi4NYhdIGvCRLEEgKfysuIuX8wNK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 suspectscore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411200076 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Enable DPTX0 and DPTX1 along with their corresponding PHYs for sa8775p-ride platform. Signed-off-by: Soutrik Mukhopadhyay --- arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/d= ts/qcom/sa8775p-ride.dtsi index adb71aeff339..4847e4942386 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi @@ -27,6 +27,30 @@ chosen { stdout-path =3D "serial0:115200n8"; }; + + dp0-connector { + compatible =3D "dp-connector"; + label =3D "DP0"; + type =3D "full-size"; + + port { + dp0_connector_in: endpoint { + remote-endpoint =3D <&mdss0_dp0_out>; + }; + }; + }; + + dp1-connector { + compatible =3D "dp-connector"; + label =3D "DP1"; + type =3D "full-size"; + + port { + dp1_connector_in: endpoint { + remote-endpoint =3D <&mdss0_dp1_out>; + }; + }; + }; }; =20 &apps_rsc { @@ -421,6 +445,50 @@ status =3D "okay"; }; =20 +&mdss0 { + status =3D "okay"; +}; + +&mdss0_dp0 { + status =3D "okay"; + + pinctrl-0 =3D <&dp0_hot_plug_det>; + pinctrl-names =3D "default"; +}; + +&mdss0_dp0_out { + data-lanes =3D <0 1 2 3>; + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; + remote-endpoint =3D <&dp0_connector_in>; +}; + +&mdss0_dp0_phy { + status =3D "okay"; + + vdda-phy-supply =3D <&vreg_l1c>; + vdda-pll-supply =3D <&vreg_l4a>; +}; + +&mdss0_dp1 { + status =3D "okay"; + + pinctrl-0 =3D <&dp1_hot_plug_det>; + pinctrl-names =3D "default"; +}; + +&mdss0_dp1_out { + data-lanes =3D <0 1 2 3>; + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; + remote-endpoint =3D <&dp1_connector_in>; +}; + +&mdss0_dp1_phy { + status =3D "okay"; + + vdda-phy-supply =3D <&vreg_l1c>; + vdda-pll-supply =3D <&vreg_l4a>; +}; + &pmm8654au_0_gpios { gpio-line-names =3D "DS_EN", "POFF_COMPLETE", @@ -527,6 +595,18 @@ }; =20 &tlmm { + dp0_hot_plug_det: dp0-hot-plug-det-state { + pins =3D "gpio101"; + function =3D "edp0_hot"; + bias-disable; + }; + + dp1_hot_plug_det: dp1-hot-plug-det-state { + pins =3D "gpio102"; + function =3D "edp1_hot"; + bias-disable; + }; + ethernet0_default: ethernet0-default-state { ethernet0_mdc: ethernet0-mdc-pins { pins =3D "gpio8"; --=20 2.17.1