From patchwork Thu Feb 1 14:23:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13541179 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 B964CC4828D for ; Thu, 1 Feb 2024 14:23: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=HmLGnsmmiWPHjRppiV32K0M2P+zG+77C8NzQ2y+UQqM=; b=PrLyN8CzJbidzS S/Ed1wldVWBtE9fPUXoZLnT0kOq1Ozi0RlBDrH/CDmRrylMM28dtA0ragmi/K8C0oij1bTPOWDWP9 5s8tPs6TFQp5IGhrx/2yuIT9Yhcp0Q+o550ZHpAkeMDKbvRmh1uo7BfZ/5dx8RivJ2L5sifq+QbBs PycGG5G7SNEVbB/O85h6Fs561e0Iqc5dEg4eXj2duU9jCySBT961mmRFhaMAfqcbh9lEJcNxQHNRd uRxbLyVSODdmvA69g/uY7XIZ+9NIeYr3wc9rNjsdujjY5Xt+qAAfFqXiKe8GFu4TIv5NCdh/kyVnp MI2bDTLR9VQJcDdkO9vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVXyM-00000008GyT-08nD; Thu, 01 Feb 2024 14:23:22 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVXyI-00000008Gwx-1zNP for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2024 14:23:20 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411ENAk1124291; Thu, 1 Feb 2024 08:23:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706797390; bh=GP6f60ABIhtPzuyReskSzZ99XCUPZJHbTyCWxm/yLg4=; h=From:To:CC:Subject:Date; b=f46yo3MoZVQ7FiOe1m2vxvVtyeOYP7P3YnxYge2F6jQejk1Gn1eAMgVZdKjOGn9SY 4G09BorUBAC21L9Fm3kznYUrIlkJbD6zc95iUqwlW4Rh07wiXH5Kw+cNiA05hCKV1O uJOunmrccV9recCejtJgUeZS3iT5ma93fpS0gRoo= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411ENAj7023230 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 08:23:10 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Feb 2024 08:23:10 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE107.ent.ti.com (10.64.6.28) 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, 1 Feb 2024 08:23:09 -0600 Received: from localhost ([10.249.128.100]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411EN9iR126444; Thu, 1 Feb 2024 08:23:09 -0600 From: Jayesh Choudhary To: , , CC: , , , , , , , , , , , , Subject: [RESEND PATCH v2] arm64: dts: ti: k3-am69-sk: remove assigned-clock-parents for unused VP Date: Thu, 1 Feb 2024 19:53:08 +0530 Message-ID: <20240201142308.4954-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-20240201_062318_634692_A9F89B05 X-CRM114-Status: GOOD ( 10.77 ) 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 VP2 and VP3 are unused video ports and VP3 share the same parent clock as VP1 causing issue with pixel clock setting for HDMI (VP1). The current DM firmware does not support changing parent clock if it is shared by another component. It returns 0 for the determine_rate query before causing set_rate to set the clock at default maximum of 1.8GHz which is a lot more than the maximum frequency videoports can support (600MHz) causing SYNC LOST issues. So remove the parent clocks for unused VPs to avoid conflict. Fixes: 6f8605fd7d11 ("arm64: dts: ti: k3-am69-sk: Add DP and HDMI support") Reported-by: Nishanth Menon Signed-off-by: Jayesh Choudhary Reviewed-by: Tomi Valkeinen Reviewed-by: Aradhya Bhatia Tested-by: Enric Balletbo i Serra --- v1: Changelog v1->v2: - Updated commit message - Picked up Tomi's R-by from v1 - Removed "Closes:" link since its invalid now (NOTE: Sending again as forgot to put mailing list in cc earlier) arch/arm64/boot/dts/ti/k3-am69-sk.dts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts index 8da591579868..370980eb59b0 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -918,13 +918,9 @@ &dss { pinctrl-names = "default"; pinctrl-0 = <&dss_vout0_pins_default>; assigned-clocks = <&k3_clks 218 2>, - <&k3_clks 218 5>, - <&k3_clks 218 14>, - <&k3_clks 218 18>; + <&k3_clks 218 5>; assigned-clock-parents = <&k3_clks 218 3>, - <&k3_clks 218 7>, - <&k3_clks 218 16>, - <&k3_clks 218 22>; + <&k3_clks 218 7>; }; &serdes_wiz4 {