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: 13893662 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2242B1B4137 for ; Wed, 4 Dec 2024 12:24:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.25 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733315050; cv=none; b=kxlXkXELXh32GYAegrhVAVGTkPHbaxEavYm8WbvROcUr+Uu3XNNIvQnFbwETsktiEHvm1b2n8NcB/72y+nH4FDFIlP6mr1Lb2p5sf8+DxzGKO+oCgdLBxJFTgaEskoS0JrL6XZkqtSXhAKE9NfrJGsw/Qh993AikeM2/7CZJzAI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733315050; c=relaxed/simple; bh=KcvPpGsThQgqGhk3avKFBDqxzwqGLab5Y2VPLCGea9o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: References; b=pN2siisWhfjyjKT5YDk7h6wPaiTllxidiGl5U2OVzUBveRMMKEFASaY/hFyh2nI6D0dsjtk5rPi4PaNh51781yaz0OZgHMzwejA8zKkg0JJtvbXY+5y5YpxMKqu17Du0f83apOrN8prFGZcYQwAG+urJLk4T5DjGMyunlnRfRG8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=TIXch/mP; arc=none smtp.client-ip=203.254.224.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="TIXch/mP" Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20241204122404epoutp0237bd04eddae153ca161b23f60d59ca91~N_NmGo9-c2078520785epoutp02C for ; Wed, 4 Dec 2024 12:24:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20241204122404epoutp0237bd04eddae153ca161b23f60d59ca91~N_NmGo9-c2078520785epoutp02C 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 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMKsWRmVeSWpSXmKPExsWy7bCmuu5jz4B0g9PP2S0ezNvGZjH/yDlW i2s3FrJbvJx1j81i0+NrrBYzzu9jsvi/Zwe7xZefD5gdODw2repk89i8pN6jb8sqRo/Pm+QC WKKybTJSE1NSixRS85LzUzLz0m2VvIPjneNNzQwMdQ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AAAAAAAA+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: 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>;