Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7235301imm; Wed, 27 Jun 2018 23:40:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK6M74/SRyXdt/VWka0E+CuuNqgG9DciCXUAN67JWs4w1iae4K0tm8PY2FnVXqdNf+/gEef X-Received: by 2002:a63:7c03:: with SMTP id x3-v6mr7944880pgc.412.1530168009819; Wed, 27 Jun 2018 23:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530168009; cv=none; d=google.com; s=arc-20160816; b=rdZibyL/7Kx4cd6L1BkO3M0UR5BR4P2iU2ZdfE9ApqyG2r9aQ7V0Hx+Nw9AjXlhOc9 U9MWZdzsBv5qezrx9qN9Xfsf567FUQkOLrx0nD4ZatSEidYkabUnMY6IA/JBnlK5yQg5 MThbTN2kfuK4cscdq+ECW7oOOTXDXQDlhmnCFmb1RmRKXHspex3nqsjV7/jNe6/fJoYJ yjC9QtmcJ5OraWKfc4wFqShpJdQLzlTTvQHK7ccmPlC7bTKpfAoblrXW3gFnYeCyfJhf gMXg5COeRdTqiqjQhcGPHTneGqnTGb3xp3uBor4z/gFd13cC59proLoJAtyHIaB3qmPX j5nA== 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:arc-authentication-results; bh=FlSfY1O++7OOYtLIYvmEFumjIBAnT7anfq5c2vqcRPs=; b=UUai4InO5EKJTzClMv0r5R16VHSrC9w6wj+c4bMK/KslXUOd2t2AJrjWigXydcPlbi 6TN9YmxU0KlwtBClObmt1mA3pT7WfFC2NTBepVpdv11oSuW2rxqf4GEGSbvdlCnXSQI1 z7LxCv6am9o8ts6qk2/m+Xqaz7lCCl/Btwg+R0R2DnQSjUcpC4lBjdAau8QYp8emLoxo mj+IOZxT4OpBeT6vkfakDk7uG5lsQubfLSoAkhh0wKbTm0hH8cvyhBS/FLAe/BOxQosc v5J4fzkEJXh/M3ZmxQkMzV0+XXdnm2LUEUFyQc8xUBarkdKAqFU6TzO+nDH0DcM9jJLy S/9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iOa+Nbua; 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 r12-v6si2781253pfd.193.2018.06.27.23.39.52; Wed, 27 Jun 2018 23:40:09 -0700 (PDT) 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=iOa+Nbua; 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 S1753389AbeF1GAp (ORCPT + 99 others); Thu, 28 Jun 2018 02:00:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:40184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752108AbeF1GAn (ORCPT ); Thu, 28 Jun 2018 02:00:43 -0400 Received: from localhost (unknown [106.201.104.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D354726F92; Thu, 28 Jun 2018 06:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530165642; bh=D+qj1EbeBpBPVIKgKh+i3GcDwtNeMstXoRWCjoZ17t0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iOa+Nbua2d8TAYl18o9dDhQXVi20AdwxWAhQT4WmM8Q4Oq9wEZ5985wh3T+fAKUGy aYutG+aR6uS4j3kmGIbBbnUMHDZbyJRxpVfNidymlvGGeGQxKm73cRVwS+NVLwJRUC E+h4mIbVYcLSjYDfHFbm7TWArRHpsabgESGTcF64= Date: Thu, 28 Jun 2018 11:30:34 +0530 From: Vinod To: Guodong Xu Cc: robh+dt@kernel.org, mark.rutland@arm.com, dan.j.williams@intel.com, liyu65@hisilicon.com, suzhuangluan@hisilicon.com, xuhongtao8@hisilicon.com, zhongkaihua@huawei.com, xuezhiliang@hisilicon.com, xupeng7@huawei.com, sunliang10@huawei.com, fengbaopeng@hisilicon.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: k3dma: add optional property dma_min_chan Message-ID: <20180628060034.GN22377@vkoul-mobl> References: <20180622032416.20133-1-guodong.xu@linaro.org> <20180622032416.20133-2-guodong.xu@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180622032416.20133-2-guodong.xu@linaro.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-06-18, 11:24, Guodong Xu wrote: > From: Li Yu > > Add optional property dma_min_chan for k3dma. > > Signed-off-by: Li Yu > --- > Documentation/devicetree/bindings/dma/k3dma.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/dma/k3dma.txt b/Documentation/devicetree/bindings/dma/k3dma.txt > index 4945aeac4dc4..2fa1370c3173 100644 > --- a/Documentation/devicetree/bindings/dma/k3dma.txt > +++ b/Documentation/devicetree/bindings/dma/k3dma.txt > @@ -12,6 +12,11 @@ Required properties: > have specific request line > - clocks: clock required > > +Optional properties: > +- dma_min_chan: the minimum number of DMA channel which begin to use > + the default value is 0, but in some platform is Sorry I don't understand this property, we already have dma-channels which describes the channels in a controller. What is purpose of this ? > + configured 1, like hi3660 platform > + > Example: > > Controller: > @@ -21,6 +26,7 @@ Controller: > #dma-cells = <1>; > dma-channels = <16>; > dma-requests = <27>; > + dma_min_chan = <1>; > interrupts = <0 12 4>; > clocks = <&pclk>; > }; > -- > 2.17.1 -- ~Vinod