From mboxrd@z Thu Jan 1 00:00:00 1970 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 057D7238C06; Tue, 15 Jul 2025 09:49:00 +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=1752572943; cv=none; b=fhBqFTWypvMfGvd6KXQI8c4S90S3U36mTPosBAgBFJ1drHOjbq+zBDN6GeBsBLlYBAhago8udfjJniY1fULdP+C0lSyacQu0O6Ko+/piOyVK+pDKUzduOhJg7aGmAiLu/R7q+3Sf91K1HPdbKoIWaZdhvoaxo9tdasVUFzkqMlo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752572943; c=relaxed/simple; bh=HBWQUVlxDlILemW2hfukCIx41wAhjhlWdCEo2SF+bh8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=PX/B13DwF7MCib50q7pNF7fJtBSKor9/EUXPO8YnP4FO37TEdt0BPwX/of8uR1zUsryxifz13dI5NFein9galz/CWCTGvR1xXlaWSS3vkH5OIJdpGu8RJwJ1ErIqIRyjH9tPoRAeWaSvBiJjXCxRwgurftS7MNYkWnrEEUNxPPI= 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=rpFrNW6X; 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="rpFrNW6X" 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 56F9mmxZ2586251; Tue, 15 Jul 2025 04:48:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1752572928; bh=Iye7H9J0i3pG7Uaq2wwx9o/eYl/3IUwYdrp1Dd+t7Bc=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=rpFrNW6XDvSiLGHJoEi2dVeKyKZoYAkQ8xLkzym2uJV704Ut35HHjJa3dqklnMCPi sKKRrLd6TAPOl3+VCtY/fdN7zPmjf64LwkbGeOLs4dBPJrFYIEoM3j4Ty6QjaK+WYC 38n19I0VGIp9jeW1AlByCpxOAix6y7/GVyYSQU3w= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 56F9mmLk1178036 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Tue, 15 Jul 2025 04:48:48 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) 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; Tue, 15 Jul 2025 04:48:48 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE114.ent.ti.com (157.170.170.25) 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, 15 Jul 2025 04:48:48 -0500 Received: from [172.24.227.166] (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 56F9miVG2359263; Tue, 15 Jul 2025 04:48:45 -0500 Message-ID: <3ab4f645-8062-4ed6-8fd3-96dd3eb6de0b@ti.com> Date: Tue, 15 Jul 2025 15:18:44 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0 To: Vignesh Raghavendra , , CC: , , , , , , , References: <20250624082619.324851-1-j-choudhary@ti.com> <20250624082619.324851-8-j-choudhary@ti.com> <4765b426-e625-4563-a748-7edb40e3b260@ti.com> Content-Language: en-US From: Jayesh Choudhary In-Reply-To: <4765b426-e625-4563-a748-7edb40e3b260@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Hi, On 26/06/25 12:04, Vignesh Raghavendra wrote: > > > On 24/06/25 13:56, Jayesh Choudhary wrote: >> 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 => DSI => SN65DSI86 bridge => 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 = <5000000>; >> }; >> >> + edp0_refclk: clock-edp0-refclk { >> + #clock-cells = <0>; >> + compatible = "fixed-clock"; >> + clock-frequency = <19200000>; >> + }; >> + >> + dp0_pwr_3v3: fixedregulator-dp0-pwr { > > use std node name: regulator-... Okay! In v3, I will change this. > >> + compatible = "regulator-fixed"; >> + regulator-name = "dp0-pwr"; >> + regulator-min-microvolt = <3300000>; >> + regulator-max-microvolt = <3300000>; >> + gpio = <&exp2 2 GPIO_ACTIVE_HIGH>; /*P0 - DP0_3V3 _EN */ >> + enable-active-high; >> + regulator-always-on; >> + }; >> + >> + dp0: dp0-connector { >> + compatible = "dp-connector"; >> + label = "DP0"; >> + type = "full-size"; >> + dp-pwr-supply = <&dp0_pwr_3v3>; >> + >> + port { >> + dp0_connector_in: endpoint { >> + remote-endpoint = <&dp0_out>; >> + }; >> + }; >> + }; >> + >> connector-hdmi { >> compatible = "hdmi-connector"; >> label = "hdmi"; >> @@ -605,6 +634,39 @@ exp2: gpio@20 { >> gpio-line-names = "HDMI_PDn","HDMI_LS_OE", >> "DP0_3V3_EN","eDP_ENABLE"; >> }; >> + >> + dsi_edp_bridge: dsi-edp-bridge@2c { >> + compatible = "ti,sn65dsi86"; >> + reg = <0x2c>; >> + clock-names = "refclk"; >> + clocks = <&edp0_refclk>; >> + enable-gpios = <&exp2 3 GPIO_ACTIVE_HIGH>; >> + vpll-supply = <&vsys_io_1v8>; >> + vccio-supply = <&vsys_io_1v8>; >> + vcca-supply = <&vsys_io_1v2>; >> + vcc-supply = <&vsys_io_1v2>; >> + >> + dsi_edp_bridge_ports: ports { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + port@0 { >> + reg = <0>; >> + >> + dp0_in: endpoint { >> + remote-endpoint = <&dsi0_out>; >> + }; >> + }; >> + >> + port@1 { >> + reg = <1>; >> + >> + dp0_out: endpoint { >> + remote-endpoint = <&dp0_connector_in>; >> + }; >> + }; >> + }; >> + }; >> }; >> >> &main_sdhci1 { >> @@ -699,6 +761,15 @@ dpi_out0: endpoint { >> remote-endpoint = <&tfp410_in>; >> }; >> }; >> + >> + /* DSI */ >> + port@2 { >> + reg = <2>; >> + >> + dpi0_out: endpoint { >> + remote-endpoint = <&dsi0_in>; >> + }; >> + }; >> }; >> >> &serdes_ln_ctrl { >> @@ -756,3 +827,28 @@ &usb0 { >> phys = <&serdes0_usb_link>; >> phy-names = "cdns3,usb3-phy"; >> }; >> + >> +&dphy_tx0 { >> + status = "okay"; >> +}; >> + >> +&dsi0 { >> + status = "okay"; >> +}; >> + >> +&dsi0_ports { >> + >> + port@0 { >> + reg = <0>; >> + dsi0_out: endpoint { >> + remote-endpoint = <&dp0_in>; >> + }; >> + }; >> + >> + port@1 { >> + reg = <1>; >> + dsi0_in: endpoint { >> + remote-endpoint = <&dpi0_out>; >> + }; >> + }; >> +}; >