Received: by 10.223.185.116 with SMTP id b49csp2056121wrg; Sat, 17 Feb 2018 11:11:26 -0800 (PST) X-Google-Smtp-Source: AH8x227U6qbOMj8EyHMG8gJL0OP2DN2GnWFBkM0onph/lHgFqMAi50WIxTIoOhTprKoqmdmad9Qe X-Received: by 2002:a17:902:42a3:: with SMTP id h32-v6mr9739699pld.231.1518894686859; Sat, 17 Feb 2018 11:11:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518894686; cv=none; d=google.com; s=arc-20160816; b=n73lxPFZ43yf1CDVxSyW+M/buU1v9wSZz7gRAUcNDbYiK9jwqrTSP/6DntS6njqxcy M/guliFed6QK2CvzjcvUM2+fFalCPUJPFI8HsD5nGbPR11z27+uKA51M4OK4+WYKwveH 4DwVxPoSM1b3vhl6/Vn0WTE/y0Np5NRv/1M/KQcAW92Ol7402P1H3MKPLAinO8XfnSyc QXXdkOTxHXRNxl9Ii8v2uXZZf8jzXCjftgc0F3pEwwulY0v2d21o5LrWO25RN9nVwpcK BNd/D2qo+97jTl7VYz4noEND624zhAo7JPeNRH4hVoIFVfEJENogV9L3AlNgllp1Rg/1 IbKg== 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:arc-authentication-results; bh=BqV7FU3A67rqz9JLsgGLCkJifeAvf2DxpAprluIBezY=; b=jo0WjobUcvhIY10BCybHpcy2soM1yVg4FahlVW5ZlNfGnFPwYyxymsvsZSBku+61jk tU7LCNxldVEozK/81j1N/s+/udLS9BvxCebyjfgTW7Vz+FR5lqAFYXssHfyr2yfDgOnQ B/xlFRLvWU8ymNhGZzCWm6p5Uaf+e3BKqeZfmp6apHXUsDyfxKzHFC+2VMQppi1joteb +kNVOR7GVLCuNOS7F9XvogKUmYFbpC7j74YmW34yklmBHGxL3EkmVUJZI2oYjih8SzW2 QA+T7CDglsuOOZxjXkDKcxSStH9Vti8R1i8ISNhBehwQa1zhnmRGmZRZBNFL0HCxqcVJ FhOw== 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 d67si3614821pfe.112.2018.02.17.11.11.13; Sat, 17 Feb 2018 11:11:26 -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 S1751207AbeBQTIk (ORCPT + 99 others); Sat, 17 Feb 2018 14:08:40 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:29714 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751049AbeBQTIj (ORCPT ); Sat, 17 Feb 2018 14:08:39 -0500 X-UUID: d445fd9e2c4b4d84b9def79fb296b6c0-20180218 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 285574658; Sun, 18 Feb 2018 03:08:35 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sun, 18 Feb 2018 03:08:33 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Sun, 18 Feb 2018 03:08:33 +0800 From: To: , , , CC: , , , , , Sean Wang Subject: [PATCH v5 1/3] dt-bindings: dmaengine: Add MediaTek High-Speed DMA controller bindings Date: Sun, 18 Feb 2018 03:08:29 +0800 Message-ID: <94e4a39e05a30f2ca3fafb61d19777f41fa49645.1518857747.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang Document the devicetree bindings for MediaTek High-Speed DMA controller which could be found on MT7623 SoC or other similar Mediatek SoCs. Signed-off-by: Sean Wang --- .../devicetree/bindings/dma/mtk-hsdma.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/mtk-hsdma.txt diff --git a/Documentation/devicetree/bindings/dma/mtk-hsdma.txt b/Documentation/devicetree/bindings/dma/mtk-hsdma.txt new file mode 100644 index 0000000..4bb31735 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/mtk-hsdma.txt @@ -0,0 +1,33 @@ +MediaTek High-Speed DMA Controller +================================== + +This device follows the generic DMA bindings defined in dma/dma.txt. + +Required properties: + +- compatible: Must be one of + "mediatek,mt7622-hsdma": for MT7622 SoC + "mediatek,mt7623-hsdma": for MT7623 SoC +- reg: Should contain the register's base address and length. +- interrupts: Should contain a reference to the interrupt used by this + device. +- clocks: Should be the clock specifiers corresponding to the entry in + clock-names property. +- clock-names: Should contain "hsdma" entries. +- power-domains: Phandle to the power domain that the device is part of +- #dma-cells: The length of the DMA specifier, must be <1>. This one cell + in dmas property of a client device represents the channel + number. +Example: + + hsdma: dma-controller@1b007000 { + compatible = "mediatek,mt7623-hsdma"; + reg = <0 0x1b007000 0 0x1000>; + interrupts = ; + clocks = <ðsys CLK_ETHSYS_HSDMA>; + clock-names = "hsdma"; + power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; + #dma-cells = <1>; + }; + +DMA clients must use the format described in dma/dma.txt file. -- 2.7.4