Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4459734ioa; Wed, 27 Apr 2022 04:28:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwibFH4KouRRvQkLBjCrj6xSJNGQ70j54/AKndbUj2wZJEnIF2g7ZpPL5xr6iRno/Up/GR5 X-Received: by 2002:a17:903:4093:b0:15c:e5eb:9545 with SMTP id z19-20020a170903409300b0015ce5eb9545mr21520028plc.62.1651058935963; Wed, 27 Apr 2022 04:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651058935; cv=none; d=google.com; s=arc-20160816; b=cEE6MpWRDJbpqAsdaQmq0BKPhozTVJGa/Zy30nJCKpZO0l+1Tw5pItRXU/tq6yJbMC HrgqT3r8Ba77aqah9MYqMdf5XEJCHjXu1C9w2ZqxsZafEv2Q1LgpxW6/sha0iKEQ8y28 vZ3CAmUPAM/kdeQl19X0GPjY+VVzBIdvyf90Je9I0FImh6Ic7o1/HX2zzgVG0WLANO16 oYJqhafmBQgoNMY+gjqbatWSUJjYA+FIhNMOsl5nCu1eNeJnP2k/rBOw8e9dFFYWzXlo mlmhjHuS0hoj2bMDxF/iGdWaZBWn6i8SzqagY6hklhHs6kMOxsbYbiyyBHurwEvA3Qfl A+HA== 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=kupnSmCLa8ukKSu5s2c5515veWPch3RoCk/juFoT/6Q=; b=dvBswuQMn+SME95xZ2dGK7wYAbEJXilkG7D+cXoUh+1M9dne/x5M7a/HvBXd1IYfem g/O+4SFxDL1LXf1xs39i3PE0cxBXMFU9WwK42+TATsjSi3XjCSVOPTMo9GeuH3qxmA0A VcBZ++qxCogol1J3AJetFz6OjmpmAZBpdMcvG4KZae3NaxlpsFTnOkeKNqKTY6AdNOEm wnosHCwTXgUyQrn8sTiH3ZWqk3uS6WRWP46uNVR1f2cANkkvoWadyVpPR5bBfWghtzhP CQGI3rpXxq0POFTfD+k4gwjENrlNsOOTH5809cglq9UmQhI+q3kajq0pj9sJeAzUS48t AjjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KQLf9wV0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l4-20020a17090270c400b00153b2d16578si1215743plt.384.2022.04.27.04.28.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:28:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KQLf9wV0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 458EC4A1286; Wed, 27 Apr 2022 03:27:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232246AbiD0JNX (ORCPT + 99 others); Wed, 27 Apr 2022 05:13:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233205AbiD0JND (ORCPT ); Wed, 27 Apr 2022 05:13:03 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 588E4245E6F; Wed, 27 Apr 2022 02:09:43 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23R98xZS095481; Wed, 27 Apr 2022 04:08:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1651050539; bh=kupnSmCLa8ukKSu5s2c5515veWPch3RoCk/juFoT/6Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KQLf9wV0dRUKRDV92bduBg3H2KjUfK739e7Ig2QfBKLkdLQ7+kQIWEAjikKqZRkvA z3yzPgqiipGHSObsUQ69Yob2lsmFqY9W6C+eaDrzh9t/Sz7isplESuY/9WVoyVxa9x NG8w5Z4hSwpUZEXbZKgK/gclYt5nQGRH8vR0eps8= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23R98xeu122332 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 Apr 2022 04:08:59 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) 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.2308.14; Wed, 27 Apr 2022 04:08:59 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE107.ent.ti.com (157.170.170.37) 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; Wed, 27 Apr 2022 04:08:59 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23R98ws5058588; Wed, 27 Apr 2022 04:08:59 -0500 From: Aradhya Bhatia To: Vignesh Raghavendra CC: Nishanth Menon , Rob Herring , Linux ARM Kernel List , Devicetree List , Linux Kernel List , Aradhya Bhatia Subject: [PATCH 4/4] arm64: dts: ti: k3-am625-sk: Add DSS ports, HDMI tx & peripherals Date: Wed, 27 Apr 2022 14:38:50 +0530 Message-ID: <20220427090850.32280-5-a-bhatia1@ti.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220427090850.32280-1-a-bhatia1@ti.com> References: <20220427090850.32280-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=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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), HDMI connector and the HDMI fixed master clock on the am625-sk board. Additionally, add and connect output port for DSS (vp2), input and output ports for the sil9022 HDMI tx and the input port for the HDMI connector. The sil9022 HDMI tx is connected on the i2c1 bus. The HDMI connector on the board is of type "a". The clock frequency of the master clock that supports the HDMI tx is 12.288 MHz. The dpi output signals from the vp2 of DSS are fed into the sil9022 HDMI transmitter. These signals are converted into HDMI signals which are further passed on to the HDMI connector on the board, on which display can be connected via appropriate HDMI cables. Signed-off-by: Aradhya Bhatia --- arch/arm64/boot/dts/ti/k3-am625-sk.dts | 63 ++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts index 96414c5dacf7..9567fa4a447b 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts @@ -134,6 +134,23 @@ led-0 { default-state = "off"; }; }; + + hdmi_mstrclk: hdmi-mstrclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <12288000>; + }; + + hdmi: connector { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "a"; + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&sii9022_out>; + }; + }; + }; }; &main_pmx0 { @@ -385,6 +402,38 @@ exp1: gpio@22 { pinctrl-names = "default"; pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>; }; + + sii9022: sii9022@3b { + compatible = "sil,sii9022"; + reg = <0x3b>; + + clocks = <&hdmi_mstrclk>; + clock-names = "mclk"; + + interrupt-parent = <&exp1>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + + 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>; + }; + }; + }; + }; }; &main_i2c2 { @@ -450,6 +499,20 @@ &dss { pinctrl-0 = <&main_dss0_pins_default>; }; +&dss_ports { + #address-cells = <1>; + #size-cells = <0>; + + /* VP2: DPI Output */ + port@1 { + reg = <1>; + + dpi1_out: endpoint { + remote-endpoint = <&sii9022_in>; + }; + }; +}; + &mailbox0_cluster0 { mbox_m4_0: mbox-m4-0 { ti,mbox-rx = <0 0 0>; -- 2.36.0