From patchwork Thu Oct 5 13:27:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13410019 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 55D67E9370D for ; Thu, 5 Oct 2023 13:28:14 +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=WUwbuFuMFKzWHBg5WxOZX0lI9+ardB+xXzaWrGhU5Z0=; b=eOukQaRjKwGJFY zrnRTi0ofAJAWNkG2HxXHCwgBtEZbtMOYsc3tUg46uG4WZTUOCWq1V13h+ZSlguVl+PCyopbs/oQ3 FGL4pC4RCnsicZa9+l39wbGJkHshuLw8cVF5XCmDS3hpmtZpx4+CiUkU6e7NAmkQyaeMGLwjjmRgj JQp7J4Kb6sB4rzJEP0X8jkcZv97aUEg1gNewSph1AgMoyNExpcifs3/8GXBlgO+TP1lJurGcNhhML 6YU6HaPoNbfUQbpJxU643xWV3JYPDXNtDuQ/7yatQd72ugzlmn0drvBy2w2wuZi/zNec8Jw/1Ph7S HT7uy8KQMwONd+HtrvEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoOOG-003Nz8-2u; Thu, 05 Oct 2023 13:27:44 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoOOC-003Ntw-2r for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 13:27:42 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 395DRYqF018253; Thu, 5 Oct 2023 08:27:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696512454; bh=IQ4+7/ENgJsfdg6282wpLTkp9VO2hoZ8JiSjdo/MfWU=; h=From:To:CC:Subject:Date; b=y7dJY0WDvjp9akNxczMZYCe0tmb6601fke3ef2aYz9m1PH0KHEJQ3SrzCp8qRtJW3 nlaguplnU4gmKC3umP0iIVcP5cpQ73ouPC6SQ8DIa7qnvrHDQmRQISIjQDEzi8XhVs IILu5Q0ifXgXxqtlAMLT/jnc3OqD5vNjrc95LUV0= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 395DRYJi014064 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 08:27:34 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Oct 2023 08:27:34 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) 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; Thu, 5 Oct 2023 08:27:34 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 395DRX35012468; Thu, 5 Oct 2023 08:27:33 -0500 From: Jayesh Choudhary To: , , CC: , , , , , , , , , , , , Subject: [PATCH RESEND v11 0/5] Enable Display for J784S4 and AM69-SK platform Date: Thu, 5 Oct 2023 18:57:27 +0530 Message-ID: <20231005132732.7462-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-20231005_062741_015876_7AA62754 X-CRM114-Status: GOOD ( 17.53 ) 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.[0]) Changelog v10->v11: - Added comment for disabling serdes-refclk (according to comments of v5) - Update commit message to document why serdes, wiz nodes (2/5) and mhdp- bridge, tidss nodes (3/5) are disabled. - Keep only ports in board files and move common properties to main file and document why ports are kept empty. v10: https://lore.kernel.org/all/20230927121157.278592-1-j-choudhary@ti.com/ 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. v9: https://lore.kernel.org/all/20230803080441.367341-1-j-choudhary@ti.com/ Changelog v8->v9: - Fix compatible of serdes_ln_ctrl node - Fix extra new lines across nodes - Fix node-names to keep them generic v8: https://lore.kernel.org/all/20230801070019.219660-1-j-choudhary@ti.com/ Changelog v7->v8: - rebase on tag next-20230731 - add AM69 display support - fix commit heading for patch [2/5] v7: https://lore.kernel.org/all/20230728050859.7370-1-j-choudhary@ti.com/ Changelog v6->v7: - change compatible for scm_conf to 'simple-bus' - drop main_cpsw node due to driver dependency on [1] v6: https://lore.kernel.org/all/20230721132029.123881-1-j-choudhary@ti.com/ Changelog v5->v6: - Change header file according to [2]. - 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. v5: https://lore.kernel.org/all/20230710101705.154119-1-j-choudhary@ti.com/ Changelog v4->v5: - rebased the patches on linux-next tip. v4: https://lore.kernel.org/all/20230425131607.290707-1-j-choudhary@ti.com/ 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. v3: https://lore.kernel.org/all/20230419061710.290068-1-j-choudhary@ti.com/ 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. v2: https://lore.kernel.org/all/20230414151553.339599-1-j-choudhary@ti.com/ Changelog v1->v2: - Moved J784S4 EVM changes together to the last patch (Suggested by Andrew) v1: https://lore.kernel.org/all/20230405111412.151192-1-j-choudhary@ti.com/ [0]: [1]: [2]: 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 | 229 +++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 119 +++++++++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 276 +++++++++++++++++++++ 3 files changed, 624 insertions(+) Reviewed-by: Roger Quadros