From nobody Wed Oct 8 23:09:10 2025 Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) (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 DF916257ACA; Tue, 24 Jun 2025 08:26:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.235 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750753599; cv=none; b=BVIkgStKOq5KhuwyH0JoZraRZJTSLj/GqdXGKRb5ZBbQPq1Aw1AyFQDk36T4pAYODB+nqwvIa/xhyKMLCnLCVluwVHxN6TOd8yWmTC0WYNFMO1tX+XnPACkp9BX9s9Xl1ybSS2smzoyOkfGwh/LrF/LS11QENMcGryAxanw5xQI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750753599; c=relaxed/simple; bh=9Sk26LZBrnvdSJ1BykQipu3PDneyw3pcfDqjJ1eieQY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fsr5v/bcw+Uyitvi9DQ5Dd3VEJ6a+verqHUiudD6s74dNFXciAH6Ll4bxURRBKwRJSnkN4kP/AbtJUWgN3ZEjRr6HG54J976Nb+KhWRZXna4rqBVjDPc7inSfZdSALruqdHTYimEMyXIJtzGbWoLgtN+2HTq7hQi1k9DJCQqqrc= 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=t7EmD3h5; arc=none smtp.client-ip=198.47.23.235 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="t7EmD3h5" Received: from fllvem-sh03.itg.ti.com ([10.64.41.86]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTP id 55O8QXEG1731148; Tue, 24 Jun 2025 03:26:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1750753593; bh=6X8quacUBF/myiWfdN5Sfb5gBn4ACp83+Pp02fzr3rI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=t7EmD3h5wz1SSRE+wFgiYF5tcmV5OzzdjmBIjgfylKZMJiEEM6ZZb2gT7bYPns3D0 EvIsE4UHpuLjkCwFv5ls8Q3gbTLZfIej+PiOl62/kuBuCHOSyeLMvSvogxeONT+ht6 1BKSkoidY7O/Tpv04B8bycRGHIGJV5Z8LBuWhd7Q= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllvem-sh03.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 55O8QXeI4039856 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Tue, 24 Jun 2025 03:26:33 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Tue, 24 Jun 2025 03:26:32 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55 via Frontend Transport; Tue, 24 Jun 2025 03:26:32 -0500 Received: from localhost (jayesh-hp-z2-tower-g5-workstation.dhcp.ti.com [172.24.227.214]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 55O8QWZx1183729; Tue, 24 Jun 2025 03:26:32 -0500 From: Jayesh Choudhary To: , , CC: , , , , , , , , Subject: [PATCH v2 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0 Date: Tue, 24 Jun 2025 13:56:19 +0530 Message-ID: <20250624082619.324851-8-j-choudhary@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250624082619.324851-1-j-choudhary@ti.com> References: <20250624082619.324851-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 support for AM68-SK platform. Add DT node for DSI2eDP 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-0 Set status for all required nodes for DisplayPort-0 as 'okay'. Signed-off-by: Jayesh Choudhary --- .../boot/dts/ti/k3-am68-sk-base-board.dts | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/= boot/dts/ti/k3-am68-sk-base-board.dts index 5fa70a874d7b..aef63ae2994c 100644 --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts @@ -135,6 +135,35 @@ transceiver4: can-phy3 { max-bitrate =3D <5000000>; }; =20 + edp0_refclk: clock-edp0-refclk { + #clock-cells =3D <0>; + compatible =3D "fixed-clock"; + clock-frequency =3D <19200000>; + }; + + dp0_pwr_3v3: fixedregulator-dp0-pwr { + compatible =3D "regulator-fixed"; + regulator-name =3D "dp0-pwr"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + gpio =3D <&exp2 2 GPIO_ACTIVE_HIGH>; /*P0 - DP0_3V3 _EN */ + enable-active-high; + regulator-always-on; + }; + + dp0: dp0-connector { + compatible =3D "dp-connector"; + label =3D "DP0"; + type =3D "full-size"; + dp-pwr-supply =3D <&dp0_pwr_3v3>; + + port { + dp0_connector_in: endpoint { + remote-endpoint =3D <&dp0_out>; + }; + }; + }; + connector-hdmi { compatible =3D "hdmi-connector"; label =3D "hdmi"; @@ -605,6 +634,39 @@ exp2: gpio@20 { gpio-line-names =3D "HDMI_PDn","HDMI_LS_OE", "DP0_3V3_EN","eDP_ENABLE"; }; + + dsi_edp_bridge: dsi-edp-bridge@2c { + compatible =3D "ti,sn65dsi86"; + reg =3D <0x2c>; + clock-names =3D "refclk"; + clocks =3D <&edp0_refclk>; + enable-gpios =3D <&exp2 3 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>; + + dp0_in: endpoint { + remote-endpoint =3D <&dsi0_out>; + }; + }; + + port@1 { + reg =3D <1>; + + dp0_out: endpoint { + remote-endpoint =3D <&dp0_connector_in>; + }; + }; + }; + }; }; =20 &main_sdhci1 { @@ -699,6 +761,15 @@ dpi_out0: endpoint { remote-endpoint =3D <&tfp410_in>; }; }; + + /* DSI */ + port@2 { + reg =3D <2>; + + dpi0_out: endpoint { + remote-endpoint =3D <&dsi0_in>; + }; + }; }; =20 &serdes_ln_ctrl { @@ -756,3 +827,28 @@ &usb0 { phys =3D <&serdes0_usb_link>; phy-names =3D "cdns3,usb3-phy"; }; + +&dphy_tx0 { + status =3D "okay"; +}; + +&dsi0 { + status =3D "okay"; +}; + +&dsi0_ports { + + port@0 { + reg =3D <0>; + dsi0_out: endpoint { + remote-endpoint =3D <&dp0_in>; + }; + }; + + port@1 { + reg =3D <1>; + dsi0_in: endpoint { + remote-endpoint =3D <&dpi0_out>; + }; + }; +}; --=20 2.34.1