From nobody Fri May 8 10:00:48 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42504C433EF for ; Thu, 5 May 2022 09:07:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351482AbiEEJLT (ORCPT ); Thu, 5 May 2022 05:11:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351298AbiEEJLD (ORCPT ); Thu, 5 May 2022 05:11:03 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C7A64B842; Thu, 5 May 2022 02:07:24 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 24597FOd095161; Thu, 5 May 2022 04:07:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1651741635; bh=Av/a1Q3ivltDpAcmy8Hg5LNnEffWVpKZ9vsFCXZxLS8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rAdJxGkQpTM5WiF8EmclXsjoam0kcms6EZu4sowK7oECJBa+NKUr9Ex1pe0021Wg2 3tADgDgzgi89KM9JD7FQAVx0R+GMoU9B4ewR1hGnBsSGXbCj/WivZ6A3mANlOdk+7V 1NAWXrknsd8LM7mDqppzKXMMGskR+ap0EXekb/K4= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 24597Fi9033177 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 May 2022 04:07:15 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) 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.2308.14; Thu, 5 May 2022 04:07:15 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 5 May 2022 04:07:15 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 24597D5O089665; Thu, 5 May 2022 04:07:14 -0500 From: Rahul T R To: CC: , , , , , , , , , , , Subject: [PATCH v2 1/2] arm64: dts: ti: k3-j721e-sk: Enable DisplayPort Date: Thu, 5 May 2022 14:37:08 +0530 Message-ID: <20220505090709.9252-2-r-ravikumar@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220505090709.9252-1-r-ravikumar@ti.com> References: <20220505090709.9252-1-r-ravikumar@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add the endpoint nodes to describe connection from DSS =3D> MHDP =3D> DisplayPort connector. Signed-off-by: Rahul T R Reviewed-by: Aradhya Bhatia --- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 45 +++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts b/arch/arm64/boot/dts/t= i/k3-j721e-sk.dts index 98177a20b45f..07b1e40fbc47 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts @@ -213,6 +213,18 @@ enable-active-high; }; =20 + dp0: connector { + compatible =3D "dp-connector"; + label =3D "DP0"; + type =3D "full-size"; + dp-pwr-supply =3D <&dp_pwr_3v3>; + + port { + dp_connector_in: endpoint { + remote-endpoint =3D <&dp0_out>; + }; + }; + }; }; =20 &main_pmx0 { @@ -638,6 +650,8 @@ &mhdp { phys =3D <&torrent_phy_dp>; phy-names =3D "dpphy"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&dp0_pins_default>; }; =20 &usbss0 { @@ -718,6 +732,33 @@ <&k3_clks 152 18>; /* DPI1_EXT_CLKSEL_OUT0 */ }; =20 +&dss_ports { + port { + dpi0_out: endpoint { + remote-endpoint =3D <&dp0_in>; + }; + }; +}; + +&dp0_ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + dp0_in: endpoint { + remote-endpoint =3D <&dpi0_out>; + }; + }; + + port@4 { + reg =3D <4>; + dp0_out: endpoint { + remote-endpoint =3D <&dp_connector_in>; + }; + }; +}; + &mcasp0 { /* Unused */ status =3D "disabled"; @@ -852,10 +893,6 @@ status =3D "disabled"; }; =20 -&dss { - status =3D "disabled"; -}; - &icssg0_mdio { status =3D "disabled"; }; --=20 2.17.1 From nobody Fri May 8 10:00:48 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7106C433EF for ; Thu, 5 May 2022 09:07:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351682AbiEEJLP (ORCPT ); Thu, 5 May 2022 05:11:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351349AbiEEJLD (ORCPT ); Thu, 5 May 2022 05:11:03 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED04A4BB89; Thu, 5 May 2022 02:07:24 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 24597HZP091484; Thu, 5 May 2022 04:07:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1651741637; bh=hlLDAumZ2FyEFKvNswfGzuvkZ9zLOVp1U5Zzfg0dQdM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YCRwO7NL6D8hhdQBkl/sZrtXEnR3KkdOB4fjlcv3RpC/ZhQDjF4cc9BRlo9buj8In 6hlWlH33c8I2/gX7h2aIQB8Gc0YzBMCvOrt6/fhkdayPFPUmx3nnjzZFYHYTaRsct/ p2RsoukRj1pmzSynAVTQSllgYTqyhbEmgDPePvKU= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 24597HfH043673 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 May 2022 04:07:17 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) 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.2308.14; Thu, 5 May 2022 04:07:17 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 5 May 2022 04:07:17 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 24597FRK089687; Thu, 5 May 2022 04:07:16 -0500 From: Rahul T R To: CC: , , , , , , , , , , , Subject: [PATCH v2 2/2] arm64: dts: ti: k3-j721e-sk: Enable HDMI Date: Thu, 5 May 2022 14:37:09 +0530 Message-ID: <20220505090709.9252-3-r-ravikumar@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220505090709.9252-1-r-ravikumar@ti.com> References: <20220505090709.9252-1-r-ravikumar@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add node for dvi bridge and the endpoint nodes to describe connection from DSS =3D> TI TFP410 DPI-to-DVI Bridge =3D> HDMI connector. Also add the required pinmux for HDMI hotplug and powerdown Signed-off-by: Rahul T R Reviewed-by: Aradhya Bhatia --- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 80 +++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts b/arch/arm64/boot/dts/t= i/k3-j721e-sk.dts index 07b1e40fbc47..80358cba6954 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts @@ -225,6 +225,59 @@ }; }; }; + + hdmi-connector { + compatible =3D "hdmi-connector"; + label =3D "hdmi"; + type =3D "a"; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&hdmi_hpd_pins_default>; + + ddc-i2c-bus =3D <&main_i2c1>; + + /* HDMI_HPD */ + hpd-gpios =3D <&main_gpio1 0 GPIO_ACTIVE_HIGH>; + + port { + hdmi_connector_in: endpoint { + remote-endpoint =3D <&tfp410_out>; + }; + }; + }; + + dvi-bridge { + compatible =3D "ti,tfp410"; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&hdmi_pdn_pins_default>; + + powerdown-gpios =3D <&main_gpio0 127 GPIO_ACTIVE_LOW>; + ti,deskew =3D <0>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + tfp410_in: endpoint { + remote-endpoint =3D <&dpi1_out>; + pclk-sample =3D <1>; + }; + }; + + port@1 { + reg =3D <1>; + + tfp410_out: endpoint { + remote-endpoint =3D + <&hdmi_connector_in>; + }; + }; + }; + }; }; =20 &main_pmx0 { @@ -329,6 +382,18 @@ >; }; =20 + hdmi_hpd_pins_default: hdmi-hpd-pins-default { + pinctrl-single,pins =3D < + J721E_IOPAD(0x204, PIN_INPUT, 7) /* (AD5) UART1_RTSn.GPIO1_0 */ + >; + }; + + hdmi_pdn_pins_default: hdmi-pdn-pins-default { + pinctrl-single,pins =3D < + J721E_IOPAD(0x200, PIN_INPUT, 7) /* (AC4) UART1_CTSn.GPIO0_127 */ + >; + }; + /* Reset for M.2 E Key slot on PCIe0 */ ekey_reset_pins_default: ekey-reset-pns-pins-default { pinctrl-single,pins =3D < @@ -733,11 +798,24 @@ }; =20 &dss_ports { - port { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + dpi0_out: endpoint { remote-endpoint =3D <&dp0_in>; }; }; + + port@1 { + reg =3D <1>; + + dpi1_out: endpoint { + remote-endpoint =3D <&tfp410_in>; + }; + }; }; =20 &dp0_ports { --=20 2.17.1