Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9221949imu; Wed, 5 Dec 2018 00:46:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/UnwCGqcMjY7dGrxre39JlueAgzt3hiZl8oRoLoDvB1MKNlc+Mie37jIGjgcg1m62Y9fdol X-Received: by 2002:a62:c613:: with SMTP id m19mr23825648pfg.207.1543999577244; Wed, 05 Dec 2018 00:46:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543999577; cv=none; d=google.com; s=arc-20160816; b=fM6W6egyf2/5KYUjrOo0tsvdAHmlppe55lHZy1rzo+bVtOLToe03QmB7J5n6npNgtc TBCpUtL5wAmwzkEbVBrAMX4z9YaWeMPN6BWT7zd5Wzkx8wVJISs7vVDIIFuCL9THz9Tb O2z7ILtuubLyfzdFDLgrUo71jwylbTMwLf/VGDHwGQKESy+sacWdQtE02iK/JcPRQpU3 zmB0lv4LuumUITf2O2TnjdgCqLRGUHE9a8R9ZN51zKpkTbBhj6VTCTKdI30rlfjaVhw/ sxYakLjUQnvvTnvzYVisR/x+DlCG05ZpLU3P5rHmOGaaZxoTwawh+g603JR+5FPS8mzV aJpQ== 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=rwVtnUtCugaSBFhq2RZ3tH5yLtrKcGGg7yURWFZvDsU=; b=JDOYwNDdH0Usjf37AUvJlWMOAyZsCTbxAF54vrLE7S4vX/KPByGRIGJljxFiSuzzYc JOQ9VIaJjAAIQXxwlZa0zquMPd6dAZ58ivCfHO3Y1N7QSmk/BxmhzJ580ML609OwjVcr 0KThFGcYHuhIPUua5WpyCXQDt7ZaJeCMwETp58BmzM9DLHdhvFDHi+uQ0o4TJS82m2Kx lw/B6w0SRACklf1gqdoX6x0gsW9CsOl8k8gv1gq9BOuZBn7kjsqcGUM38liDsXvBaYdq E+a9bW+msqTVEDth1hEhTWAuASi38A+SN2uBJaI0IIW3JJ0XL3P/wkZG5mYmrgnkhUiy QGsQ== 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 p3si18771925plk.424.2018.12.05.00.46.02; Wed, 05 Dec 2018 00:46:17 -0800 (PST) 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 S1727436AbeLEInz (ORCPT + 99 others); Wed, 5 Dec 2018 03:43:55 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:64593 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726924AbeLEInx (ORCPT ); Wed, 5 Dec 2018 03:43:53 -0500 X-UUID: f6d88bf2573f40bc81aa1900f3348e9c-20181205 X-UUID: f6d88bf2573f40bc81aa1900f3348e9c-20181205 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1187418380; Wed, 05 Dec 2018 16:43:39 +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.1395.4; Wed, 5 Dec 2018 16:43:22 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 5 Dec 2018 16:43:21 +0800 From: Long Cheng To: Vinod Koul , Rob Herring , Mark Rutland CC: Matthias Brugger , Dan Williams , Greg Kroah-Hartman , Jiri Slaby , Sean Wang , Long Cheng , , , , , , , , Yingjoe Chen , YT Shen Subject: [PATCH v2 1/4] dt-bindings: dma: uart: add uart dma bindings Date: Wed, 5 Dec 2018 16:42:57 +0800 Message-ID: <1543999380-7946-2-git-send-email-long.cheng@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1543999380-7946-1-git-send-email-long.cheng@mediatek.com> References: <1543999380-7946-1-git-send-email-long.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 077C88C37235333F8E8FBFDEFE7CDB730C0B7FBE487852117541DCB7F1786BD92000: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 Reviewed-by: Rob Herring --- .../devicetree/bindings/dma/8250_mtk_dma.txt | 33 ++++++++++++++++++++ 1 file changed, 33 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..3fe0961 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/8250_mtk_dma.txt @@ -0,0 +1,33 @@ +* 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>; + }; + -- 1.7.9.5