Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1615485rwb; Fri, 28 Jul 2023 12:05:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlHPU4aF3Tx63NVHutAs7KPfGWuZjWOew5DZh/n4Ry6Jva2/wymRv5m0dTMttjAZybhgdPl4 X-Received: by 2002:a17:902:d4cb:b0:1bb:c7e1:b43 with SMTP id o11-20020a170902d4cb00b001bbc7e10b43mr2646263plg.14.1690571111475; Fri, 28 Jul 2023 12:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690571111; cv=none; d=google.com; s=arc-20160816; b=XvAdgGBRGB3KXj4XO+lx1qasPx7bJ+/fBHIsAAh4Ec0UMWlBZUS/GI5nAkylIpxmUa lhMhBVdboRhLXS+M6Y5gM+fI8Ip7gYp6w5Tc1hV81xQw07uZFBNYleECjltOxOX0PUIQ gRxo3bgtbFspJXu8iQHkNxlXdl1Sz1rBsZiLNwG3MWrxGxfamT8M04UviEyTC4JPbNAG yKP0jkp8hga+abwXlCKTpy16JhdDcAvM+bnuzZI/Ypu2uDkvc25ZSX5ZR1jnSEuf3mV5 ki9F8Rz9Q6KGegecXm8tspiZWwG5E0yOtXzxCeDc32ytpTQ/1oEKVGkheS4IKMMXkLzO X9Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pDtWUriBKWXqnzYAqJp4o7247YUcH3BwNj7spNhcOsU=; fh=W7ZzonE/z1HP1ane91HfLkUk/QZrvQBRyKLLpGh5ej0=; b=CrUiJHkPpW8et9cWKwfLjFYdx0rTuzLRi1iH8EzeKRGFrATJP4CTnW6UMVRKdvm8x5 jllKQZ+NHL9T+fIEyBWfr3PVwOdiqZ1Za2QJS8kznBQBkhZWOiC18cLgYY3jrGAxU0KI 40OVAswFBkHF3MCtWhkHaxZvakVpAks7RCQcFVhF9kMqeZbjccmMyxP/0EFYo6aRWFve Phf70ALL1hM4ID1D9cFphaAxThrX4SJ0NAXTtxDPDzKAonxhQr/JFIltSKt2lUnvd9lD /kkpKDgg7fjmiydmhM/Nczu0MqQb48lS76z8P3O+Xv/ABeqAu+InoR5bYXDV7bmn4NmY dqug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Bj5YQAoH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a170902650a00b001bba7713547si3407476plk.151.2023.07.28.12.04.57; Fri, 28 Jul 2023 12:05:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Bj5YQAoH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231473AbjG1RfO (ORCPT + 99 others); Fri, 28 Jul 2023 13:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234723AbjG1RfG (ORCPT ); Fri, 28 Jul 2023 13:35:06 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E07663A8B; Fri, 28 Jul 2023 10:35:04 -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 36SHYk9v127161; Fri, 28 Jul 2023 12:34:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690565686; bh=pDtWUriBKWXqnzYAqJp4o7247YUcH3BwNj7spNhcOsU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Bj5YQAoH+hpOqTz3on+ypa6kco8zMKz5m7tlOrEf08uZVlWC4GEkvlW8voxqUHohQ hbtc2w/t4Yshe9jiqywnzjSd0FJEm6jOHB4KSSinoLnROeydIjzcHndYLQ7jlBhs6x v75jIpVcyybvHBNLOWLecTBeQdUSUjTIGNYeklxc= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36SHYkhj121034 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 28 Jul 2023 12:34:46 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 28 Jul 2023 12:34:45 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE107.ent.ti.com (10.64.6.28) 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, 28 Jul 2023 12:34:45 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36SHYjZg004026; Fri, 28 Jul 2023 12:34:45 -0500 From: Aradhya Bhatia To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Conor Dooley CC: Devicetree List , Linux Kernel List , Linux ARM Kernel List , Tomi Valkeinen , Rahul T R , Devarsh Thakkar , Jai Luthra , Jayesh Choudhary , Aradhya Bhatia Subject: [PATCH v3 4/8] arm64: dts: ti: k3-am62x-sk-common: Add HDMI support Date: Fri, 28 Jul 2023 23:04:34 +0530 Message-ID: <20230728173438.12995-5-a-bhatia1@ti.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230728173438.12995-1-a-bhatia1@ti.com> References: <20230728173438.12995-1-a-bhatia1@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT nodes for sil9022 HDMI transmitter (TX), and the HDMI connector on the AM625 SK and AM62-LP SK platforms. Additionally, connect the outputu of DSS (VP2) with input of the HDMI TX, and the output of HDMI TX to the input of the HDMI connector. Signed-off-by: Aradhya Bhatia --- .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi index d479c0c415a7..8fd80cf63d65 100644 --- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi @@ -114,6 +114,17 @@ sound_master: simple-audio-card,codec { clocks = <&tlv320_mclk>; }; }; + + hdmi: connector { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "a"; + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&sii9022_out>; + }; + }; + }; }; &main_pmx0 { @@ -371,6 +382,38 @@ tlv320aic3106: audio-codec@1b { IOVDD-supply = <&vcc_3v3_sys>; DRVDD-supply = <&vcc_3v3_sys>; }; + + sii9022: sii9022@3b { + compatible = "sil,sii9022"; + reg = <0x3b>; + + interrupt-parent = <&exp1>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + + #sound-dai-cells = <0>; + sil,i2s-data-lanes = < 0 >; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + sii9022_in: endpoint { + remote-endpoint = <&dpi1_out>; + }; + }; + + port@1 { + reg = <1>; + + sii9022_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; }; &sdhci0 { @@ -473,3 +516,14 @@ &dss { pinctrl-names = "default"; pinctrl-0 = <&main_dss0_pins_default &main_oldi0_pins_default>; }; + +&dss_ports { + /* VP2: DPI Output */ + port@1 { + reg = <1>; + + dpi1_out: endpoint { + remote-endpoint = <&sii9022_in>; + }; + }; +}; -- 2.40.1