From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED, USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D667EC04EB9 for ; Thu, 6 Dec 2018 01:08:24 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4B7602146D for ; Thu, 6 Dec 2018 01:08:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="sUkpP5Qe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B7602146D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 439HXj6CSQzDr44 for ; Thu, 6 Dec 2018 12:08:21 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="sUkpP5Qe"; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=kernel.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=shawnguo@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="sUkpP5Qe"; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 439HTR2WlGzDr6P for ; Thu, 6 Dec 2018 12:05:31 +1100 (AEDT) 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 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) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Wen He , linux-kernel@vger.kernel.org, leoyang.li@nxp.com, zw@zh-kernel.org, vkoul@kernel.org, robh+dt@kernel.org, dmaengine@vger.kernel.org, dan.j.williams@intel.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 >