Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp390216ybg; Tue, 9 Jun 2020 03:21:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkepWh14uPU7akU/hsI73iQWik9Jiu19/SjinvANBTSAQVYTY3aGfuJpKMciqf4XDYec/r X-Received: by 2002:a50:9b14:: with SMTP id o20mr2222173edi.371.1591698067571; Tue, 09 Jun 2020 03:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591698067; cv=none; d=google.com; s=arc-20160816; b=UxpEdse36y45p3ojQPsCoPRxc82fYWg+s8iVA6iVMjKMOflvVfklkK0KmTr9f/q5H1 b1yeemDgeqNw9qOtm+ZtudnPEogHi+V8ptj5iFFCa3paXSeLR1wCqxtN6RSfj2YBa/Zb D8a8Cr1p2ieEUARsWJqMCvsy75OF3hJER3Y3F6vpyflCKH7JxfjLG6K1N6pujmcmtodQ RQaeH26eyzTyyS1sKEkrWbmIzNVCh7JgwaEGR4zC4GO3wzyCm60x5vv7Qh+FXKOV/5un hqHQHmzJuV3Mi7dDw1RhOdGBPWCoZ5NJ3xdyaoIFBp6Iei4dDnekpI0C0LpBFhb3mkXk zpeA== 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=3ZU81gDLD05tzXgioqFPIFyl/4tbhqSTfVFHFtk6IdQ=; b=oflvxiYuZPIOkkXP61//Tm8f2D9kxZ6LKk9b0KxckeTs+uwYE2xUbglQaoRl8sXdJ2 tUDtlW/sQmXekeamQ1IA4pmtAoDb2WbPXXxbptcbSPUzRhYdQ0/hq6JNMT+q4ZfuCarX m9Y4nwJ2GoMjr12a4IFk005pKz/9Ffd7El89vamhdfg2iJexlarxpLXdCg0ttpukvqcj PTavQ+AOsGCwh4j2ozVM4zHw5zPuGKFq6ppH3pXLrUBXziyro7jSt1dgoiG8fombFvKV Hxk9fDp8xPW09Hfjt9IL/7tJFqAeuFs1udEbnNoGgNwJ684O2q50FEuhpZqqPyNGcikI XDsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="bIqH0Ku/"; 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 w8si10340965eji.455.2020.06.09.03.20.44; Tue, 09 Jun 2020 03:21:07 -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="bIqH0Ku/"; 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 S1728733AbgFIKSb (ORCPT + 99 others); Tue, 9 Jun 2020 06:18:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728686AbgFIKSC (ORCPT ); Tue, 9 Jun 2020 06:18:02 -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 991A9C08C5C2; Tue, 9 Jun 2020 03:18:01 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id n2so7839912pld.13; Tue, 09 Jun 2020 03:18:01 -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=3ZU81gDLD05tzXgioqFPIFyl/4tbhqSTfVFHFtk6IdQ=; b=bIqH0Ku/BOXm3Pkhhqhlzm+QHO0b3jM1Xu5fvEw/1EhvAF/q/hD1zHYZe9vMy2YaKB CVgD/PJTz1wRw/cIZzRFpAzvE5ZGsPENuVoz68VaTTUX7QmcQSG6hXML9qcfdMugiSWV UTsZHDiAJokSKCdQz9Je8j+KH72RYxy2eKUAn72MMBkQuh9+HTM306XxMrBVR0Cd5uIl o7N3bzjbrElqRYfphghg9/STBE7Bbn4u2qZ3e559TMYlJ4g5x2xUs0xDAxo+c4cot5Q8 o5iNHy2IF+rJtlZXPyIrdRL6coqBVfKiCo2ob1mX1u0yQ8SGCFM11BB1D6YPV1cr4tVA h7tw== 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=3ZU81gDLD05tzXgioqFPIFyl/4tbhqSTfVFHFtk6IdQ=; b=ev8eViwc106I1TJMQU1MoNUB8ZVaZTPqWMTJUnNV2Vzxz9JlM+aeVY8jnwwBAe3eed t+j0tI5RlaZlwfpQIdcZQXEBYiiYkJ5Y056tDcK7ljxVscWS6Eg6qPJ/e1Vo0NaX2Gnb c7chmKGemHQbGllRQXvBx8z/ohJfBwOuSMz+OnAJfvjbpqhteHbL5s95ofqS4d/BrZ7y k8iDDlrIV6hYK+/C00YDdfUrqbkFt49axHrbWwWnqb9dJWVGLrYZrlyiKs2V5Q7lxz8E 9KAVAVm//agxachuf7sTc59wfSfePrjbHMgs4YAdvpXtq0u4HTyEZebI5bFlcn2KIYmV Gw3A== X-Gm-Message-State: AOAM533z0XwaR3h2rkMwj30QmJo27f8CiYjVhKEdxGrCeCv20rnnj1cz TGRqZZyvCEp/LJQBJfkl4eA= X-Received: by 2002:a17:90a:a405:: with SMTP id y5mr3907791pjp.15.1591697881130; Tue, 09 Jun 2020 03:18:01 -0700 (PDT) Received: from localhost.localdomain ([223.190.87.90]) by smtp.gmail.com with ESMTPSA id d189sm9637253pfc.51.2020.06.09.03.17.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jun 2020 03:18:00 -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 v4 06/10] arm64: dts: actions: Add DMA Controller for S700 Date: Tue, 9 Jun 2020 15:47:06 +0530 Message-Id: <1591697830-16311-7-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591697830-16311-1-git-send-email-amittomer25@gmail.com> References: <1591697830-16311-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 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