Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp283539ybl; Wed, 11 Dec 2019 18:20:51 -0800 (PST) X-Google-Smtp-Source: APXvYqxxQoXSD/EjQcg7uLty6qpVqvw8KvtKg1RRmW4iDr0386S9Qw1EI9qQKzaxgHSicmKQpEBz X-Received: by 2002:a05:6830:15d9:: with SMTP id j25mr5088882otr.279.1576117250924; Wed, 11 Dec 2019 18:20:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576117250; cv=none; d=google.com; s=arc-20160816; b=fr/TdXvPjRE+fDGzX80DGlBGZaBwB6XbpdX0XwGY1HW/TeAT4Jm/7Gu77QhWndF3p5 H26Ju40Y26VplQycptaz9NiymNX3pS7kjN4LXE1vW3WqvPKjbstkO+7b2feArz0HAedq XCwEKqQWCkqIWbKsty9uQKVQzn2x8SNcglpMURMIGNFrel2gffurx4dHcpxcPnx5rF5c Jw5HamoAIkEmkA1LkLIHoHgNA1aXy5i7hsQBGR/nLHvZ9KMdi7gdFAbbp+KB5qG/OPFT WbssccBx2gfm0E+ob7+LhNfUfqK/oSTPgm+fJdqqwWipCvBdQehsD4kN/llnwUPszACU CL4w== 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=so8iBQviFbI6UATWQypp6l3e4ElKgMF1RlJtdgI0rLE=; b=rA02jqZEqA2DbgTTUynPrOh1XEJFjlx75mj+KDmZKCEVKIxqDfD9oJLs46fBgwUDqs Rk2KkEICK389qc6Vc1uL/OkhsTOvvTxLc0PZIXHcIluOhM8IQFPkdpHganQxtOVSe2aG FI7tE98wDTHDnuQ5dwaDGGsBPbq9St18dQiCA2kRAA3E8ZHzwl+o9N6HmsUklt3GENM6 zHPAdjdrQEDQonIqiNfeuFU4NX1718g7VFVjUz51pDd8KPLUuRkU+RJC+UJZfB8C8Iy+ KqqVa8nKFJNQZpiGfBr8jwBsu4/S85Xwbq5M7cGqjsQCreeFY+AOGAtzdMoJ2L1kTaKd jCmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="odb/UIKl"; 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 e64si1683188oif.210.2019.12.11.18.20.37; Wed, 11 Dec 2019 18:20:50 -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="odb/UIKl"; 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 S1727734AbfLLCUF (ORCPT + 99 others); Wed, 11 Dec 2019 21:20:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:39080 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727592AbfLLCUF (ORCPT ); Wed, 11 Dec 2019 21:20:05 -0500 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9C3A7208C3; Thu, 12 Dec 2019 02:20:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576117204; bh=WCnzKfA5mZ8iHgw9EUafDcJ6IlFqAjGtxuR1gUjVxto=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=odb/UIKlx4nrIjmRzmJOiScGwVsZi81CCIvw6Fru+s5tIZo2O5YvqT4A5HdCODp6L ts7vr/hsSOCKjh+Iuab/akV9I69OctM0tqmpaGD7owqUw2R1VMu7Us6bzUZ4rcUNPe WA75iUe1X4AMTvQn+Xf8iehsTImopA4lCPvYCIcI= Date: Thu, 12 Dec 2019 10:19:51 +0800 From: Shawn Guo To: Peng Ma Cc: "vkoul@kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , Leo Li , "dan.j.williams@intel.com" , Robin Gong , "dmaengine@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [v4 2/2] arm64: dts: ls1028a: Update edma compatible to fit eDMA driver Message-ID: <20191212021950.GE15858@dragon> References: <20191211080749.30751-1-peng.ma@nxp.com> <20191211080749.30751-2-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191211080749.30751-2-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 Wed, Dec 11, 2019 at 08:09:39AM +0000, Peng Ma wrote: > The eDMA of LS1028A soc has a little bit different from others, So we > should distinguish them in driver by compatible. > > Signed-off-by: Peng Ma > --- > Changed for v4 > - Add new change patch > > Documentation/devicetree/bindings/dma/fsl-edma.txt | 1 + Please have bindings change as a separate patch. Shawn > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/dma/fsl-edma.txt b/Documentation/devicetree/bindings/dma/fsl-edma.txt > index 29dd3ccb1235..e77b08ebcd06 100644 > --- a/Documentation/devicetree/bindings/dma/fsl-edma.txt > +++ b/Documentation/devicetree/bindings/dma/fsl-edma.txt > @@ -10,6 +10,7 @@ Required properties: > - compatible : > - "fsl,vf610-edma" for eDMA used similar to that on Vybrid vf610 SoC > - "fsl,imx7ulp-edma" for eDMA2 used similar to that on i.mx7ulp > + - "fsl,fsl,ls1028a-edma" for eDMA used similar to that on Vybrid vf610 SoC > - reg : Specifies base physical address(s) and size of the eDMA registers. > The 1st region is eDMA control register's address and size. > The 2nd and the 3rd regions are programmable channel multiplexing > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index 8e8a77eb596a..b3716a89fa0d 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -316,7 +316,7 @@ > > edma0: dma-controller@22c0000 { > #dma-cells = <2>; > - compatible = "fsl,vf610-edma"; > + compatible = "fsl,ls1028a-edma"; > reg = <0x0 0x22c0000 0x0 0x10000>, > <0x0 0x22d0000 0x0 0x10000>, > <0x0 0x22e0000 0x0 0x10000>; > -- > 2.17.1 >