From patchwork Sun Jul 30 18:55:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Gurudasani X-Patchwork-Id: 13333513 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 72E8FC04FDF for ; Sun, 30 Jul 2023 18:56:53 +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:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OtEuJTGtJkGHA7tvvosbOhdBafSkXlrXnaFMk4ObPs4=; b=bgSfvhT1FTFMdf xPrwQwEOvYmMiScD7BzNlSn7Pi1YCFXcfHuP8ZDLXvO1VgDui0KVmMrlTT/HOVvWD52bTr+X+xFC4 DyI+WWGJp25exOnwSVJBf0G5ap0F13PN13NMnwfeBHkuyAjuHjVmVezp1nvrGGHRHd+GqtJIyYeku XNsp9t5cWhuJPaqirbP4kGMDTqK6uQY54vqCNQL5qxcAd1e/SItf69EKCY35+kGv4cHBnlszydiJ1 cdvxAdRPHjNKQRLRqB5YlKF+kAf+La3+0MpzCd700XJaIPpu0dHG/WG8hSqb11We6qvqf/gr4pH7p oD/lKi53RojXRHyVxHlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQBah-00CPjw-1N; Sun, 30 Jul 2023 18:56:31 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQBad-00CPhU-0W for linux-arm-kernel@lists.infradead.org; Sun, 30 Jul 2023 18:56:29 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36UIuHFb009252; Sun, 30 Jul 2023 13:56:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690743377; bh=eFwkKcDHy5a0D+fjNeM04lyGOmAYW9xO+TcXBwnbHD0=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=KtE9TGkfcqoi/KxVU2s+Zurg8Xnw79KmfXs5lgM9QSOC5nTkLy9hqXNcB7y1ae7xH CRmuFrSVOloN4vWa/7ckaFMDZbJnQmanvq2LK4wvfyXtK/tjHz7hUZFVSOTO5UNr1v SCOB1Yo9qIPq9dQBBys3srUIJXgbeMlBnTHnAlRQ= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36UIuHTo017919 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 30 Jul 2023 13:56:17 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 30 Jul 2023 13:56:16 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE105.ent.ti.com (157.170.170.35) 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; Sun, 30 Jul 2023 13:56:16 -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 36UIuGMs015693; Sun, 30 Jul 2023 13:56:16 -0500 From: Kamlesh Gurudasani Date: Mon, 31 Jul 2023 00:25:57 +0530 Subject: [PATCH 4/5] arm64: dts: ti: k3-am62: Add dt node, cbass_main ranges for MCRC64 MIME-Version: 1.0 Message-ID: <20230719-mcrc-upstream-v1-4-dc8798a24c47@ti.com> References: <20230719-mcrc-upstream-v1-0-dc8798a24c47@ti.com> In-Reply-To: <20230719-mcrc-upstream-v1-0-dc8798a24c47@ti.com> To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Catalin Marinas , Will Deacon CC: , , , , Kamlesh Gurudasani X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690743369; l=1735; i=kamlesh@ti.com; s=20230614; h=from:subject:message-id; bh=rAsjlJl8jzh/RLqkLURx52tluKdmY4dVom5JnKv6FS0=; b=McAciNLcv3haU/bDoIP9th+WdovQV2ntG5bQk2Wmm/aNNeznmBp1UBW8R7dZfbKgMLZgLZgdf aPjpf46AKxZBRDkKO2IA1CTOS87wZZ0XxiYC9xLsWggIKT7rHrC9QLw X-Developer-Key: i=kamlesh@ti.com; a=ed25519; pk=db9XKPVWDGJVqj2jDqgnPQd6uQf3GZ3oaQa4bq1odGo= 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-20230730_115627_338629_FD93100B X-CRM114-Status: GOOD ( 11.50 ) 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 Add the address space for MCRC64 to the ranges property of the cbass_main node and add dt node for MCRC64 engine Signed-off-by: Kamlesh Gurudasani --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 7 +++++++ arch/arm64/boot/dts/ti/k3-am62.dtsi | 1 + 2 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 33b6aadc9083..bd12616a120c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -183,6 +183,13 @@ crypto: crypto@40900000 { dma-names = "tx", "rx1", "rx2"; }; + mcrc64: mcrc64@30300000 { + compatible = "ti,mcrc64"; + reg = <0x00 0x30300000 0x00 0x1000>; + clocks = <&k3_clks 116 0>; + power-domains = <&k3_pds 116 TI_SCI_PD_EXCLUSIVE>; + }; + secure_proxy_sa3: mailbox@43600000 { compatible = "ti,am654-secure-proxy"; #mbox-cells = <1>; diff --git a/arch/arm64/boot/dts/ti/k3-am62.dtsi b/arch/arm64/boot/dts/ti/k3-am62.dtsi index 5e72c445f37a..1511e649a916 100644 --- a/arch/arm64/boot/dts/ti/k3-am62.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62.dtsi @@ -65,6 +65,7 @@ cbass_main: bus@f0000 { <0x00 0x30040000 0x00 0x30040000 0x00 0x00080000>, /* PRUSS-M */ <0x00 0x30101000 0x00 0x30101000 0x00 0x00010100>, /* CSI window */ <0x00 0x30200000 0x00 0x30200000 0x00 0x00010000>, /* DSS */ + <0x00 0x30300000 0x00 0x30300000 0x00 0x00001000>, /* MCRC */ <0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core window */ <0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core window */ <0x00 0x40900000 0x00 0x40900000 0x00 0x00030000>, /* SA3UL */