From patchwork Thu Nov 19 23:56:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11919235 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D15ACC388F9 for ; Thu, 19 Nov 2020 23:57:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F8532225B for ; Thu, 19 Nov 2020 23:57:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AKrkFI9k"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J3/Yt5Go" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F8532225B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=17rBpXqhNB94JyrVBaEXW7n7nqnp4LMnQonYMhyWiAY=; b=AKrkFI9kyWmDokTP98hmt29kS 64dOjILNu5xqbYk6OoMxODko9MDXVahzKB5wd7RZZm1s0vJov0PW9TFkjlYaNpDk0jMRR8ZPJxXpg 5F5oFpuzYm5wRGzoRJPW0WovPmWrCPaxJBHu2cp5hpBowlP572bpAYR36cGZgwlA6tWfs/SG+92s2 GQT1sURJ0GqKq2hRQyDbLStgFScyVETbGojoAoacTMAuKmtNy7XjJkUQqXynadE4gSXiylIWuXb+Q kLGOPrMDSWlTZ0KwVEKvzFA7DEB6Oy8gl0nMM1x8Lrxe5U9lHIKOkEbEiACrbYrSmESWRB8ikCzDi OsmEGBYOQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kftnN-0000BS-Te; Thu, 19 Nov 2020 23:56:58 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kftmq-0008QC-Jq; Thu, 19 Nov 2020 23:56:25 +0000 Received: by mail-ed1-x531.google.com with SMTP id t9so7688081edq.8; Thu, 19 Nov 2020 15:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gL8uFPPVpKtnByzpi+zs85SIoQDHZ+WohxV8JQYlXWw=; b=J3/Yt5GodddJ820SKE1n+Hz741TFBv3kjyZ+nsiN15RiUFNrCaNH9FsI+M6LIn0qrc SEPZT0N8cB5i/vQ7D1O92BUc25Sa2H5bmQGii9R+iXpjWTGsckrAD8xZjkHxk4EDD5uX UesF3evaZEPRHt3CreuiqNDBkBMusmNobojpPhzPzP8OIFPjmk09SztmxcLrn0MbxPhw 43BMjlq7fN4SYPWecJyKyTvKiTtSiDkTK6BRJC/RdwLE7Ja3hhpq0NMiMbhWByfBPeo7 lB8ZSDCue5QCck5l44YzForEfG0LO1I4fXq2LHcP6ipz5nmNiRvh4O9LLeQ+nxOm6dxo D/aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gL8uFPPVpKtnByzpi+zs85SIoQDHZ+WohxV8JQYlXWw=; b=uSLtV1ElaGMfxW51hjcoCOwNxspowSTLcNOnxr7LXq6+V6LZqLEcCjZr/yBcBPg5j0 ZRZXl91gushvr6N5rnQGSniv+8H5uEGiDX6YRuMQGn1xxAnMmTMPOswMVGTeJrggdv6D RRrFAOdNYZ1u2U+/9h31iDOqynlaC47wd7opmN/8ha5iVW8ncPc8hI43tB3zzlyM5/BY yFCHZg61B7Ul20O0yjBJDb711ewiB/R7vWMeYBvN8SXb1NeoxtRV5y2pXDKXqTTOpbJH 09nx4R08v/004imaKXDdimt+WFa3A0CeKNZC0pXGLVORb24nxcpwxvTxOPvpP7LyNKRr GkhQ== X-Gm-Message-State: AOAM533Ts/89Y87RKJzyLwL9H8uSH2ldkwKHbYcT0qJpSB2xBg4ZnD3m Z8Azu6aGE59rM/hzRnucLvs= X-Google-Smtp-Source: ABdhPJxHZ8XMVUw5LSRwc08+zrd2JNUs+G3g9Y10qnP3VzNZODOzE2U3n14gkgcHxpiUNfHF7A3rpg== X-Received: by 2002:a05:6402:1a58:: with SMTP id bf24mr31802024edb.191.1605830183309; Thu, 19 Nov 2020 15:56:23 -0800 (PST) Received: from localhost.localdomain ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id i3sm452987ejh.80.2020.11.19.15.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 15:56:22 -0800 (PST) From: Cristian Ciocaltea To: =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Rob Herring , Vinod Koul , Dan Williams Subject: [PATCH v2 06/18] arm: dts: owl-s500: Add DMA controller Date: Fri, 20 Nov 2020 01:56:00 +0200 Message-Id: <543eadc1e3005ecdca780266ef148518b5091377.1605823502.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201119_185624_716008_5A58EB5C X-CRM114-Status: GOOD ( 11.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add DMA controller node for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam --- arch/arm/boot/dts/owl-s500.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index a57ce7d6d745..449e9807c4ec 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -207,5 +207,19 @@ sps: power-controller@b01b0100 { reg = <0xb01b0100 0x100>; #power-domain-cells = <1>; }; + + dma: dma-controller@b0260000 { + compatible = "actions,s500-dma"; + reg = <0xb0260000 0xd00>; + interrupts = , + , + , + ; + #dma-cells = <1>; + dma-channels = <12>; + dma-requests = <46>; + clocks = <&cmu CLK_DMAC>; + power-domains = <&sps S500_PD_DMA>; + }; }; };