From patchwork Fri Jul 6 03:55:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 141240 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2643826ljj; Thu, 5 Jul 2018 20:56:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfD3EG5C8aO5WQ1T1kS9gIDqCKXkAklG9OuvpGHx6BEBuXZavmaxeAHgALFGiDYRAYKliLQ X-Received: by 2002:a17:902:bd42:: with SMTP id b2-v6mr8673131plx.23.1530849369119; Thu, 05 Jul 2018 20:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530849369; cv=none; d=google.com; s=arc-20160816; b=h2vYmfyorYzZY3BQb2siNWFsKi539JbAa0xMwMYCLdzv/g3IEur+skxLI5H1D4MCFR 7M25RurhXIroMX5tBKzL+3t6pxTRDUlbxfVj4p+PYXgiim84Du02QVboOjINQeybKAp7 XBwo993+SMLeoM/t7fhOdQNcy0Z5KS5rJtSm/q3t62Rub0K7wagxSxcSPG2Zi+Uei3q6 kuHlk3GmkH2Li5kqPqE6HTtd/CLkCdsgCw7zDisKnCFZ0KbR50u3El2Tk7BKnmyWuDyK 13vy74/NAbhyuolg9ERHuoQrydevY6SYcpm7C7MCiTXZepT8VqekuultofoN0Xxhq+KY ZDIg== 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=t33j/YWl9147C3o56cc/SXhWTJq/mWttqXWsSRue59w=; b=WO7nAM+vT0+QavkWnRksjGyu/X8Hicrv4Wb8MvVI52C8KQNaLCOQcfVPqmG8KvMlCV fD3BaxlIIeAqRb50AyvQFXrVVtpybHGmxA5VU+Xvd0RWcDTRJvoVU81ucM5vB/oI/20o AwiZZK9/6xbsZXWKCYQvUad7TP0ueVIalOFMhwaAXLLuEqwPWOvvkj/vqiXprK7Ln+1P YcftqSsM6QNZ04/y2iD9kYookfFmpUUHI8RhLWnVpOdRzbVU6qGqNlYqVlwnPTWWOWu1 j4MoywVjNtwpFquI5ofgTXJsivapQaC3IHncPcU4dE2aP96A0WRBA+E2aEev8lP8sgL8 ChOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FKSjxOyN; 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 32-v6si7580123ple.447.2018.07.05.20.56.08; Thu, 05 Jul 2018 20:56:09 -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=FKSjxOyN; 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 S932342AbeGFD4H (ORCPT + 30 others); Thu, 5 Jul 2018 23:56:07 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:46487 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932261AbeGFD4D (ORCPT ); Thu, 5 Jul 2018 23:56:03 -0400 Received: by mail-pf0-f195.google.com with SMTP id l123-v6so7208869pfl.13 for ; Thu, 05 Jul 2018 20:56:03 -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=t33j/YWl9147C3o56cc/SXhWTJq/mWttqXWsSRue59w=; b=FKSjxOyNyLIFqLRBdLbPexUrj0l53lmf2+WYmqJkoaH8FoZ4gOmGG1nPNuloakxI3H 3KBYdenCi3prowOjbwKen0iX+OG1lMiUg3mRMDqY/I5/Lb7R4z5OQAXK/Kxvw1Gx2A77 hdM12KOYrciQzRugydXXC4t9CSt0uWHeeV4OE= 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=t33j/YWl9147C3o56cc/SXhWTJq/mWttqXWsSRue59w=; b=nin+c8+jr343evlU6D83Va0EwxZzCRUoRKDBGTxinOpaNs5xDSZcAsj22VAr4gO3Px tyJ/lhczTPLIRFRGdaC/m+maYZ7uuDWRwsSt+8WYeHP4Y/rNN6uCpNNVvKnFXL+O5N8w Se9qGi5fjkuwKPIo2kMYNev5mSNjN4dGmzEFN1rPANXml0Em5GoEmNLWWoEMMtS0hpcj 1wgWbF36/111P4BxwbYtlK/b2Fb1otDs0hmZIilPh9oOGRjCrSpYWdrfSn/yw90dH/n3 HxQ5vVzmmQBgb+4+8rHNf4BWQJotdxmAAxUbo2f0+jnqFIeG85uQUW1e9HeqR0m1bLkW hSzQ== X-Gm-Message-State: APt69E3MzHAJCyUrHJ7Y1a4OYJtfDxjZVLm3GaAPXjfhG+kLRKeB64/+ a60rm/S1k4XXXjSBYI9CHTfPiw== X-Received: by 2002:a65:5288:: with SMTP id y8-v6mr1176118pgp.284.1530849362942; Thu, 05 Jul 2018 20:56:02 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.33]) by smtp.gmail.com with ESMTPSA id y14-v6sm12568403pgo.22.2018.07.05.20.55.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jul 2018 20:56:02 -0700 (PDT) From: Guodong Xu To: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, dan.j.williams@intel.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.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, linux-arm-kernel@lists.infradead.org, Guodong Xu Subject: [PATCH v2 1/4] dt-bindings: k3dma: add optional property hisilicon, dma-min-chan Date: Fri, 6 Jul 2018 11:55:18 +0800 Message-Id: <20180706035521.13736-2-guodong.xu@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180706035521.13736-1-guodong.xu@linaro.org> References: <20180706035521.13736-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 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(+) -- 2.17.1 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>; interrupts = <0 12 4>; clocks = <&pclk>; };