Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1478163imm; Tue, 3 Jul 2018 11:55:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK8Yj7tG9sP1d5YnsRmVsVBWsYKB0RARJxAhP3QvOmm+xZssm0JNj/t93AMFSBI6pqGLO9q X-Received: by 2002:a17:902:6b86:: with SMTP id p6-v6mr31415050plk.75.1530644140694; Tue, 03 Jul 2018 11:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530644140; cv=none; d=google.com; s=arc-20160816; b=Uh3LZXUPEINzSeoLd8ueaDuIs+BSg7xCuXxwUcynn3Hf2NYSP+Ldfcqlo1FwjzAAEK kLcDNHEp5268UwDujV7uLY8ErCWmqkIS8Qcx/kQrJSk9x3Ro1/0R9fcVrLU53HETw1HH WpIhsITztQk17AfXCgNK1e+9kNbSUOm+kBjSl/TPGf2grw0Y3euU3xR87v5N+KpHtHnY jmFOQifgE3o3+j8Xtg/2mOog+QWSDotodMich6ldbvkyIhZ8gbjftesvp742HDHZSquM 5TSfEx0JQGgKTzorqnRf//saG0EILsMr2NhlBodHGoVQ8tY6EEsB8p5OmjkipBlOA+WD pJzw== 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=pfwRkadb2yI3rryc5Y+vRrLqZ3CeDfv+qCDPiGgN+fo=; b=AfDXJbT/UcJ71oFiolJetuOq0f8j4EzKoUsmHVCRFduzYrF62KQXMyuFcSpspfpuBn 7T19CHLGD7dY53Zbq3uiOxNpa1YiDGlUF+7JTm4O+8pYBfP4kj31GjTzb4jszSE8gbkx IhQGyHm8oeT/mayoPhWIV8mDxDlgAJbAwLgY+G5TaWLulQdenC5LSy5QCH5UIuQXUl9V 4PSm3rhtMprYCugw/3T5ql8MYLG85JdOj4f9wniAxPrPLEal4NDITl2ytgrCwiZKxNcM jRM28dJcE/2i/aXyWKLD7DeTVO/PZSK/KQ9k2FHxx552etAPHWtnoWhZYRRXBB2LnFzs yGjQ== 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 o3-v6si1709697pld.50.2018.07.03.11.55.26; Tue, 03 Jul 2018 11:55:40 -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 S1753473AbeGCSyq (ORCPT + 99 others); Tue, 3 Jul 2018 14:54:46 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:43498 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751950AbeGCSyp (ORCPT ); Tue, 3 Jul 2018 14:54:45 -0400 Received: by mail-yw0-f194.google.com with SMTP id l189-v6so1064765ywb.10; Tue, 03 Jul 2018 11:54:44 -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=pfwRkadb2yI3rryc5Y+vRrLqZ3CeDfv+qCDPiGgN+fo=; b=hdXRMGVxgnWIVe3Clp9ZQK+1Z7jXccGi21Ey5RExMJJRdAj1FLz2fwOTnpFp+zz2vH ma9ZeniC0Aql1HSg8+vFQRwPjM/ngQnEXJ20DyXkjkFf2ZVdm9FVnzg85VtJ/+314Ae2 47ws9XOb/lcFS+DJ7ZecIJHCjZF8i2weqt1+z9erev0Z9Je7SRLNMSEY/EXzzxMZXi1D JahWbG5VY4sM5YeaHpVWadSFz+NBPghrscAruDHEyPQ8mYOonUYkyWoVLE2GOeRYhvN9 DydmPaoE8bkJvwiJ4I+iwy17erW3OnJgO9yCa6/zSWPiUxTd+zB/nvwEeRGJO86I8PVB yYFg== X-Gm-Message-State: APt69E0hhgv5RWI+ozW/d6G0wQu+TtBTy4A4DxMG//eKR3OVDrtck1S2 eWv1OVlkLOVuZypmg1GQkA== X-Received: by 2002:a81:2d57:: with SMTP id t84-v6mr15874298ywt.152.1530644084312; Tue, 03 Jul 2018 11:54:44 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id p186-v6sm583635ywd.93.2018.07.03.11.54.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 11:54:43 -0700 (PDT) Date: Tue, 3 Jul 2018 12:54:42 -0600 From: Rob Herring To: Guodong Xu Cc: vkoul@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: <20180703185442.GA18008@rob-hp-laptop> 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.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/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 > + configured 1, like hi3660 platform Can't this be implied by the compatible? If not, needs vendor prefix and don't use '_' in property names. Rob