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: 10510553 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 41A456024A for ; Fri, 6 Jul 2018 03:56:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3157427E5A for ; Fri, 6 Jul 2018 03:56:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23F7527F85; Fri, 6 Jul 2018 03:56:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C298C27E5A for ; Fri, 6 Jul 2018 03:56:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=pqGOyLPRmuXHxS1F/yq3a5ReVQ0/y1XrhCI9gqfTZ8E=; b=THRm31/J+QpfDkk1IOUioZZlvF bT+kX2r3znIkXL0XvJYGJX//Vn+F2dVVqWIRGcbrDVBMfSknWW4vHmlyk0eNsF4b5YKkZdf1IQ1o8 /WmhP+paPSMy1Ny/jZSVMoc/og7Gn+03kysYepAxY+K+GiDp6eVwh3MQGhFYioq4YFMzBSP09VngL xDfXusS+G6Z+76LmrYNWgNUVWuEpIpudJlg2Nkj37j58xgF0VU3xePjcx44ijXplT+By5eUEWWwXh 8GguxlHYxbCvhiA3Z+9drrnBOJBeebbpCNNTNWdsPFPWZ6mVHdL9Kppm1H5kLRgZTJlbmefSpVEpg +Y1dU2Zg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbHqq-0000be-N1; Fri, 06 Jul 2018 03:56:08 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbHqn-0000XL-7G for linux-arm-kernel@lists.infradead.org; Fri, 06 Jul 2018 03:56:06 +0000 Received: by mail-pf0-x243.google.com with SMTP id u16-v6so7207088pfh.3 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=JUhdyqKOrdk1Pist5TkKLIWd62sEA9uRkoGdBkY/1qQYpasDTdNZpNqbsHHdDJ8e1J L691YbHqNobrDKF2zHVyEMBFvwW9KmNcv7A7tXjbXfDD3RmjYLdZIukn8cxXGFtZxKE1 h56vN90kH7wAVnOH7zh3ZdmmzXA8/xQs0v9kOvKwMrnKapoSm9d65A0L4pKCM00la+DW 4GcO0BaVQmIL6ZFpG+ut2b+IS6zy5Ux+dlzLf7XriE6wu8sg62/ATic1Xngf9qANiMp+ B0AGgnQxi441yrrPegJkQV48Z2gkAZX8Tpp2f7m2ZCRwsupH51olcoSOq4Vyze/Jr1ze PQMw== X-Gm-Message-State: APt69E3ewk2zsIMZJ1NhRUQ3Z/kmZ+rNwAf6DmQ1wVCB5KJ6RbaADSkz Goyi/RXSusfeiXdfmHt43jJ5oQ== X-Google-Smtp-Source: AAOMgpe3iObA2xiKs0WEVW1U/wIwBUD3G44zZQL7yfgGIi7IoLzhfw5l2uBPcHDP13ktSP+ndntAng== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180705_205605_290658_48ACA784 X-CRM114-Status: GOOD ( 11.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: xuezhiliang@hisilicon.com, devicetree@vger.kernel.org, xupeng7@huawei.com, sunliang10@huawei.com, Guodong Xu , suzhuangluan@hisilicon.com, linux-kernel@vger.kernel.org, fengbaopeng@hisilicon.com, liyu65@hisilicon.com, zhongkaihua@huawei.com, xuhongtao8@hisilicon.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; interrupts = <0 12 4>; clocks = <&pclk>; };