From patchwork Sat Jul 18 09:19:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Tomer X-Patchwork-Id: 11671799 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 86EDA618 for ; Sat, 18 Jul 2020 09:22:16 +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 CF361207FB for ; Sat, 18 Jul 2020 09:22:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kBs8Vm7T"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rT4nc9Lh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CF361207FB 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+patchwork-linux-arm=patchwork.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:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=SKf8a9LzlJ4ArJC8ApBkm2rFx+bWynwypaMtgTPLuN4=; b=kBs8Vm7Twz+yKvaa8LMpQYuHrt BXHb2MZlN2Y4Sc7k8VU5FFWPY/Ke6p3K+QGZ1cc+gEcxpGF0MvKHJrA4fOi8bG4yPQ4C/4iautL3E JV01Z4rz9rBXImkVCQUElY6tg1iCquClamPicDaXG2aODv3iWWHVWONsNnQParGHemFmWcrHkG6GZ RBXwRB6qeFefPfKvsvnhoKpWtzNfi2u26qhY8UBSLN3aHYjNUBIwIF1w1rEqFw/OJowyK+iK5ussL vlMgnQhsa3gWIwcZ6pzX7pYe/39ph3ne12XQktjqb8A8Ixi/2uG5LmwDHS+yeQ0ZSMtHExvCL8S9y AFFdcVxg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwj1Y-0001oT-Ob; Sat, 18 Jul 2020 09:20:53 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwj1H-0001gX-0v; Sat, 18 Jul 2020 09:20:36 +0000 Received: by mail-pf1-x444.google.com with SMTP id a14so6580725pfi.2; Sat, 18 Jul 2020 02:20:34 -0700 (PDT) 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; bh=dlgQtSt8lmQHKVQg6Y2+SUeJ48KeaI0kz4R/u3ja4Go=; b=rT4nc9LhZf6o8r8DUb8OM8Dx4gE+t+VXyWau1AEUJKS04IPpleeNFd+PZ3JXWFU0lx 1KOOr+XvZyaqKWWove1xqYC9wWcozkLeT5JD96K6Y/3ZgU+CeaJBjrhpZP18qRveaEA6 sXpgAUKGFKYIzeauWupC5CuqUj1lWZN9yf6k8virMsuGlDKUgKLag7DyeG4PY6h1wVo3 7ZZNX+KjJEmCH6NVCAV85RJyD1LZVTd7avAUVjTIVLlWgOLUdOMcqjgMWr8SpXq2rCWn IQAC/j+fioOB990PVb/B7V6+NPSECuJKiMV6eFdSNy0UamETDGmYl6KS4zGT6atCU6zC IjaQ== 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; bh=dlgQtSt8lmQHKVQg6Y2+SUeJ48KeaI0kz4R/u3ja4Go=; b=JymxhMDVEkeEz2rbt2F1CarJcVZ5oWQDyOLrMzuLkMtfvcPyqSs571EyuT9gESME6x vk33mAOa4WS22sVYPbquPEVAJTZkvOKBCtp2TRRo8X1skb+w9/2cCN4ls6i1V82bpY0P x1BV0m877Yo88vuCbwQU1yIzxuG83n9nj4keiyNAosV3wyA6vMiztGKNrN0FpnIaZAkc 7GIGiJXUmmVxbrYYqAW0/j+1kBx4rXInmBmuToQ482OVsONF88EoeqZ79nJMk7fvEfC2 WAvA+BZCWQnVgKeG+PqRa8ATgdwWz/6exhvFfuhpyxj9N1dOTvc7nCwm1lmi+2R/16IF Z6Ow== X-Gm-Message-State: AOAM5323vDu9EY4hTx5RugNbjsUMojn7ca7bppatZorSJpuMwRnv10nd gtwxY4rTk0NQVIVbG3CMLQw= X-Google-Smtp-Source: ABdhPJwjkcJmrfPAlIMSO40Q1P0k8mY5xfVxo61WhQtpkjDIG98DhjqaaoFyfr5HNiQLHsL1LNwG5A== X-Received: by 2002:aa7:8651:: with SMTP id a17mr11823677pfo.48.1595064032954; Sat, 18 Jul 2020 02:20:32 -0700 (PDT) Received: from localhost.localdomain ([182.69.248.222]) by smtp.gmail.com with ESMTPSA id nl5sm5217800pjb.36.2020.07.18.02.20.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jul 2020 02:20:32 -0700 (PDT) From: Amit Singh Tomar To: andre.przywara@arm.com, afaerber@suse.de, vkoul@kernel.org, manivannan.sadhasivam@linaro.org, robh+dt@kernel.org Subject: [PATCH v6 06/10] arm64: dts: actions: Add DMA Controller for S700 Date: Sat, 18 Jul 2020 14:49:30 +0530 Message-Id: <1595063974-24228-7-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1595063974-24228-1-git-send-email-amittomer25@gmail.com> References: <1595063974-24228-1-git-send-email-amittomer25@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200718_052035_190343_A9F882FD X-CRM114-Status: GOOD ( 11.39 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [amittomer25[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [amittomer25[at]gmail.com] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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: devicetree@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, cristian.ciocaltea@gmail.com, dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This commit adds DMA controller present on Actions S700, it differs from S900 in terms of number of dma channels and requests. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v5: * Added Mani's Reviewed-by: tag. Changes since v4: * No change. Changes since v3: * Fixed typo in commit message. * Placed owl-s700-powergate.h in alphabetical order. Changes since v2: * added power-domain property as sps is enabled now and DMA needs it. Changes since v1: * No Change. Changes since RFC: * No Change. --- arch/arm64/boot/dts/actions/s700.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi index f8eb72bb4125..2c78caebf515 100644 --- a/arch/arm64/boot/dts/actions/s700.dtsi +++ b/arch/arm64/boot/dts/actions/s700.dtsi @@ -5,6 +5,7 @@ #include #include +#include #include / { @@ -244,5 +245,19 @@ , ; }; + + dma: dma-controller@e0230000 { + compatible = "actions,s700-dma"; + reg = <0x0 0xe0230000 0x0 0x1000>; + interrupts = , + , + , + ; + #dma-cells = <1>; + dma-channels = <10>; + dma-requests = <44>; + clocks = <&cmu CLK_DMAC>; + power-domains = <&sps S700_PD_DMA>; + }; }; };