From patchwork Wed Sep 27 12:11:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13400690 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD95FE810DB for ; Wed, 27 Sep 2023 12:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=fTbKTWiERikZdSGXssXTUqOyQLXg6xC0B3YH6Y67h8k=; b=U728Ki4s4F0Xsj c+q7XNO80gkqJDfsYG9WMsBbfceCN8uVmy7lTpLKAEKyirvqT//g0XMVBkcg/hx7suToOwedtc84z dii0FrLlYpOQImchGtKV2u5TJnshcwMV5+O9VfJPXny+2TA+2/WtIGgOZlqZ1+dfOVM07aseElS8J MU5/6XT8KaqSnOUxU/pJ6GIIyCVmP1rDOp+FcriSncWh5MHUdCXbfA7yzk0zXhIVZc9s90zCb7uRu m9f/D0nnKBMl7haX+eJknb7MXqHZCOIBkC/vm4yesBuJOie+yz5ABemNg8wDBU4FoVlfIrQJf6uUQ 47g1Mz3RKrtZ0CJUmLgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlTOk-000rFz-0y; Wed, 27 Sep 2023 12:12:10 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qlTOg-000rEk-2V for linux-arm-kernel@lists.infradead.org; Wed, 27 Sep 2023 12:12:08 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38RCBxMG063720; Wed, 27 Sep 2023 07:11:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695816719; bh=WUVbUmerLWHp7zVOm4oC+5fCkYh6BhdH7l8GXE3T9qk=; h=From:To:CC:Subject:Date; b=jWesCSUktgLKzYPKQXb4Rvz1IgJ6vquBEuEgwQHPFffpP985ntQ1xUGVSaODyn9yR KoGC4DlsLrHk7fCXZ+Pkhuu8kFwtHHUuAsSKMa0Y6O7CaUyd6dx5yIs9Wz05aPpURC fkM/wtLqs4i4lpW/COxw6XOLUxOriUcG8FIgJG6Q= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38RCBxXM097364 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 Sep 2023 07:11:59 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 27 Sep 2023 07:11:58 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.33) 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; Wed, 27 Sep 2023 07:11:58 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38RCBvVY108985; Wed, 27 Sep 2023 07:11:58 -0500 From: Jayesh Choudhary To: , , CC: , , , , , , , , , , , , Subject: [PATCH v10 0/5] Enable Display for J784S4 and AM69-SK platform Date: Wed, 27 Sep 2023 17:41:52 +0530 Message-ID: <20230927121157.278592-1-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230927_051206_913802_F4B8B84E X-CRM114-Status: GOOD ( 18.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds support for: - DisplayPort for J784S4-EVM - Displayport and HDMI for AM69-SK platform NOTE: Patch 4/5 introduces the following dtc warning which can be ignored since its behind W=1 check: Warning (graph_child_address): /bus@100000/dss@4a00000/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary (This is more accurate description for port and the dtc check should not differentiate between port@0 and port@1.[3]) Changelog v9->v10: - Remove duplicate properties from dp0_ports node in main file. - Add reg for the port even though there is only single port in dss_port since its more accurate description for the port. - Carry the R-by tags from v9. Changelog v8->v9: - Fix compatible of serdes_ln_ctrl node - Fix extra new lines across nodes - Fix node-names to keep them generic Changelog v7->v8: - rebase on tag next-20230731 - add AM69 display support - fix commit heading for patch [2/5] Changelog v6->v7: - change compatible for scm_conf to 'simple-bus' - drop main_cpsw node due to driver dependency on [2] Changelog v5->v6: - Change header file according to [1]. - Add idle-state property in serdes_ln_ctrl node. - Fix dtbs_check warning due to clock-frequency property in serdes_refclk node by disabling the node in main.dtsi and enabling it in board file when the clock-frequency node is actually added. Changelog v4->v5: - rebased the patches on linux-next tip. Changelog v3->v4: - add reg property to serdes_ln_ctrl and fix the node name again to get rid of dtbs_check error. - reorder reg, reg-names and ranges property for main_cpsw1. - correct the order for clocks in serdes_wiz nodes to fix dtbs_check warnings. - fix indentation in reg, reg-names and clock property for dss node. - add comments for the reg type in dss registers. Changelog v3->v2: - fix dtc warnings for 'scm_conf' and 'serdes_ln_ctrl' nodes (Checked all the changes of the series with W=12 option during build) - added clock-frequency for serdes_refclk along with other EVM changes This refclk is being used by all the instances of serdes_wiz which are disabled by default. So configuring refclk when the serdes nodes are used for the first time is okay. Changelog v1->v2: - Moved J784S4 EVM changes together to the last patch (Suggested by Andrew) v9 patch link: [1]: [2]: [3]: Dasnavis Sabiya (1): arm64: dts: ti: k3-am69-sk: Add DP and HDMI support Rahul T R (2): arm64: dts: ti: k3-j784s4-main: Add DSS and DP-bridge node arm64: dts: ti: k3-j784s4-evm: Enable DisplayPort-0 Siddharth Vadapalli (2): arm64: dts: ti: k3-j784s4-main: Add system controller and SERDES lane mux arm64: dts: ti: k3-j784s4-main: Add WIZ and SERDES PHY nodes arch/arm64/boot/dts/ti/k3-am69-sk.dts | 234 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 124 ++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 265 +++++++++++++++++++++ 3 files changed, 623 insertions(+)