Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1627486imm; Wed, 19 Sep 2018 23:42:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY4nLhxaMHsM3K2CbRxQ0wdSV1UlahnTw3isC72LzP4Go8D+Mbs7weabfeMfPFE3Hk5MmlO X-Received: by 2002:a63:6343:: with SMTP id x64-v6mr35994524pgb.173.1537425778950; Wed, 19 Sep 2018 23:42:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537425778; cv=none; d=google.com; s=arc-20160816; b=hghgmCNieq1GfiTFg+6Jg96f0kE5aMdkmM8ewDrn1DYPwvVnEUFGMeoKlIoiABo/Vk b+bbfVKbWcyettgf2h23FYs9KTGUwkHBg2iD8XG4H+aorLvYedTm390nQSPqy4ZJ6b93 Kn3tTy1uT1jmtmKBVELdMHw9siWtoh5c0Rj1cD/9g8njgfDebBg1Cevz843lIFKiAb+I MK3o9tUOT8atINR3b3C7g8zobQUD6C+Nzkv2H5gVoDOATkovT446UVRFS0vHFBHqalxQ oFGQW2zPiN0OGT3Ukldm4Oq86s6S5tvCY/QA3qVRhmobUPnZDYnSq59QTau0yl6wPhpQ WRqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=sIEj/0u5hjYg1fC6bRFkL4JawNeQD612sYUYlgf3soc=; b=uc+WU1oAFAecd0WzYdaCwXaMz84CXIqTrx3YEPxDgasDqc9Xop2NXTsJRVwCdLsh5j hpoARpL1HvaOrBlBLik0qIf6w1N3WyTMGDnpia99hvNYl3mulrj7CLDLS+5mFHHa9ny2 HThegRMLPd8ePnb5Sos/kT04rsN2ctFjVd6TgnCUPwzPBwS03Oze8ryy18oBR1ry+F5B V1Lx6GEQ8wNS0H9zHwWDPpuDNV31oYj8e3Sa19xrL7INZlxZCV97PJl6P51RM+ABH3aU /gq994fhwRucPNXEyvsn7Y467w3iRoYVsM6cR3XgljWgzWoYBVxIyIw+LolVQsZSCg// ituw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k14-v6si22627496pga.149.2018.09.19.23.42.43; Wed, 19 Sep 2018 23:42:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731817AbeITMXi (ORCPT + 99 others); Thu, 20 Sep 2018 08:23:38 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:13479 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731240AbeITMXg (ORCPT ); Thu, 20 Sep 2018 08:23:36 -0400 X-UUID: 3d743ae4ccb9445892b222e8f3b60df5-20180920 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1765469941; Thu, 20 Sep 2018 14:41:38 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 20 Sep 2018 14:41:36 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Thu, 20 Sep 2018 14:41:35 +0800 From: Long Cheng To: Vinod Koul , Rob Herring , Mark Rutland CC: Matthias Brugger , Dan Williams , Greg Kroah-Hartman , Jiri Slaby , Ed Blake , Long Cheng , , , , , , , , Yingjoe Chen , YT Shen Subject: [PATCH 1/4] dt-bindings: dma: uart: add uart dma bindings Date: Thu, 20 Sep 2018 14:41:10 +0800 Message-ID: <1537425673-18807-2-git-send-email-long.cheng@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1537425673-18807-1-git-send-email-long.cheng@mediatek.com> References: <1537425673-18807-1-git-send-email-long.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: E30A2FDC9B276636E2217E4481B3B476A3667A02CF048F78A8DDC00598E56DA62000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add uart dma bindings Signed-off-by: Long Cheng --- .../devicetree/bindings/dma/8250_mtk_dma.txt | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/8250_mtk_dma.txt diff --git a/Documentation/devicetree/bindings/dma/8250_mtk_dma.txt b/Documentation/devicetree/bindings/dma/8250_mtk_dma.txt new file mode 100644 index 0000000..b140cf4 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/8250_mtk_dma.txt @@ -0,0 +1,32 @@ +* Mediatek UART APDMA Controller + +Required properties: +- compatible should contain: + * "mediatek,mt2712-uart-dma" for MT2712 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,mt2712-uart-dma"; + reg = <0 0x11000380 0 0x400>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&pericfg CLK_PERI_AP_DMA>; + clock-names = "apdma"; + #dma-cells = <1>; + }; \ No newline at end of file -- 1.7.9.5