Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1313007imm; Thu, 5 Jul 2018 20:18:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdZ2+nBorhU6kfXBLMZ6fPjQmq2zIas/5BZsgGMubgjfEjhxbiGegPPQ4v2+mB9S/bt2LaI X-Received: by 2002:aa7:80cf:: with SMTP id a15-v6mr8862296pfn.19.1530847125389; Thu, 05 Jul 2018 20:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530847125; cv=none; d=google.com; s=arc-20160816; b=VpTqYldoKTqvQTBvuNCO1AVk8vPEC5AByDAQlFZew42uKi6W1jWRE+87tl4i+JErF0 ZNQj073gggQcnmc20rDiQ13mDk7S47R/DzMSwkS8nkrFSQaKonV6YKWX5D+NTwWE+SdU Ffkxz+vHo5mtqU0t1FiIatqI1J094vjrmo4raKgpxTsk6evMp7MnEAwaX/sPbbOFm8rF VFfmDTgGrpoBkhVaLO/GkK+8p/Ju/dnjSeq63KoczTER5n+nMLfz+F0fTcdSTq/p3hBR +dQqQfqHuUcN4yjaZKN6kkkx+CIzSBscRZrhMJCnB3sVUv4Z9oq8LCYDubdl0gbwbYCn ErhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=mX+BIw9Fx922Jq3+E1cVggKFjzQfhWvVPNbjDy0L/uc=; b=OSD/o0ymrIHMFFoB7HeMmwu+yKLyjDWokqNvZ70014GDe1zOwHdo/9HS1qUaAGZyul RpOMJmVqidmRII6R3EzWCIKiXEJ1mkGSgRAGdX2sev+oX9SH79/2Y4u542tSETI6Pex7 FpEzmB8oWlO9OtzSfDCvIRtdltw40Ow57QN8OcWn96kyXTr68cL3Ztm9gPEXmSjgIFxa 2mLwQ3g+/2cg76kLiRHOOEQKuUZWf3fGzyqIjwTD5pPX63lUtlfxsm5moPjH5HVd7dAW y8XJUHS6EpZsM2cte5SOVGAdqJscqjo4sOCwKqgtgVjLjVo+OKDibadxL049S0wqtHqn saJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kldAhHNq; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v61-v6si7169015plb.499.2018.07.05.20.18.19; Thu, 05 Jul 2018 20:18:45 -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=@linaro.org header.s=google header.b=kldAhHNq; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932161AbeGFDRR (ORCPT + 99 others); Thu, 5 Jul 2018 23:17:17 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:33370 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753852AbeGFDRP (ORCPT ); Thu, 5 Jul 2018 23:17:15 -0400 Received: by mail-yw0-f193.google.com with SMTP id c135-v6so3709906ywa.0 for ; Thu, 05 Jul 2018 20:17:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mX+BIw9Fx922Jq3+E1cVggKFjzQfhWvVPNbjDy0L/uc=; b=kldAhHNqBvsNUn3ZtlllbFyyFbJNDysPNp3q9h/qYoKBRXHf/8I+O7h44MwMEPKTwa 2wbpKGA0ALdq5TAx2NPifZplZrecadhU/qmQMla9APYI5UHikCCVTMOTTQh0M21E1gM9 rt8SXGoNhEGn2MrtyGlliEnMAxDVb49/f1tNM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mX+BIw9Fx922Jq3+E1cVggKFjzQfhWvVPNbjDy0L/uc=; b=o2b1+3Q6UKoIbtF9VMJzFAmscs6BZqGzlR+L1Ac5YQQUhGz4aMXtHwU5ImBfvblYao VKegmP475VVHnpT2MMukExVvEJOdOYE1xiUK0CeVN7Y1KcRVlkXqa7FF27IG4WAGUoBo FDtloF1ohdg1WeBkn9SjQiOSpahgdn2JLU60oqurWXFPpnwIClA/0Rbj8xRtk372IBum +hzNT501nSUsfg+q/mrKzfn3QHdiF4oQjNXmnfmW+1QBmfJGUU6+G33xzwR6xzA35nRS wfIBBBvkluG2tQxNz118xQiXzPZjDF05yQExLILHZVTxfXOX1/vT9IjPULfQ7DsEovJf 0IAw== X-Gm-Message-State: APt69E1DNgfUTi0qBIZqcJ1JOd36jdf5bckq15M5N8irUoTffpU3BpLR vFRWn1GUE8WBP+sKW2V2MWBl+12v87qXZlt/sdgLYQ== X-Received: by 2002:a0d:c601:: with SMTP id i1-v6mr4057634ywd.495.1530847034654; Thu, 05 Jul 2018 20:17:14 -0700 (PDT) MIME-Version: 1.0 References: <20180622032416.20133-1-guodong.xu@linaro.org> <20180622032416.20133-2-guodong.xu@linaro.org> <20180703185442.GA18008@rob-hp-laptop> In-Reply-To: From: Guodong Xu Date: Fri, 6 Jul 2018 11:17:03 +0800 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: k3dma: add optional property dma_min_chan To: Rob Herring Cc: vkoul@kernel.org, Mark Rutland , dan.j.williams@intel.com, liyu65@hisilicon.com, Suzhuangluan , "xuhongtao (A)" , zhongkaihua , Xuezhiliang , "xupeng (Q)" , sunliang10@huawei.com, "Fengbaopeng (kevin, Kirin Solution Dept)" , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 4, 2018 at 9:14 AM Guodong Xu wrote: > > On Wed, Jul 4, 2018 at 2:54 AM Rob Herring wrote: > > > > On Fri, Jun 22, 2018 at 11:24:14AM +0800, 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/t 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 > > > + configured 1, like hi3660 platform > > > > Can't this be implied by the compatible? > > > > No. "hisilicon,k3-dma-1.0" can work with series of hisilicon kirin > SoC. And each has different reservation of channels for on-chip > coprocessors. > > > If not, needs vendor prefix and don't use '_' in property names. > > > > Sure, thanks. Will change that when design new property. As Vinod > suggested, it makes sense to change this to a mask. > After checking with Kirin SoC design team, I prefer to stay with minimum channel number instead of mask. So, I will change this property to: hisilicon,dma-min-chan -Guodong > > -Guodong > > > Rob