From patchwork Thu Feb 16 11:07:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Long Cheng X-Patchwork-Id: 9576861 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 B3C9B600C5 for ; Thu, 16 Feb 2017 11:08:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AFB7D28598 for ; Thu, 16 Feb 2017 11:08:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3F09285B1; Thu, 16 Feb 2017 11:08:35 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 248B2285A4 for ; Thu, 16 Feb 2017 11:08:28 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=8nUgjzFy19Hyuhad86JNS1f3Ui0g1cezB7r7FOuh8U8=; b=JvEyPd477s2SgZ g9rO/wkYpy7z08FrMqZR4EDahYFA0SNF9FQpW9cTmH/IUg+7GRd65wfLumVD6CZywtH29QmSJqvQa 6swqwSEbjGEWl6gUGi96H7OtRTGME/TZxQNcQZwABsD9MDNyITsRSkC/+CR78pEtYNPA2yUNKA5OX uug0vKKEMAiToX118d7+mTIWCjCbsPlq5a96nmA1Ne6f7+BGTLM7oZZ/cbmJ7Vekx7kUEulBZoDJ+ 2OKNLZfmWLTT2zVJrpeCOGNiAqgt1ucwnFf20TtkwB3du3Umo/uwNDEXPSGxxfdJEdJal+XvN14RF DEbaIOCJg/ahOJuOwuwg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ceJvH-0007g4-3S; Thu, 16 Feb 2017 11:08:27 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ceJvE-0007eN-EA; Thu, 16 Feb 2017 11:08:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qH0UHpu8gI+NAnC5FxNee94TI6PP/gqE78S4eOxGewM=; b=dx1BzQYMiD/oBIaxaoovUF0lM fvHkgul5fww7CB0oL5wtJDE7YdN+zgNE9ne8jibKgjgXTbqNzPkBFQ+zI5pHGeCFlaS7kslRZX3C5 gc+DaXA32DVXZJxk+tnnHzjntSE7jVRbQEHXqPd/EUwbj+pcg2dg3FGSG5A4jmFU2I4zB+EkpC2KI xBXXiMZYIx/q4foXNgAfeqKYCdhvLNI3yJrKVOf6IdBh91aURqtgQNYc/YPwjxBK7d0S9UXTrRXve x2u6x4fTBLJCxW6u0+5WD4cq/Gev5+BvVUlHmkYdqS6uuA9HmhKLiD4aTJGOsEh/2ycd25yY6iZ+y rXRUjQhEQ==; Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ceJvC-0004jm-39; Thu, 16 Feb 2017 11:08:23 +0000 Received: from mtkhts07.mediatek.inc [(172.21.101.69)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 855349460; Thu, 16 Feb 2017 19:07:42 +0800 Received: from mhfsdcap03.mhfswrd (10.17.3.153) by mtkhts07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.266.1; Thu, 16 Feb 2017 19:07:40 +0800 From: Long Cheng To: Vinod Koul , Rob Herring , Mark Rutland , Matthias Brugger , Russell King , Dan Williams , Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH 1/4] dt-bindings: dma: uart: add uart dma bindings Date: Thu, 16 Feb 2017 19:07:28 +0800 Message-ID: <1487243251-964-2-git-send-email-long.cheng@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1487243251-964-1-git-send-email-long.cheng@mediatek.com> References: <1487243251-964-1-git-send-email-long.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170216_060822_383347_26498D44 X-CRM114-Status: GOOD ( 14.92 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, srv_heupstream@mediatek.com, linux-kernel@vger.kernel.org, Long Cheng , linux-mediatek@lists.infradead.org, linux-serial@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP add uart dma bindings Signed-off-by: Long Cheng --- .../devicetree/bindings/dma/mtk_uart_dma.txt | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/mtk_uart_dma.txt diff --git a/Documentation/devicetree/bindings/dma/mtk_uart_dma.txt b/Documentation/devicetree/bindings/dma/mtk_uart_dma.txt new file mode 100644 index 0000000..b8aa7f4 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/mtk_uart_dma.txt @@ -0,0 +1,32 @@ +* Mediatek UART APDMA Controller + +Required properties: +- compatible should contain: + * "mediatek,mt2701-uart-dma" for MT2701 compatible APDMA + * "mediatek,mt6577-uart-dma" for MT6577 and all of the above + +- reg: The base address of the APDMA register bank. + +- interrupts: A single interrupt specifier. + +- clocks : Must contain an entry for each entry in clock-names. + See ../clocks/clock-bindings.txt for details. +- clock-names: The APDMA clock for register accesses + +Examples: + + apdma: dma-controller@11000380 { + compatible = "mediatek,mt2701-uart-dma"; + reg = <0 0x11000380 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&pericfg CLK_PERI_AP_DMA>; + clock-names = "apdma"; + #dma-cells = <1>; + };