Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp382848imm; Mon, 9 Jul 2018 03:40:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfbsUpxfx819FR0V6NtJbrhf/8CtmVWQDzBFXYUgWJD3NvxqIJ2cefnPJ8bhIMkjpEuJta8 X-Received: by 2002:a63:2ac4:: with SMTP id q187-v6mr14141040pgq.333.1531132810641; Mon, 09 Jul 2018 03:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531132810; cv=none; d=google.com; s=arc-20160816; b=K8Je08H+i8Wicw4WqdmMMCLL1/M9RD97AGC95sJMcOBOGiqs2ss/Jpm6A7HKBx3/xQ yxWZ2Qdy6UpbwH+2IE66jiSkZJlhuecu/XUEZ2lj5g5WdQj8blqyfHG3nf9Dy21KYIQW rDLbwtp1rxiqUWwaFMN/JNsb5IPZ0Lq5HNs0ner6drlCSiYgMfJgE36XPNKsykJzHsQ7 QCRfCDwid7nPucB4FLqPRFlUNswR1H0H4h6MnqHTS677JU6kJcA5Ll5LqeDzvEhrVTa8 ++yXAXsdYIqav/QW5tJd30pd36bDJsZNL3NVt7c25StUzX8ezfU7BO/TyL+5cGuhBTtG eHpA== 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=QxAnas4ga8yB5gLxVWP47pcNZKo+tOYtYDYbghhWvVs=; b=WXKa01JYC8l5lRDk36d6T5nOZwCWsf6Bq5OVOckBU5v6WO9b04MpZhs0Wvx8grTh2+ HJtgwJOsdBCd1UpHaBgBBCfK42FbVk49dcNS1gB86ImFXCMvVfScd2FBefYzFUYFLnxs Jzt/mTGSQqDbxV7XJRxZX1v11aXY3cj5lsMu6208i/mFz6g0zZYk2ZCS277lPQ1w2HFw wTTyxOPg0tSymOE7Bo/Gv0F8PmGHyWzC5evN+o1miK2qh39qYkHo8asauDNoCnE9D41Y eLAJXf3QqVsd8RxoMCJvmyiNXrLLiA5q8C6rqygHXThCfdjrEqXbB9oT2kX1NapA9pgB wejw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ptEsMzx+; 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 89-v6si14481618pla.205.2018.07.09.03.39.33; Mon, 09 Jul 2018 03:40:10 -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=ptEsMzx+; 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 S932827AbeGIKeu (ORCPT + 99 others); Mon, 9 Jul 2018 06:34:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:60510 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754433AbeGIKes (ORCPT ); Mon, 9 Jul 2018 06:34:48 -0400 Received: from localhost (unknown [106.201.46.178]) (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 E45E820877; Mon, 9 Jul 2018 10:34:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531132487; bh=NvsJbOfi0OGUIrRA8lk/gQr9i48ZCbiKw8ONuo9D80w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ptEsMzx+D9/++JydTu2FdHh+X+XFmL5YC7GuJQeaAfSkdHu5CY4/JoeqDL6VBTZAq ScBuOIARKdLmkymuOXxTApCgcNyfyPUmOiBmYnomrTOMlYnQZ0VkfTBRAb0zQy9l8w QvhVbQ4wPqbwoK9nguUbKvDZcd3KI3KGL8KE1ous= Date: Mon, 9 Jul 2018 16:04:38 +0530 From: Vinod To: Guodong Xu Cc: robh+dt@kernel.org, mark.rutland@arm.com, dan.j.williams@intel.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.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, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 1/4] dt-bindings: k3dma: add optional property hisilicon,dma-min-chan Message-ID: <20180709103438.GC22377@vkoul-mobl> References: <20180706035521.13736-1-guodong.xu@linaro.org> <20180706035521.13736-2-guodong.xu@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180706035521.13736-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 06-07-18, 11:55, Guodong Xu wrote: > From: Li Yu > > Add optional property hisilicon,dma-min-chan for k3dma. > > Signed-off-by: Li Yu > Signed-off-by: Guodong Xu > --- > 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..f34202a80f3c 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: > +- hisilicon,dma-min-chan: the minimum DMA channel number which is usable > + Default value is 0, but in some platform it is > + configured 1, like in hi3660 platform > + > Example: > > Controller: > @@ -21,6 +26,7 @@ Controller: > #dma-cells = <1>; > dma-channels = <16>; > dma-requests = <27>; > + hisilicon,dma-min-chan = <1>; Am still expecting this to be a mask -- ~Vinod