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: 14956 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp392645vqb; Thu, 5 Oct 2023 08:52:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+XMfspRelUUCmXm8hd6n11VPStjkcKhULSvlsJeZaLe75g3ok5PaagFk2oJYLgRggN+Rl X-Received: by 2002:a05:6358:1ca:b0:134:eb97:ea01 with SMTP id e10-20020a05635801ca00b00134eb97ea01mr5413954rwa.27.1696521165166; Thu, 05 Oct 2023 08:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696521165; cv=none; d=google.com; s=arc-20160816; b=S+oT6SxZpgzx4QzJmDA4yEckWgvmezv+2SBgLqNP/ejIUBv5Ok5KG1hID5D4fcKR43 ETouVQWW6ZTggAYi1v2djmZNM9tGnFO0krUU4GonL0i44Tbtp3SDH/Pr+Q0YNjpc50FJ qplYxMLbgw1qpZX+OMQjvZ/YQcgXMBElhXW9mITmn2tXshWN1Hd/oM9YaWNQV6pDMAHJ GPzUz1K9GM9TT2sRxQEDmrtKfXtY4B5wzqH1BVa+bi2IbqVjrbPxGLuAgN5JGj3q5DoB QjmNiXWA8RaqLo8Hx7mno0TknC3u/LaD9dKQL8NZZV26arVo+pdQF1GB5kcltC0714OA JTOg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=IQ4+7/ENgJsfdg6282wpLTkp9VO2hoZ8JiSjdo/MfWU=; fh=/GEJjb9zemR4NZB6DC3piieuPzLX8vbbj5mYlMm5sV0=; b=iFrdgPHxPJu+3Wms4RJYhvwKUuEEmV4CZaUY7fGrUpQRNCe3nGTD1QtYStErqEQv/l Cn6AfgyYrRmqbIwxx47ed2SjHFtUGwAPIMhhJLUj1lTiCMF5orhDbiiNebf6m0Hf4bIj RTg6bghW2mwh6tuUtuEfCskLTZKcUK3D48QBAe7VH+xIFjzGmpcu1P2/kHIqSCf/RyIA Bw7RiqVIt9B1FZ7pOERnRAtP+P54/DD8uH1AaGFWyUyEvJrw6zDs9YPKM0eH3nH4ou+I +KBF69kzMl2tu0KxusWUcdkFxa5mDKSPpnu2FU4TEApOmxr/VtRFn92hOn7rqtBu+q2w yOzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=y7dJY0WD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a22-20020a637f16000000b00573f885c4easi1648242pgd.753.2023.10.05.08.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:52:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=y7dJY0WD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4D5DB82E7532; Thu, 5 Oct 2023 08:52:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235967AbjJEPw0 (ORCPT + 18 others); Thu, 5 Oct 2023 11:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234206AbjJEPvB (ORCPT ); Thu, 5 Oct 2023 11:51:01 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A673444AC; Thu, 5 Oct 2023 07:12:03 -0700 (PDT) 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-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 08:52:44 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778931185426066260 X-GMAIL-MSGID: 1778931377419757218 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