Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1003156imm; Wed, 11 Jul 2018 15:11:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdskua8fIkKOFGOuW+yYl8B1IrrNo4qR1pjSCPuH3EwMC/geMEdsa+of5kY4NeEo0M0nvQI X-Received: by 2002:a62:ccd0:: with SMTP id j77-v6mr415959pfk.22.1531347073483; Wed, 11 Jul 2018 15:11:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531347073; cv=none; d=google.com; s=arc-20160816; b=bLxkcfLqCViDmzA+gQkxcuOvCwyKC+npQI1Uh8sIp3DBVlxdpfaww/dcq7TK/V7HsX YB+x4V1W7VzCmRExrtPjgKpwSYv/ofx2m+rLCfKqHbG/QREDzM6qQjxFosp+0qIuXeAH jyLpnpY7BsaWL9QdMgv4+2Yz8d8taTopH2F6QBYHU7K++fJYXALL1ImUFAeCytWjEi6q aV4JygW+ZR61GyuBDQY2MBnpdp3XUQxYNQUvctavXG26zAkxUV0rabGYX5i/tFfL9inS WN5bHTXcpdjy7l2cV4nK3LWxGMUWNOJ5b+sdAYt35z89u6udSyitAUc04TZQvvL80M8u Cbow== 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:arc-authentication-results; bh=pFL5J4xLysoe0+DyjjXe3ZzhZ+7SbtznbFjHRHG0Ce4=; b=1KOgsy22xXs950t7a09EpNnZp8foJWPyGEwBRgWXmv2q25gtEao7DzQ34zczXpEwom tT6DBB+e5wjoKvf8spZFkooFQXpe1E7ZGihWtmqYvWefQbKeVEogo0ei0VWMwLezpmcw F9pLvx1pKOz27DtcL5oKmAwx31+FfF/qmAkEVBLg6SDAXhvLsg+YJ+sMx9HJX0TpFQQm DZtqPdH59nAVFD463Jf9oGaqX840v2d8MNLTe+n/UTYUphjfF5wTNjB2dVjtuJe8iPoW I/PBtyyfBItQjwzAUziUvEXFKG49dnl/+Hc21lSNQEtK2wE9EHPooTft7MEX8BoXWznz SJVw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 z75-v6si21607892pfk.340.2018.07.11.15.10.58; Wed, 11 Jul 2018 15:11:13 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389579AbeGKQOa (ORCPT + 99 others); Wed, 11 Jul 2018 12:14:30 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:40565 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732433AbeGKQOa (ORCPT ); Wed, 11 Jul 2018 12:14:30 -0400 Received: by mail-oi0-f66.google.com with SMTP id w126-v6so50226314oie.7; Wed, 11 Jul 2018 09:09:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pFL5J4xLysoe0+DyjjXe3ZzhZ+7SbtznbFjHRHG0Ce4=; b=Xxl2efVEbuKoaTnHa7FKKhPDhaXlMN4nb+ORXWHVfl6Ijx8YwYd85ahmgYMo+iUACo 31f6cTfz4P3YTdFkUYZW7+c7N/xnE7vhB9Tbl2RKYNFyddN44noz1Y3fF8RXicWxtrSn eIZhrGoxBxyhxyY5AxgSXgFOg2aVULLI12ocl2dU+IE9QGgtwRgFNQSL/QX811639BZC ljvMa1BPTro6iphaBvzBbgW2i97m7eZG8yYnOczO8mvTq76OXv6VPZ58iNPXheQX349+ HNXTEE3A4zNK7cCt0G4MwpkY3ZQLicmfKlCqXpICua4Xo/S5Rheteh7xKpgETrNdUV6r yk2g== X-Gm-Message-State: APt69E3/HPgmU9pkIQAB7MpUPLq6kVfUIqVFxQlrqO6xBnx1qYAvWo6Y CRnUwlMRrhzM6a/7m+ZxLA== X-Received: by 2002:aca:e6cd:: with SMTP id d196-v6mr31482459oih.94.1531325368635; Wed, 11 Jul 2018 09:09:28 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id n188-v6sm12801070oia.17.2018.07.11.09.09.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Jul 2018 09:09:28 -0700 (PDT) Date: Wed, 11 Jul 2018 10:09:27 -0600 From: Rob Herring To: Vinod , Guodong Xu Cc: 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: <20180711160927.GA31359@rob-hp-laptop> References: <20180706035521.13736-1-guodong.xu@linaro.org> <20180706035521.13736-2-guodong.xu@linaro.org> <20180709103438.GC22377@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180709103438.GC22377@vkoul-mobl> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 09, 2018 at 04:04:38PM +0530, Vinod wrote: > 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 If so calling it 'min' doesn't make sense. And a mask should have 'mask' in the name. Rob