Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1171273ybh; Sun, 19 Jul 2020 10:44:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyISvNIbVxRcbT1S0EGERRwpLZdPZpbkAjutEaHJmmgHv/Z0iPK9g/SdCzzME/I6/E5V2ae X-Received: by 2002:a05:6402:1c96:: with SMTP id cy22mr17921273edb.79.1595180641311; Sun, 19 Jul 2020 10:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595180641; cv=none; d=google.com; s=arc-20160816; b=Wzz0AmAdTpysv10A4A5kLCdzDg2GJYZKFNADNx2itOxftX1h0AfZHyWQcW7cyvID++ rsRt2e4qZ0+hO5PZ6ik1gc98ahhC2/YTHRFf6XfD9rOA7PMoU6hOEmOpVylBe7MWpSrW qy482Qq5g21DXIjtHKeYakTUM0eoU6Ln3ZOnnmTmuAOviwdZT+5HDY+pDfsmUXwjpiw1 Fqse3+iuF4zMf+1lk8RLYV7HNq/xvsfN5RUGd5qD7LMzHvMG1YBnz+Htx078f6FcHhN0 BeAI9gnr4QoIzdfhXKeN/8DYkXxVMycIZT+LAZTpQhbIPgE2r0+zGHJ9/hPJXvArT9SE 17aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ln2ry33JZeYSRz7UO65SnIUwaEVYySx56C+yn6tKPXQ=; b=rBpMAQ/MN0YkDDwjNzhaoD+ENn3o8p4kCwl5NM/lQuUzHL9TiMlAhbuxyuDebmRCB7 f2GSQTRCTt7OQME1+65rMRcR+Pf8YRSQL3OVYKgILELvxBlpEkuJ76qjdxVLCmbvC8eo YPK7xx1RnAOpCW1RcYrpKRFwqNHlBBh7viSFuR3SlRx+V39D8H2AWpDS6Xb3WbOKz6Md mu0nD7RzvZsRT6BP2c95UAGQJ42j9hERTSvBqwrDwBZVipwrlWdA9p3xEh0jNM4n8psN TaE448EFUcHNCp8oto+2Gp60p8BmD2BIamKj9oTiGaW7+bKLbe/57XOp5gvPHy08L+SP 4l1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T4A14xNY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n17si8914443ejc.193.2020.07.19.10.43.38; Sun, 19 Jul 2020 10:44:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T4A14xNY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726653AbgGSRnB (ORCPT + 99 others); Sun, 19 Jul 2020 13:43:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbgGSRnB (ORCPT ); Sun, 19 Jul 2020 13:43:01 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0D90C0619D2; Sun, 19 Jul 2020 10:43:00 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id w17so7611775ply.11; Sun, 19 Jul 2020 10:43:00 -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=ln2ry33JZeYSRz7UO65SnIUwaEVYySx56C+yn6tKPXQ=; b=T4A14xNYImiKs5f8YkDq4Bh1g5kT81BjvllgxFeNPlYTAHgha4D+OFuOhBdMKKAaPq 0vkGtnTzPJzB7gio009QBGcs10xQY22lB4cgpiF+U6oX66+r/yvdyVcMFCqfNGMisg1g r2+1jYdIvoPOi36YUxMZfpzFIerCs0B3+WI44Owu4+cPTqzB/0QhpiouF/5nB+BqPHJZ 6haAN5myAQICQ2YI4q4yQyziqg4F6mCwfKsDPlXNkvAVIT8YPiNms/BO7WAJ0RfU2B2o AotDK0csSbWayGzLwYuWzCDMqE2LbHD+5oavje3liAP5QPPKT0jYYbw5n5THWzvyWfBc NN6g== 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=ln2ry33JZeYSRz7UO65SnIUwaEVYySx56C+yn6tKPXQ=; b=MozAoZ6W+lKSn9rsExrurbmptzlOzaWwihBfM8cj74CHZY3dBEDTSehJqpik/sx+j0 lKF0+bDxZPnavVNApF//fPSpBfTrpIx1iprEz94SbvdMSB9JcmlFIszVp6q/+/lGECaI FW1lkDde6dxFxIqK4pQ7NrWbwgj8YTEOdJDOj0RsEgP59MbDgjn1XaF5sIMSKaUg6/n/ UVlkJ4vqvlmqbbu5XB/eg0Y1gY/dERbsXbBfA7Z0uFl7hyE2Obpn2DIX9jGgHKnUMoJy CKgNDGAW8chjeb2h6tC5WVC4i4gN2r81Yt2Uoi0iifI5nSGstMEvVm/iiIURR0jb25me MYcQ== X-Gm-Message-State: AOAM530Pr+8hMAbkdp1RY59kemOHHhQaY5yIO9Bu/bK8YbhZOi99y6/3 IgrAtnwhocZJ7FMA2Umry4g= X-Received: by 2002:a17:90a:fd12:: with SMTP id cv18mr20453301pjb.66.1595180580493; Sun, 19 Jul 2020 10:43:00 -0700 (PDT) Received: from localhost.localdomain ([182.69.248.222]) by smtp.gmail.com with ESMTPSA id e191sm13906083pfh.42.2020.07.19.10.42.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jul 2020 10:42:59 -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 Cc: dan.j.williams@intel.com, cristian.ciocaltea@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v7 06/10] arm64: dts: actions: Add DMA Controller for S700 Date: Sun, 19 Jul 2020 23:12:03 +0530 Message-Id: <1595180527-11320-7-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1595180527-11320-1-git-send-email-amittomer25@gmail.com> References: <1595180527-11320-1-git-send-email-amittomer25@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 v6: * No change. 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>; + }; }; }; -- 2.7.4