From patchwork Tue Jan 3 05:48:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruva Gole X-Patchwork-Id: 13087208 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 2055AC3DA7D for ; Tue, 3 Jan 2023 05:51:08 +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=S0hgGE/vNCARZBa04iIqCTMnUjgLVR59vBOMyehk2kw=; b=2zdl2qlagVn6OU Zd2f4f9c2MQgl4xf07YLEoVWQ/zv+ie7OfOI5pElG2jUkO8osn+914f5vd0/MxL/UgfLcaGeyTyhU 4F2J1ORV0jFe/cJ3VXckIIdxoQGPuliELfl9I2iYHtZOAGDsIpDI7e6/d8YR1J5O/8l6W8UapbjRs SI5YLb9bnJwUnjlZVfmD4rLqV9MHShr0LIqymwzYLwwW8B+75f/qc3Py3KUArDnm4wjAaZwbapKiX y5Djz53745/Up9c8wEhPc8RDNPvqDDIUuiiPSEvWQsA7CUU5by/TystHh7J9M5k+KuEqM0GM1E+Qn owX9gO24dmMtS71TVVXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCaBZ-00Gtwq-As; Tue, 03 Jan 2023 05:50:06 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCaAb-00GtNl-HO for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2023 05:49:07 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3035mwMn116766; Mon, 2 Jan 2023 23:48:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1672724938; bh=ccqY5zh7HK8GJgr9iyhlX7yltN8v9Ai4Ct8S7tl0JJA=; h=From:To:CC:Subject:Date; b=aGJpho6MJAV9h8M2oc28KGfVBVQ2Dy5h/xG8va9nZKzC0PB14olrsJMPCKjAdgYsD Fix6yf9bLPHIEISQAIhmA+FVDAySO11K8N97zVm3hQxH7K8wGIWyu/zq+YiheAq6cB otY/RPN0c4oxPHTUhQNWMDjFCYXI5dOWPlBiJQ+4= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3035mw5b013248 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Jan 2023 23:48:58 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 2 Jan 2023 23:48:57 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 2 Jan 2023 23:48:57 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3035mu8n023675; Mon, 2 Jan 2023 23:48:57 -0600 From: Dhruva Gole To: Vignesh Raghavendra CC: Dhruva Gole , , Tero Kristo , Rob Herring , , , , Bryan Brattlof Subject: [PATCH v3] arm64: dts: ti: k3-am62-main: Fix clocks for McSPI Date: Tue, 3 Jan 2023 11:18:40 +0530 Message-ID: <20230103054840.1133711-1-d-gole@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-20230102_214905_968467_3C5E268A X-CRM114-Status: GOOD ( 10.31 ) 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 Fixes the clock Device ID's in the DT according to the tisci docs clock identifiers for AM62x Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes") Reviewed-by: Bryan Brattlof Signed-off-by: Dhruva Gole --- For reference, TISCI Docs: clock id's for AM62 https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/clocks.html v3: Rebase on top of linux-next master v2: https://lore.kernel.org/linux-devicetree/20230102125549.1106984-1-d-gole@ti.com/ v1: https://lore.kernel.org/linux-devicetree/20221227051208.158894-1-d-gole@ti.com/ arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 072903649d6e..ae1ec58117c3 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -413,7 +413,7 @@ main_spi0: spi@20100000 { #address-cells = <1>; #size-cells = <0>; power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>; - clocks = <&k3_clks 172 0>; + clocks = <&k3_clks 141 0>; status = "disabled"; }; @@ -424,7 +424,7 @@ main_spi1: spi@20110000 { #address-cells = <1>; #size-cells = <0>; power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>; - clocks = <&k3_clks 173 0>; + clocks = <&k3_clks 142 0>; status = "disabled"; }; @@ -435,7 +435,7 @@ main_spi2: spi@20120000 { #address-cells = <1>; #size-cells = <0>; power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>; - clocks = <&k3_clks 174 0>; + clocks = <&k3_clks 143 0>; status = "disabled"; };