Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp245025imm; Tue, 3 Jul 2018 18:15:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdWKgxUuKpmX32u0iFdPvLvc7PIcs4ecyrDhUI/PwRo9XMmSwRN4WmmgEo8I4SciZa/e7K4 X-Received: by 2002:a17:902:7581:: with SMTP id j1-v6mr1485pll.218.1530666931035; Tue, 03 Jul 2018 18:15:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530666931; cv=none; d=google.com; s=arc-20160816; b=Goj66hwE05kHD8pQ21lnYHcoA7RQESwrbsfdXhzHs0HRiPxIkwIjEGXnsb3xV61W8s zpRTGP0ku8gVmFjGV0uijVbqToOGhsG6MokLhCuk1/bbrYBDgs0LP7I6iaknYi9Mup8g tUQok/Q7D2YQHq4gQ/+yvDlPn5vq/GXYICfkl9TrZIhWe0T31vYVKTeOAADICxHAuKGC lfIkOC15lMUu1CSCP6S0Fo9+N3gD24Q3ASuWI+AcN3CFrSZHGI1km5rqk7YuDiYr3GnL oVtjiQSdWsCuSO6YRzoM5DDFHfgPDmrJ+Vli+bvsovJLn6LzqbISdA7LmXfxBLjC8WmZ xyFA== 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=vv+yFnQADIUzWsLkt0mvN727IfZfZMBhU3jp8O47KaI=; b=aY9bDd0Uml5cD4vJ/91M5/ENAKqT9Sdi6xefOAemADFc5eP7Wj2hokSqTO75dIw7hK fLFCbEV5ALdRfkHc0Lhbp5/BW75YCRvTtuJVgdUHaLF+c0aNxVD9mUAqaVU5nM6rlpDw SxK7kdHjZAjN2F6cjjtwgYCwZV7R8LkccJsr8G2roGN4gFNJZzDwyj7vNi2NzNPsvmt9 P8jm1JAD3cbWOhK2MZhce9F+w5zYIii6zvq8jc0SA3E52S2gm9IufTaueDaVr0C/KTPU ytONPpBK9pz6uWaGKjLOvHE8SOcK1veG24bnh8dlcJvJHk+9wnukDL59RuAjG5zud1w8 UJuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TYrQgp10; 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 m1-v6si2172739pge.531.2018.07.03.18.15.16; Tue, 03 Jul 2018 18:15:31 -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=TYrQgp10; 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 S932399AbeGDBOj (ORCPT + 99 others); Tue, 3 Jul 2018 21:14:39 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:46952 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932291AbeGDBOh (ORCPT ); Tue, 3 Jul 2018 21:14:37 -0400 Received: by mail-yw0-f193.google.com with SMTP id e23-v6so854743ywe.13 for ; Tue, 03 Jul 2018 18:14:37 -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=vv+yFnQADIUzWsLkt0mvN727IfZfZMBhU3jp8O47KaI=; b=TYrQgp10Cs/VzqSA39aq/BeE57AjNALWDp3HAmfTDikAUSD3Og1zLXpo92jnVZonBs olIU/uP4nSgaY4wGqZmNX9sD83WYZj0dtetsdiztsN1zY274RL5VYsc5EEJDLi/B8LXp BUCuKZRGjYOaMoesOj8qT1m7QBMKxjpyBK+X4= 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=vv+yFnQADIUzWsLkt0mvN727IfZfZMBhU3jp8O47KaI=; b=jpYXcUyk7YSxcNg/Kv3IXsex/ZkZ4/GduzvNVlB71NZCdVwQ8IWdXRBth+FBEhloVG 60/nFEHAPuaQz8A53tUXwjF6bTO8bX+DjRPnf/vOJXck3389oLOKH2dC9ABA0aSbc4xP /GKAeZSi+ixK3QM/o9QW2vy4deNlr+Opzewmbgy6e3AFv+egJoJ7QiOXKyjyAUY+whxB XHWExdQHXmZa/gu5X0HAcdZa4BNsNkP3Y0hMIiRohIi4mjv+oJqJJ4jHJthkvwqo1owN SoYj84mIzUquARwJhscHJ8VSXZRwYqCCuvKMdEyiywv+v/JqLTDhv+iOQoDvfeTXPjZQ cA2A== X-Gm-Message-State: APt69E1eNxAdbOdSxTHGrCEe+d8j+cGpJHB6BA6pc7sHb0TR2sFDdkEP o/sfaGf7HahYEWux3g4WLxZV/4wHHDeoujqCpk0lag== X-Received: by 2002:a81:22c3:: with SMTP id i186-v6mr15617503ywi.309.1530666877267; Tue, 03 Jul 2018 18:14:37 -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: <20180703185442.GA18008@rob-hp-laptop> From: Guodong Xu Date: Wed, 4 Jul 2018 09:14:26 +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 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. -Guodong > Rob