From patchwork Wed Oct 9 07:20:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhavya Kapoor X-Patchwork-Id: 13827635 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 29094CED618 for ; Wed, 9 Oct 2024 07:22:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=nnEc/O1OscdbKaKa4xXCWhizY6Sx8RbpzLP6SeIVCBs=; b=YMG4RS+dE3D2m+5Uuwk+CxW3dx GlY4ZvT1N2mno9dB0yfa2YxOQEHo0yHpIBizVYDzrKTkVMvKn3e4ME6Evj5jkzizXLpZmUJgaV2pO CNWZ4SdEu6nyPgln7of3HEhRMfs9rAdA/SUl1xtc47bRy1xaB0adUHQbS2PZHGtJ5mTIkdV4nH6wh FpYPCKTdNP0MGHpYpx3w/cn0WGTdwKuYZCW8J/Q/UzSA8GU5UsUx/d2uzxSqSmcs8IldanWFtz2CY /9thJgz1t8PAQ4carwRWrKOYiMmzqPBt9V934LTghTQiJ4C91ew7KtFe+jgyenXD20zh5WwhPOh4f jS3kDeXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syR1h-00000008DGC-3fEk; Wed, 09 Oct 2024 07:22:29 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syR0K-00000008D3r-3Qxt for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 07:21:09 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4997KwnV074036; Wed, 9 Oct 2024 02:20:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1728458458; bh=nnEc/O1OscdbKaKa4xXCWhizY6Sx8RbpzLP6SeIVCBs=; h=From:To:CC:Subject:Date; b=EgxDKkdWLfoCQ4BgqWt6Aj6MV7PhHVPEYm2cQAZFClELBwNvTdgJnS3Y+QsJHCmey bPqOt2HwuNfT4JgbwNJZxvKF3uw5OpdzOJPIOxR46HS5UuPUpxoSA5oev8T6WZWDrg LQ97B9V8aLNBN82itBq9lIkvGUiN4dW2vFsv/KtU= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4997KwiI001703 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Oct 2024 02:20:58 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Oct 2024 02:20:57 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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 via Frontend Transport; Wed, 9 Oct 2024 02:20:57 -0500 Received: from localhost (a0498981-hp-z2-tower-g5-workstation.dhcp.ti.com [10.24.68.216]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4997KuSs117426; Wed, 9 Oct 2024 02:20:57 -0500 From: Bhavya Kapoor To: , CC: , , , , , , , , Subject: [PATCH] arm64: dts: ti: k3-j784s4-mcu-wakeup: Configure wkup_uart0 with clock settings Date: Wed, 9 Oct 2024 12:50:56 +0530 Message-ID: <20241009072056.3511346-1-b-kapoor@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_002105_064401_809AEAEA X-CRM114-Status: GOOD ( 10.75 ) 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 commit adds the assigned-clocks and assigned-clock-parents properties for wkup_uart0 in J784S4. Specifically, the assigned-clocks property is set to reference the clock identified by "wkup_usart_mcupll_bypass_out0", ensuring the UART operates with the correct clock source. The assigned-clock-parents property specifies "wkup_usart_clksel_out0" as the parent clock. This configuration is critical for establishing the proper clocking hierarchy, enabling the UART device to function reliably across different baud rates. Signed-off-by: Bhavya Kapoor --- Rebased to next-20241008 arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi index f603380fc91c..c2aa858c37c2 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi @@ -310,6 +310,8 @@ wkup_uart0: serial@42300000 { interrupts = ; clocks = <&k3_clks 397 0>; clock-names = "fclk"; + assigned-clocks = <&k3_clks 397 0>; + assigned-clock-parents = <&k3_clks 397 1>; power-domains = <&k3_pds 397 TI_SCI_PD_EXCLUSIVE>; status = "disabled"; };