From patchwork Thu Jul 2 14:52:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Tomer X-Patchwork-Id: 11639247 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 D54FB618 for ; Thu, 2 Jul 2020 15:05:11 +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 85612206E2 for ; Thu, 2 Jul 2020 15:05:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DEMB7vb9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kCiAjhKb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 85612206E2 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=ZL37RLvAQXl/WP+CujLGmCXYEXzj3He7F8tHlXt9vVE=; b=DEMB7vb9kMBiv830ad9SJXvBVf GoVUxFk2LXgM3Wb3yX30mMqZeb+0DKxCkbR3PFO8nJUzpTFHmFNwfABw6llNFuUZlznQzy7t/drYf JxFzJOQWLoZ2W5HG1Lz4iJiFCNt5I6qvHsyIdcSwDB3T5nNPr+ULtYGGosb954mYOxIZ4kNM2ffF/ 9aD+q5gXEQdUyrusZcWjQZvf0Qq832KMcfj2ZxVqhrFwV5wZ/WoLcP1GqK3kY7YopjQJFFAs5ypET 7ke9Tm6oKYABnU8Z/PSxV3I3ZxpBnkQoXK4SaZ21v5nUfIdRwh6AJcApjj7YwT48Dti0b0avje9YA qr9oTEng==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jr0jd-0005n1-4o; Thu, 02 Jul 2020 15:02:45 +0000 Received: from mail-pl1-f196.google.com ([209.85.214.196]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jr0aw-00018V-8f; Thu, 02 Jul 2020 14:53:59 +0000 Received: by mail-pl1-f196.google.com with SMTP id u9so7797261pls.13; Thu, 02 Jul 2020 07:53:46 -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=mYopmo1QBURxBReeOvkyb4h/1ly+5I6BoxpJA64kn10=; b=kCiAjhKb7ZPCkH158lWZPcMXv3MO0ArqKd6DTfiZepXpUNh9e7vAQbcyQHlR6vbQYl TNL+3G5nxfJ72EucIziSFz90+14Aj3vdW6j38NbXGFcyo+eY8LFyi9WCgYeBARhQEwco D5LR1rY1Dt6qE6eTEMQ0pbxS50zcDd9krt7UJumi9Dbk/k0CK5e71SnJ9oPHu8fbnf1t swXRvvIQvrTGgNyoe9/02FnFFDVbBkqlrpqcZA3Csg1tO8k02pjhB8enLET+c0UfqYyo SLclEnRUKF+/Oxq71lwO7EJwJteUQUzPAGGw2csdPwFWrNGgZvNIXUyELaohAavMulTu Ebyg== 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=mYopmo1QBURxBReeOvkyb4h/1ly+5I6BoxpJA64kn10=; b=Y/OhXa2R8+MxpH0l2tyoROVQB7qEBv445eAW/w/em+/VugWu4P1eMgg5VFp9AkpvXa LC9TgrqL69NjufNnHjfZyog5oExN8Wl+Vu3sJ1/bqINOsplOtnEqTZ5+AqXQRmpnq4ah o96DaVRyBIwjlr9DTd3D2TghrmTPKVWjFGEo8x9npZhAeUSZYP21HeEl8CP0HRwAxpvT SWFYZFZrGiBKKsSwWYQqAhsUC0UCGZC14ZlDuU1qH8u/fYe8pHP6d7OpLYGjP82l2Cfy QoJQFHnlwl+dYILNxwsP/M9j8kRjy5eeKynnjrx/K7fEVJqvQNJsPiOzdQSd0hMFiBEl sFYQ== X-Gm-Message-State: AOAM530xYnhJ/K7vw2KhkHA0u9RddaDMhYnAfnMKeqJqDBl+hWte15DW axdw1OyjKkxIzlFL5dUT+/I= X-Google-Smtp-Source: ABdhPJxupsFb04RY/hgMT8GQWqc156FJz5i+PZf/E+i+Q3b1IhAackvmZzIN6uY6CdajVwz2TOJYqA== X-Received: by 2002:a17:90a:26a4:: with SMTP id m33mr13170620pje.124.1593701624760; Thu, 02 Jul 2020 07:53:44 -0700 (PDT) Received: from localhost.localdomain ([223.190.0.253]) by smtp.gmail.com with ESMTPSA id 204sm9487891pfc.18.2020.07.02.07.53.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2020 07:53:44 -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 v5 06/10] arm64: dts: actions: Add DMA Controller for S700 Date: Thu, 2 Jul 2020 20:22:52 +0530 Message-Id: <1593701576-28580-7-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> References: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200702_105347_758483_FC6C0EB1 X-CRM114-Status: GOOD ( 12.21 ) 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 [209.85.214.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.196 listed in wl.mailspike.net] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [amittomer25[at]gmail.com] 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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. Signed-off-by: Amit Singh Tomar Reviewed-by: Manivannan Sadhasivam --- 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>; + }; }; };