Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10137562imu; Wed, 5 Dec 2018 17:06:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wzgp6FW3BvWhf6gEp92Q1ek8b8sW9QHmTdAiHsDgQYejBx/+N4nxMYuNZeCjT53hGkbJVM X-Received: by 2002:a62:4e83:: with SMTP id c125mr26822320pfb.101.1544058395934; Wed, 05 Dec 2018 17:06:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544058395; cv=none; d=google.com; s=arc-20160816; b=HKU3aFeN1jAPNk0ugzt4UgJ4+Dw5jZLYPUnyRaV4KzIbngc4IbSmmPbiAQwX3wmppf nsWDeN8twMiJyPP0jI1HJjGSvdxekNh2lD0hhDClCDtJ5hx+asUX624Aq3freDBGebWI vzcgBt44eXSVVr958rUQ6pKjDDHMTjPE65SWpz/PLy8Y3eoeBM6fxr58IWl70qcMoG7F kDQxDCPozX2q26EJKA/W/BIHuK6f29ruqq9oS+dwwiTTxOt9U9qsSE/cB4ifW2m2adJN HVilhrtB+c/e9JYhA9ii36BvPsPisvanYqj993aX8o9Epy6zTIzS5AkArmZASqcZbRYy FfWQ== 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=6fZs6LfUixwR+tCVdmDNmf7j03OVWcWTwTZYHPfvVBU=; b=fefqn2i/ix6Rr3BzVmm4b8rTpzqurKTC+VIBIhXVYxnDss3+YjA8L2L+ZsH0utsTN0 jgAvfRbWdunX/18Ih1d7ICSjI1HRU9ta/Vlxn6+/yJJUtxsnuQ/YdpicC+39DaN1Mnvg DYf02STJBsyyabumu1Twoq/KTXSy4MqyPzdpi40GBUA1kMwDODLRIKt2/jnv8aL7pJ8H fYUxDNuGQTz/Oj114zbvdPmMYKJEsSsrjd38yt+fRun9uBTtb6HyOCnMM1fx5EBiUNsl SFowMsEIUriQjqG8oG7xRNLWdU4Bin062o3iWzrzJIEO9l/CL38ccr/sJZ4lTn+f/Ddk dvCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sUkpP5Qe; 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 q9si19246151pgh.92.2018.12.05.17.06.18; Wed, 05 Dec 2018 17:06:35 -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=sUkpP5Qe; 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 S1728716AbeLFBFa (ORCPT + 99 others); Wed, 5 Dec 2018 20:05:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:58278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727514AbeLFBFa (ORCPT ); Wed, 5 Dec 2018 20:05:30 -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 832382081B; Thu, 6 Dec 2018 01:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544058329; bh=Ew1oZ9WiJmSi/wEqdIaIqFMzUoSpqztyJt+RUFCAfZ8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sUkpP5QeE8bpESetLxa7Tr5nkGP87RebHK+Os2K4ZiMrx8414ohMnpgpyN1X27LRL 0q5BFz+xYAzB/EQVebXqOW1eymte843U9II5adVvPROPBfNiB86mJTTBW0NwkRcGtc hvQ8g6flSMgqP30bwHKp2Rld7m1dCA2eZbtWWGi8= Date: Thu, 6 Dec 2018 09:04:46 +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 5/7] arm64: dts: ls1043a: add qdma device tree nodes Message-ID: <20181206010445.GQ3987@dragon> References: <20181030023604.34027-1-peng.ma@nxp.com> <20181030023604.34027-5-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181030023604.34027-5-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:02AM +0800, Peng Ma wrote: > add the qDMA device tree nodes for LS1043A devices. > > Signed-off-by: Wen He > Signed-off-by: Peng Ma > --- > change in v11: > - no > > arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 22 ++++++++++++++++++++++ > 1 files changed, 22 insertions(+), 0 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > index 7881e3d..d560141 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi > @@ -734,6 +734,28 @@ > <0000 0 0 3 &gic 0 156 0x4>, > <0000 0 0 4 &gic 0 157 0x4>; > }; > + > + qdma: dma-controller@8380000 { > + compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-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>; I know this dts file did not use GIC_SPI and IRQ_TYPE_xxx defines from the beginning. But please use them for new additions. 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; > + }; > + > }; > > firmware { > -- > 1.7.1 >