From patchwork Thu Oct 19 05:40:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13428233 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 07AB1CDB483 for ; Thu, 19 Oct 2023 05:41:02 +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=DXNOU5uvmZN+VdzrsFYtA/crXZNafcvVGH50SKB/Ro4=; b=ihkQnjK2IQvuWc T0AKbg5OgMXTc3vDoiaQSonkVLiGk5AkSJZ5WnzCYOj57Hhy0h5d3kf/0fcO3MepyEPqW+EqLc41V k2JubX1jtLXhvY69mRX9Mb/Ophf4hOW6ZxhHOhJp/QMmfjaByStZEGqXxAWjYrT+SurTly6sR7rVa fBrockG3SAVst2j0Q3eE7I1LnOLdxDji6Cmtu7xC/MIpQYoTcxU9vK32q0eHrq32ADYWK0O3l2zEg AwfqKpg3x1eNYXaDOKm2HJjSJ/kPzEf3Xxn/Op3EsApIH0e8kplHs0KiYPb1cJj1CGha9iHJuF1ar wpsUPXQVLq7rbiXFnA5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtLlu-00GMx4-0O; Thu, 19 Oct 2023 05:40:38 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtLlq-00GMtD-2D for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2023 05:40:36 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39J5eOdC048169; Thu, 19 Oct 2023 00:40:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1697694024; bh=5vSWNA2DYmfd9yoLIfzlu92Ablb2/nW6TuHm3S1WCY4=; h=From:To:CC:Subject:Date; b=NfxEuHt+DAtbky1Z13fDbuUMdkAzlrpS75wiV288BVCFY/GpyKS8nrObThpEkZ/Wz pdtw1FCmd8JCNuSu8OjAf7q0DVsTwLEO3OeJacp+Tj87CZY8Ecll0FMQJ0hf1/or2M vTjUTHFwBwSL+ISlOcA7V7AmTGmZLKDxZa1n2Voc= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39J5eORC016619 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 19 Oct 2023 00:40:24 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) 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.2507.23; Thu, 19 Oct 2023 00:40:24 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) 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, 19 Oct 2023 00:40:24 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39J5eNMj020287; Thu, 19 Oct 2023 00:40:24 -0500 From: Jayesh Choudhary To: , , , CC: , , , , , , , , , , , Subject: [PATCH v12 0/5] Enable Display for J784S4 and AM69-SK platform Date: Thu, 19 Oct 2023 11:10:17 +0530 Message-ID: <20231019054022.175163-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-20231018_224034_844001_7BECC0C9 X-CRM114-Status: GOOD ( 18.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 Changelog v11->v12: - Revert back to port definition as per v9 as W=1 warning in v10 and v11 was not acceptable. (Suggested by Vignesh) [3/5]: Remove '#address-cells' and '#size-cells' from dss_ports as now we are back to default single port definition on J784S4-EVM board file [4/5]: Revert back to NOT using reg for default port 0 on J784S4-EVM. [5/5]: Add #address-cells and #size-cells in dss-ports for AM69-SK as they can no longer be kept in main file. - Pick up R-by tag for the series by Roger in v11. v11: https://lore.kernel.org/all/20231005132732.7462-1-j-choudhary@ti.com/ 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 | 232 +++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 117 +++++++++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 274 +++++++++++++++++++++ 3 files changed, 623 insertions(+)