Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10138184imu; Wed, 5 Dec 2018 17:07:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/WZA1gSbMeWlOLBUx/cDl8PC2DYXcYUErDQJn+Qvi9AUnSSYxgWEcI5NZa9xbdz6Pi0ZR17 X-Received: by 2002:a63:6984:: with SMTP id e126mr22633792pgc.143.1544058442054; Wed, 05 Dec 2018 17:07:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544058442; cv=none; d=google.com; s=arc-20160816; b=kKf1BaGXw3vlix/iWGNlkohlA8hPr05FI6+UGcIxqDpBaxV0e5iuOSH0SmtWDxwiKv u5TWV+qgy+zO5x6htcCKUkQeIA929/kuftUa1MpkO/bGZSqeXL6HwUzXhPyZN08PM+xt 9DTZSh61oy+PAbP9lpZ0f1wEenZD7RfO19+URdFpCXwW47GcxiciY6B+nxqCVemiJ0yt ifq4YVcs6ewgylQuA4b1dVxanjJ49c1VvX/F4uamrq781tV5LJUSIpoHugPI885eFfAA sCNHSZjWVk3nC+PmKF2ZiSUH2AuRPE/v8aBf7SQZ4aLBelGNiphaQnZswkn47Y9lA818 +ONw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=g1IGRSJRH7bhm4jvdAd6VvzVAVHlLPB05HEDX40qtXE=; b=eR/sOVStzryN2EegvdJ7LZBVvXARxpoQ9hJ4+qIbku9ktFoIrX2bmCrk3yR6glDq2n yJileOzBQxBosyIQQwWlk62Mw/dmUzfCN07UA3FgNutGaysRKzJ67r0O5GXIRom7GFOY Bwuu0S+VwhjNq+1hEmKMtzk/+D8f1hCxyRKO1tY8C+uwtXBhlud6pqDqCV7W4p0nV7ky LMF+w2tzkc+CCYBSyhJwYTlEOfFwUS/39zkZvjwPtF4gET3ulBRa7nvt+8frVfzgwqdp aSphV/dLSE+o2FfeqDU54sqsC08hedscj7qHYLM/RYCy0k980PuA/pcGkAqrmY1ta0gI oSDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hgFka1JP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si18520139pgs.94.2018.12.05.17.07.06; Wed, 05 Dec 2018 17:07:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hgFka1JP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728801AbeLFBGQ (ORCPT + 99 others); Wed, 5 Dec 2018 20:06:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:58452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727620AbeLFBGQ (ORCPT ); Wed, 5 Dec 2018 20:06:16 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 42A442133F; Thu, 6 Dec 2018 01:06:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544058375; bh=n0y/FePU5u0P26muBmNfdRLnEU2yU1MyrxUikW8Ok5I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hgFka1JPRPFb0327BQKVKZNsaCMRz22/YyI3EX6Kjvpg5K/MqRxKy6+B9g/AWA1Lf G3VnszjGhTeh7yVf7Ln0Hxc6/d8UtLRuNz8XelCW6lmnpMw6XjFQBqxh73tLKVEBT0 P7a6TyzWaqBDjDpU1Lg2VG2IDXjpkHUT37aJ8ARo= Date: Thu, 6 Dec 2018 09:05:33 +0800 From: Shawn Guo To: Peng Ma Cc: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, leoyang.li@nxp.com, dan.j.williams@intel.com, zw@zh-kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Wen He Subject: Re: [v11 6/7] arm64: dts: ls1046a: add qdma device tree nodes Message-ID: <20181206010531.GR3987@dragon> References: <20181030023604.34027-1-peng.ma@nxp.com> <20181030023604.34027-6-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181030023604.34027-6-peng.ma@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 30, 2018 at 10:36:03AM +0800, Peng Ma wrote: > add the qDMA device tree nodes for LS1046A devices. > > Signed-off-by: Wen He > Signed-off-by: Peng Ma > --- > change in v11: > - no > > arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 21 +++++++++++++++++++++ > 1 files changed, 21 insertions(+), 0 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > index ef83786..dc65318 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > @@ -704,6 +704,27 @@ > <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; > }; > > + qdma: dma-controller@8380000 { > + compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma"; > + reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */ > + <0x0 0x8390000 0x0 0x10000>, /* Status regs */ > + <0x0 0x83a0000 0x0 0x40000>; /* Block regs */ > + interrupts = <0 153 0x4>, > + <0 39 0x4>, > + <0 40 0x4>, > + <0 41 0x4>, > + <0 42 0x4>; Use GIC_SPI and IRQ_TYPE_xxx defines. Shawn > + interrupt-names = "qdma-error", "qdma-queue0", > + "qdma-queue1", "qdma-queue2", "qdma-queue3"; > + dma-channels = <8>; > + block-number = <1>; > + block-offset = <0x10000>; > + fsl,dma-queues = <2>; > + status-sizes = <64>; > + queue-sizes = <64 64>; > + big-endian; > + }; > + > }; > > reserved-memory { > -- > 1.7.1 >