From patchwork Wed Dec 4 12:23:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Faraz Ata X-Patchwork-Id: 13893661 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 85C9CE7716B for ; Wed, 4 Dec 2024 12:25:24 +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:References: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:List-Owner; bh=QHoak+DAlOsJtw7x9Uk039N2Dy921OWTKaiSGrIqjss=; b=V19qH+Yq0BB2sNfW36VE6Y8+Kp i5D9cHhuFGEiBIfhvLXeWyPV4f7mSC66xQTBX4lchgSJZsunJgB2c9KIlOSdoEZgXEZtTmAR2i3ao oqNRvjR/qRhcDhTBqdBJY2dKxlYRRGr37rpJ7asc5aL8GGJ+O5P5fLPe/rt1RgI4foWgQ7VNAvmFF Ni8UQI4+rU5U9F630eqFK+CD6oyX6sAT6fbPVYFDJd7HKzrps6cBloNYbkFvLq757xwOPgIWQBYXH EKC1C6lZOXBr5u9rfrkQ3ohe/4Ari0v+Xb+gGr5CALTXss0pNkdxrj0IbKVeYlrRMuuZWMBGEogfW Xqo7em4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tIoRM-0000000CVey-1w2E; Wed, 04 Dec 2024 12:25:12 +0000 Received: from [203.254.224.34] (helo=mailout4.samsung.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tIoQM-0000000CVXP-0N7m for linux-arm-kernel@lists.infradead.org; Wed, 04 Dec 2024 12:24:12 +0000 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20241204122404epoutp04b301fd971cb9a29c1e02462cd6d4d882~N_NmF5kza1457814578epoutp04N for ; Wed, 4 Dec 2024 12:24:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20241204122404epoutp04b301fd971cb9a29c1e02462cd6d4d882~N_NmF5kza1457814578epoutp04N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1733315044; bh=QHoak+DAlOsJtw7x9Uk039N2Dy921OWTKaiSGrIqjss=; h=From:To:Cc:Subject:Date:References:From; b=TIXch/mPG1e1jcxis0t6Seif/txYXcrF7SVDBWlSJk1ybuxKLlPv4uHYQXr2aI+g/ cbEsg0Ai+etwOxKUnGWlPRbQwjxGNMc2x+pnFiqTO+M7z7c1MvhzUEGbj/wz0BoTSK umtTQm87AkniOKO3vRshWhTORD4+ZVotCtXiUVlQ= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20241204122404epcas5p40b0d35f3c998ef8d9134e52773f132da~N_NlzaCIE1722817228epcas5p4F; Wed, 4 Dec 2024 12:24:04 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4Y3Gsb1Jz0z4x9Pv; Wed, 4 Dec 2024 12:24:03 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id B6.AA.20052.3E940576; Wed, 4 Dec 2024 21:24:03 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20241204122402epcas5p2412733eb46d495fadfa30e5af3c5ce83~N_NkY05II2017620176epcas5p2d; Wed, 4 Dec 2024 12:24:02 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20241204122402epsmtrp1839c92f7780120490f36c8bcc3e4589f~N_NkYEtcn0966909669epsmtrp1N; Wed, 4 Dec 2024 12:24:02 +0000 (GMT) X-AuditID: b6c32a49-3d20270000004e54-96-675049e3ce50 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 9E.B0.18729.2E940576; Wed, 4 Dec 2024 21:24:02 +0900 (KST) Received: from INBRO002811.samsungds.net (unknown [107.122.5.126]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20241204122401epsmtip1446cfb0295879960c574501808b4dcc4~N_NirDjZs0260902609epsmtip1E; Wed, 4 Dec 2024 12:24:00 +0000 (GMT) From: Faraz Ata To: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, krzk+dt@kernel.org, robh@kernel.org Cc: linux-arm-kernel@lists.infradead.org, alim.akhtar@samsung.com, rosa.pila@samsung.com, Faraz Ata Subject: [PATCH] arm64: dts: exynosautov920: add DMA nodes Date: Wed, 4 Dec 2024 17:53:33 +0530 Message-ID: <20241204122335.1578-1-faraz.ata@samsung.com> X-Mailer: git-send-email 2.46.0.windows.1 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMKsWRmVeSWpSXmKPExsWy7bCmuu5jz4B0g9PP2S0ezNvGZjH/yDlW i2s3FrJbvJx1j81i0+NrrBYzzu9jsvi/Zwe7xZefD5gdODw2repk89i8pN6jb8sqRo/Pm+QC WKKybTJSE1NSixRS85LzUzLz0m2VvIPjneN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ker: H4sIAAAAAAAAA+NgFlrPLMWRmVeSWpSXmKPExsWy7bCSnO4jz4B0g7apRhYP5m1js5h/5Byr xbUbC9ktXs66x2ax6fE1VosZ5/cxWfzfs4Pd4svPB8wOHB6bVnWyeWxeUu/Rt2UVo8fnTXIB LFFcNimpOZllqUX6dglcGQuaH7EVzBGr2Pi7hb2BsVGoi5GTQ0LARGL5lDWsXYxcHEICuxkl LjxvY4NISEu8ntXFCGELS6z895wdougro8S13j1gRWwC6hIzbxxhAbFFBHIkXpxpYgIpYhZo ZJTYMb+DCSQhLGAlcXjjZrAiFgFViS2tP8FsXgFLiRm9e5ghNmhKrN27hwkiLihxcuYTsBpm AXmJ5q2zmScw8s1CkpqFJLWAkWkVo2RqQXFuem6xYYFhXmq5XnFibnFpXrpecn7uJkZwmGpp 7mDcvuqD3iFGJg7GQ4wSHMxKIrxB2gHpQrwpiZVVqUX58UWlOanFhxilOViUxHnFX/SmCAmk J5akZqemFqQWwWSZODilGph8LghdWdhkZPvn8Jnrt7hd5laIcCx7vsfs0b1s1r+/pr38uWNj w9oj89zPR5Zmi0oy9USGZv1rN1qZFmKiaPHmQMrblyKvnizmXynxeeWmOmNjHYdvJ23rE98t by9Xeqe5x1LztP2H/gz/JJuTU+SMz93Te6z237V990m1G/9mFzi9qKqMKtVLrXXPPXnNrV8n vvrt+d3+3CLlr7SOTJBnfjFX8MY60w+Sb39++HvkvDtjrWVa/tGs/fPvbpPJW7PLZu3DoOw5 e75kqbWc/NBjUVZyYF/5KZHsx1eFVmV0CbKec8wPkUtYfvZZamXHnc23opx04tNY6rx2cTby fdpVXNyxl9W8MfxS04a5+5iVWIozEg21mIuKEwE39B5lwgIAAA== X-CMS-MailID: 20241204122402epcas5p2412733eb46d495fadfa30e5af3c5ce83 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241204122402epcas5p2412733eb46d495fadfa30e5af3c5ce83 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241204_042410_779837_981300D9 X-CRM114-Status: GOOD ( 13.46 ) 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 ExynosAutov920 SoC has 7 DMA controllers. Two secure DMAC (SPDMA0 & SPDMA1) and five non-secure DMAC (PDMA0 to PDMA4). Adds the required dt node for the same. Signed-off-by: Faraz Ata Reviewed-by: Alim Akhtar --- .../arm64/boot/dts/exynos/exynosautov920.dtsi | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi index c759134c909e..e65be0c97f7e 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi @@ -193,6 +193,69 @@ gic: interrupt-controller@10400000 { interrupts = ; }; + spdma0: dma-controller@10180000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x10180000 0x1000>; + interrupts = ; + clocks = <&cmu_misc CLK_MOUT_MISC_NOC_USER>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + + spdma1: dma-controller@10190000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x10190000 0x1000>; + interrupts = ; + clocks = <&cmu_misc CLK_MOUT_MISC_NOC_USER>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + + pdma0: dma-controller@101A0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x101A0000 0x1000>; + interrupts = ; + clocks = <&cmu_misc CLK_MOUT_MISC_NOC_USER>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + + pdma1: dma-controller@101B0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x101B0000 0x1000>; + interrupts = ; + clocks = <&cmu_misc CLK_MOUT_MISC_NOC_USER>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + + pdma2: dma-controller@101C0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x101C0000 0x1000>; + interrupts = ; + clocks = <&cmu_misc CLK_MOUT_MISC_NOC_USER>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + + pdma3: dma-controller@101D0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x101D0000 0x1000>; + interrupts = ; + clocks = <&cmu_misc CLK_MOUT_MISC_NOC_USER>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + + pdma4: dma-controller@101E0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x101E0000 0x1000>; + interrupts = ; + clocks = <&cmu_misc CLK_MOUT_MISC_NOC_USER>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + cmu_peric0: clock-controller@10800000 { compatible = "samsung,exynosautov920-cmu-peric0"; reg = <0x10800000 0x8000>;