From nobody Tue Oct 7 01:56:31 2025 Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) (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 8E2D22E88B2; Wed, 16 Jul 2025 06:01:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.245 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752645701; cv=none; b=sJX5W215zgZGie9oAK0hJuSoMjAF86YH/8ccHeHthWjsqYj1waYSJurccb8UAwPKZ8VfHXrG/lIXEXQP4B2n0KJSy1I28dgrBpLERGPF3lws+N9YBD252T5WblQ4XYHRLYixDr/AKd0ynmYe4ileCXggEQESgKG+Pm8wiFSkpxg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752645701; c=relaxed/simple; bh=LHRTEvUUM2wFe7/UOSfbcrTixO0+FchDqCCzEeMPXbk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=un03y11jE58viUlI9BPxlBapqo5OFdKLlmBgwYjKaMutEgOZnM/TQ7+IXrZpAtX0vi9ZHtlSHTNDuHlgYSak5t8PniE06RS0YX2Gnxp9TL9VnGfnVVo6c4IxXN7yLjMiTeA7CoT351KXsBzUcZ3mm6J8T53BPzOUA+QOLY7eqjk= 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=TpnwFaIA; arc=none smtp.client-ip=198.47.19.245 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="TpnwFaIA" Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTP id 56G61Tkk2780004; Wed, 16 Jul 2025 01:01:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1752645689; bh=EfhC+fRBJi2ioYPPzzT0wvQ4hQqFwGQeBV9kL8bT9Wo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TpnwFaIAeVZDZWZeMdiR5udHdhP3/5QlDajy21MmJGWNrIr+ySQFbthptPTNHaBZ8 UtnyMJEW5iaD2Q2KjkLgS/cWcGsq87E2o9TqyESqdivxYlHGoRcjIQio2VVpW+Za7l 2TGQ/mZCljgBzK6LBPFbkjnUj8eODIbT0f7LeoT4= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 56G61T5w1794725 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Wed, 16 Jul 2025 01:01:29 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Wed, 16 Jul 2025 01:01:29 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE104.ent.ti.com (157.170.170.34) 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; Wed, 16 Jul 2025 01:01:28 -0500 Received: from localhost (jayesh-hp-z2-tower-g5-workstation.dhcp.ti.com [172.24.227.166]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 56G61RAb3833131; Wed, 16 Jul 2025 01:01:28 -0500 From: Jayesh Choudhary To: , CC: , , , , , , , , , Subject: [PATCH v3 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0 Date: Wed, 16 Jul 2025 11:31:14 +0530 Message-ID: <20250716060114.52122-8-j-choudhary@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250716060114.52122-1-j-choudhary@ti.com> References: <20250716060114.52122-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 | 97 +++++++++++++++++++ 1 file changed, 97 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 e84c504c87d2..cf42a001b2ef 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,34 @@ 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: regulator-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; + }; + + 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"; @@ -615,6 +643,39 @@ exp2: gpio@20 { gpio-line-names =3D "HDMI_PDn","HDMI_LS_OE", "DP0_3V3_EN","eDP_ENABLE"; }; + + bridge_dsi_edp: bridge-dsi-edp@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 { @@ -711,6 +772,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 { @@ -768,3 +838,30 @@ &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