From nobody Fri Dec 19 20:16:34 2025 Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) (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 0981D278E6D; Fri, 11 Apr 2025 10:52:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744368728; cv=none; b=dbVLg/Lk3putL3ilXAKwj1+G52FsFphWjT+BAujMH2o/YgSgag0oVy7Y4Q/JGEjby5LoQ5KVsvKnYOat6CyyC81qCnyZ5iuq2Y/Le3+/MaJAlVLjiIB/UIt4aJ30SA4bBpDXkzHAAbqVu31owqm3x3g2deCHIEsyr9RKSe4QrY0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744368728; c=relaxed/simple; bh=Lhd5oN1sxX8SY5/Psb+eWO3vjHGJ+6goKC1rtfeZXB8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sTA4ohF8uXsZwwcXCjhXl/moRbewt+OLmIDk047jX3c9TZIcyZY0jwYsYqJV5Z/ZFggmlycjSBn7+9zrhUAm/FCgUnxrYO7oP/uzME//dcP4Xqffsu9Es/UNnVmUcMTx8rmiobdxNC8TwgC8EPR3D45gnRoqd+9XPDsJx9V92RI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=sa+F+OE+; arc=none smtp.client-ip=198.47.23.234 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="sa+F+OE+" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 53BAq1SS1549496 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Apr 2025 05:52:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1744368721; bh=Fd38hYvBauVu1hxTTwteHnkvbHJiB96Nlgi4QYQK5Pk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=sa+F+OE+7DFNR7us58+chcd2ds+sCPzHp+y6j7ie+wWjosUTEGZcHv77MkjafkH3W RJ1UQ0WRg7He9oZ51Asjy+aQ2+CZC8FhJ6efvL69nwS2xE4LXf9l6pBkP2XZBzcg2m uRT0G1qgsLfJ+qpb63Xd2dzJGVU1f3Rge65mqTMY= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 53BAq1N6110853 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Apr 2025 05:52:01 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 11 Apr 2025 05:52:00 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 11 Apr 2025 05:52:00 -0500 Received: from localhost (jayesh-hp-z2-tower-g5-workstation.dhcp.ti.com [10.24.72.182]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 53BApxOl029890; Fri, 11 Apr 2025 05:52:00 -0500 From: Jayesh Choudhary To: , , , , CC: , , , , , , Subject: [PATCH 2/7] arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable DisplayPort-1 Date: Fri, 11 Apr 2025 16:21:50 +0530 Message-ID: <20250411105155.303657-3-j-choudhary@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250411105155.303657-1-j-choudhary@ti.com> References: <20250411105155.303657-1-j-choudhary@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Enable DSI display for J784S4 EVM. Add DT node for DSI-to-eDP bridge. The DSI to eDP bridge is SN65DSI86 on the board. Add the endpoint nodes to describe connection from: DSS =3D> DSI =3D> SN65DSI86 bridge =3D> DisplayPort-1 Set status for all required nodes for display as 'okay'. Signed-off-by: Jayesh Choudhary --- .../dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 117 +++++++++++++++++- 1 file changed, 116 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi b/arch= /arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi index 303f8ba9025a..0d19ca6523d6 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi @@ -306,6 +306,52 @@ codec_audio: sound { clock-names =3D "cpb-mcasp-auxclk", "cpb-mcasp-auxclk-48000", "cpb-codec-scki", "cpb-codec-scki-48000"; }; + + vsys_io_1v8: regulator-vsys-io-1v8 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vsys_io_1v8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + vsys_io_1v2: regulator-vsys-io-1v2 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vsys_io_1v2"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-always-on; + regulator-boot-on; + }; + + edp1_refclk: clock-edp1-refclk { + #clock-cells =3D <0>; + compatible =3D "fixed-clock"; + clock-frequency =3D <19200000>; + }; + + dp1_pwr_3v3: regulator-dp1-prw { + compatible =3D "regulator-fixed"; + regulator-name =3D "dp1-pwr"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpio =3D <&exp4 1 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + dp1: connector-dp1 { + compatible =3D "dp-connector"; + label =3D "DP1"; + type =3D "full-size"; + dp-pwr-supply =3D <&dp1_pwr_3v3>; + + port { + dp1_connector_in: endpoint { + remote-endpoint =3D <&dp1_out>; + }; + }; + }; }; =20 &wkup_gpio0 { @@ -1345,12 +1391,24 @@ &mhdp { }; =20 &dss_ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + /* DP */ - port { + port@0 { + reg =3D <0>; dpi0_out: endpoint { remote-endpoint =3D <&dp0_in>; }; }; + + /* DSI */ + port@2 { + reg =3D <2>; + dpi2_out: endpoint { + remote-endpoint =3D <&dsi0_in>; + }; + }; }; =20 &main_i2c4 { @@ -1365,6 +1423,63 @@ exp4: gpio@20 { gpio-controller; #gpio-cells =3D <2>; }; + + dsi_edp_bridge: dsi-edp-bridge@2c { + compatible =3D "ti,sn65dsi86"; + reg =3D <0x2c>; + + clock-names =3D "refclk"; + clocks =3D <&edp1_refclk>; + + enable-gpios =3D <&exp4 2 GPIO_ACTIVE_HIGH>; + + vpll-supply =3D <&vsys_io_1v8>; + vccio-supply =3D <&vsys_io_1v8>; + vcca-supply =3D <&vsys_io_1v2>; + vcc-supply =3D <&vsys_io_1v2>; + + dsi_edp_bridge_ports: ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + port@0 { + reg =3D <0>; + dp1_in: endpoint { + remote-endpoint =3D <&dsi0_out>; + }; + }; + + port@1 { + reg =3D <1>; + dp1_out: endpoint { + remote-endpoint =3D <&dp1_connector_in>; + }; + }; + }; + }; +}; + +&dsi0_ports { + port@0 { + reg =3D <0>; + dsi0_out: endpoint { + remote-endpoint =3D <&dp1_in>; + }; + }; + + port@1 { + reg =3D <1>; + dsi0_in: endpoint { + remote-endpoint =3D <&dpi2_out>; + }; + }; +}; + +&dphy_tx0 { + status =3D "okay"; +}; + +&dsi0 { + status =3D "okay"; }; =20 &dp0_ports { --=20 2.34.1