Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp357714imm; Thu, 21 Jun 2018 20:26:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKDUtcL0jXxF2Xf7uo240jaEu/CRUCQ/fQma7y0eigzaxcRJuzGBhMAER9aNKlGsJvR/Ydb X-Received: by 2002:a63:7e1a:: with SMTP id z26-v6mr3582349pgc.278.1529637992187; Thu, 21 Jun 2018 20:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529637992; cv=none; d=google.com; s=arc-20160816; b=lNNK0UBL3ntoBvRz2XqUK+aiitttM8aq2j7cQymrmT/ykdn98GUEHmoI0qlEqxG9H1 k+MdpJ47kxJKNYke/OE8+27bv/PfqwEK53Di1U5ykTj7pWg1KRQ1WYZZ4f0KxjXDnPA+ rxXQ7D1qagsysiIiv7OgKrDYL3eUxYgS8oGPhNfJSQw8CSk8Yn31pnGIPWS5EWW6sdb5 xTTLNjNv7z8lee4SZ+tm96xqmzASci36xsn0OyMsb0PMIgwz1jOhoczWIAvFY/d/mYfb RC8DrynL9x34qdi2FiBBkPI0O1M5jW+mzw8+9SJgQDOvl9Xl1GF1WjDD9JWJXvC33Uys UuYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=4r/kp75gRHhgePw3hxi6Cv5BAONK/+C7nyCuBwUB6eM=; b=m2RjraYAzlnsk5k+akXs58vc1TJoCn314usUnc5h7XSKl+QrXK5jZHssm2BAY1P9mL eXw6n8r29Ict1mEEXf6knVJXs7a5b6JG9PEp3I8YdFx+NjDRG255ar0P+CAkwA3zocBE RsQmn1VDmaNUK3bDAzGYX9C+TWXRhBc+a8jTORvRZMBNp6weYGjIZSgzOEztTp6MlwBi WqG9IKSDPwMTDf2jMK4xwHddoAjIGQbw9UomxNvZDu7AHWfzm1p/Ym1qOd6ji/MJmKk5 zsDwVjBadxlBA5fVeu4HwThYfqDNF+g9/9ZtmEZBggt6m5WFjRCDJunc+aJVXgHJn/SN MRMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hg8toVuA; 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 c10-v6si3593222plr.398.2018.06.21.20.26.17; Thu, 21 Jun 2018 20:26:32 -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=Hg8toVuA; 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 S934346AbeFVDYk (ORCPT + 99 others); Thu, 21 Jun 2018 23:24:40 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:33575 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934322AbeFVDYg (ORCPT ); Thu, 21 Jun 2018 23:24:36 -0400 Received: by mail-pl0-f66.google.com with SMTP id 6-v6so2752716plb.0 for ; Thu, 21 Jun 2018 20:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4r/kp75gRHhgePw3hxi6Cv5BAONK/+C7nyCuBwUB6eM=; b=Hg8toVuAgiLhpCj7N5UbfwHLVP1as3HFPNLOEjFfTg7m3+0sYQKa/t1rtsiioIvlR8 qZjHvjDjvkfKytnXhNTS1snywbeNX9tNPEYZZqUrUIMv5bPnLK7/DpKxJIoYjNt/OePm q5t2+wypPZVfU3iM9Iwar1ll0bSrh6dxqdSS8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4r/kp75gRHhgePw3hxi6Cv5BAONK/+C7nyCuBwUB6eM=; b=SwOOk1BHYnghy9flatzEEpLAQRzzELAVnqsVhOYAoEGOvtqmxV2e0PltINyzpmJfCE ilBBNT2q+tNuiiqDjkZpITVk4HWKMaYEv2JeeY9rRj9ORH3DrYZ1x+Bvy2c/C/eJ90CB 8jGMobs3foOXna3e2qzf86W1lOcmNXw8bGMIg0fwY0znMsbSnB9pYWjWK/2Delo6ZQAN r31sjtkFAGZNOYCD+UdX4+vVEsx/C0z0U57XYJ2GhP52qpYLmqb8IBiNGFtJGl3weO7p 31MLyLu0jErKjgg5ZoKq5yXMJIjJIRBgWtY8zTyPk2dNInMTFa5J6klk+kdb+nGLBSin Icjw== X-Gm-Message-State: APt69E2FNxbtkWd2OgxyEGhhA/byVv6xC9OEzdezL2upF6TdJvVuRzyj qPtx/X/jTA3K4lBBdqbKQNl52A== X-Received: by 2002:a17:902:585c:: with SMTP id f28-v6mr31416258plj.206.1529637875741; Thu, 21 Jun 2018 20:24:35 -0700 (PDT) Received: from localhost.localdomain ([45.56.155.153]) by smtp.gmail.com with ESMTPSA id a23-v6sm9286253pfn.113.2018.06.21.20.24.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jun 2018 20:24:35 -0700 (PDT) From: Guodong Xu To: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, dan.j.williams@intel.com Cc: 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: [PATCH 1/3] dt-bindings: k3dma: add optional property dma_min_chan Date: Fri, 22 Jun 2018 11:24:14 +0800 Message-Id: <20180622032416.20133-2-guodong.xu@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180622032416.20133-1-guodong.xu@linaro.org> References: <20180622032416.20133-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + Example: Controller: @@ -21,6 +26,7 @@ Controller: #dma-cells = <1>; dma-channels = <16>; dma-requests = <27>; + dma_min_chan = <1>; interrupts = <0 12 4>; clocks = <&pclk>; }; -- 2.17.1