Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1538779ybt; Thu, 2 Jul 2020 07:54:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWTy7pwCo0C+SEKBNNV9cFSAJ1GsD2ZzOt9G5E3NhXk5OPaziZN8ct94riMkn9MOUcp7gJ X-Received: by 2002:a17:906:57c5:: with SMTP id u5mr12419342ejr.311.1593701668842; Thu, 02 Jul 2020 07:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593701668; cv=none; d=google.com; s=arc-20160816; b=h2OjSDFo9jGvmmmJPY9qNHiHgqaEzLD2JUos9iJE68P6EVY2kLoYM2YkoG/+h3OpGR L4LFgWdI3hgrloYel3uDda+fSlx5L7REcO5NaOnATMtpjFHF4RO3ehQxljwpw7pv1igR ZvDmWKkTbx9HUBJSTjXoqtBNzKgAtt3YZBJoCV1XH+xl3I4aOyr0OzAXpZyi4gAebILY ynVKPO7iCendsfCgOOXJRDeX7L1tsY5qXFQGvrNEv28vKpqrqAofrxr16CYe4nhm/rUX 8acAWiac58hGoc6I6LcgBwiX68knYSQXfZs+edN3Dxoo8b8o9Tg0Y//kZ9zI5vcg120b 9Epw== 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=mYopmo1QBURxBReeOvkyb4h/1ly+5I6BoxpJA64kn10=; b=sp62kHZ0UAJU0kCLHZzIp+/9RbUgao6dU6cvaddOywTDlO8zG+8M7G3dvNBWLplKZR mCuafKbL6XmHhbwAeiX/UCmwGnuAtAh4g+iKvHethsP7LjaSWISkCOAZA8Oz6ZtyBECg fFSQJK1U6sLh8T+UmOXz7QE9NzMPhvY/igcW4v7uLdu6/1JUHMFsv7xiHijn1DLIekfa +Ne1UK6sqdqNwZ8oMZfc0fsfI+rNQFBoyxu0tDGivQB/a77jlATwMSQ3dPBfBplSN1n9 M0EYQ5f7a1J7rLdn8T13pBhVAEuqukOXvH4vUFXIjawB7Q3ZvnSsi2N52UbGzH7eJdHe hZtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kCiAjhKb; 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 d23si6047101ejz.145.2020.07.02.07.54.06; Thu, 02 Jul 2020 07:54:28 -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=kCiAjhKb; 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 S1730111AbgGBOxs (ORCPT + 99 others); Thu, 2 Jul 2020 10:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730093AbgGBOxp (ORCPT ); Thu, 2 Jul 2020 10:53:45 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D42BC08C5C1; Thu, 2 Jul 2020 07:53:45 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id l6so9461650pjq.1; Thu, 02 Jul 2020 07:53:45 -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=qI2SmxIrdjECzGV6L5dkEpfP+FmFSNtZcyp8DbnpfbitJx1RmkAM7mt97ciUxjHEW5 Gjpb9TaxVG3ScvrwfcW/khHA4jpQTY9EJZAFeE41VwMPpndGBWRuSAGeD5TWgpoHThW3 TpQwzQqOCl04ItdP7f040D5qOjQIInuaCwnxUg8nbgZAk0g4lS1v5UPmflRcsTm+VgDA AbTgSfyRh0L3L8W3p5nETOpzuahq2+sQ8XDHefPWqM4P97Rg7bJZD244Gh5DgS1PcOOf AIssGCDWuUWwul70WjdzBwsXrOCyQPLutsLSKE6HdaRYQYmH46AMnP2m9Y4BC6Yo4wZD K+oQ== X-Gm-Message-State: AOAM532EuhOAKx3lgwGI/Pbu52WVHoUj+YRU8Yeb6hNjFmVwfL+QafgB bl5iFRWhj8qou9nyhxQ5Kf8ecHGjqaOABQ== 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 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 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> 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. Signed-off-by: Amit Singh Tomar --- 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