Received: by 10.223.185.116 with SMTP id b49csp4773776wrg; Wed, 7 Mar 2018 00:18:02 -0800 (PST) X-Google-Smtp-Source: AG47ELtNK0nbh0YmozsZNRvMf2ilKjpuNVJMIeOQKDGhNKKb7K5gi94tD/RhHRUGvzr70kOxpu2p X-Received: by 2002:a17:902:7b95:: with SMTP id w21-v6mr10901006pll.260.1520410682249; Wed, 07 Mar 2018 00:18:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520410682; cv=none; d=google.com; s=arc-20160816; b=uTTVuGzT835/dRl2UAtP+bnhXD+i0qdrGkqAuJPAZkfiQG6+dVrmBkE44303Zwt06h 9/aU7XJmytj7115QHZ4Mx26tsCY9HKELrfQbKWT2nSo6Z5rANFCgUC6/eLL8HAYTGTSE mzDgOsvV6wTBHmu6MQtCpFHf1SvIiLWg/JPRE9rt8+bpgpxNqucBM3zIpJ/XyA/W5R0n z9Fs+gUelAbpzy8MmjV7vvrfFNyZG1Nikr7d+VaeFZdQPr1q8yH0YpdubvuPHZdBKrFl 9vMBrKxIjtqGPW98LdR5ae83ztbbGCvm2N2/mST7xmPCGeyrTYhQbGr5kjMFtPYyLxsh pj2g== 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=TWGagD7uMFdNhOZP/celSDkjeYrTRlbPCByFxYv0vFvQxSGS9L2uLPnMFg6ERiqGh/ mmhsi6kptwRG9U5np0xB8XPFeeeWfqhnsEzQAgz+y1vqBkv6pYkU2otXVL3jyODYkZ6X ycZFfr/SERDfX6zd1J7jedTCc5laNyX7pKqBsokf7CGPsT6nVKiTFEmT5sOZRd5LnuqD RHYf5E0tby4fx9SWkznB3An9eGBkAmFef933IHE8m/zvwHiYh6lejECGCJro2bufd/wR udsG9TPSZQ7YWtdJny6E17NV39AUn9wXx/7Wc07QbLrS3iDmPJvIhhQ5zHb6EJ7die+n +CFg== 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 e190si9707613pfe.203.2018.03.07.00.17.46; Wed, 07 Mar 2018 00:18:02 -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 S1751237AbeCGIQu (ORCPT + 99 others); Wed, 7 Mar 2018 03:16:50 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:54874 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751125AbeCGIQo (ORCPT ); Wed, 7 Mar 2018 03:16:44 -0500 X-UUID: 150ef770f6254d8e83add6eb5ac3aabf-20180307 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1760714104; Wed, 07 Mar 2018 16:16:41 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 7 Mar 2018 16:16:39 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 7 Mar 2018 16:16:39 +0800 From: To: , , , CC: , , , , , Sean Wang Subject: [PATCH v6 1/3] dt-bindings: dmaengine: Add MediaTek High-Speed DMA controller bindings Date: Wed, 7 Mar 2018 16:16:26 +0800 Message-ID: <1ae80ef14cac41dea35dca49e8071d67c955f5e7.1520407882.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-TM-AS-Product-Ver: SMEX-12.5.0.5042-8.2.9001-23704.005 X-TM-AS-Result: No-9.542000-8.000000-10 X-TMASE-MatchedRID: lnFJRi0AOmwHit7FBHXEjjLBReqieaF6TJDl9FKHbrm7qpOHKudqczQz 47GqDWjpnD3AxwqeC/oMLq3lVTN3H1l3hC9I87yewVaayvK71l+bKpAlY2y6SUJqedX9vt/Z6aX 8TYIrj1sy+OALSvnjcV5EnvJ6BE6lNGfbF3CuxenLtNJZxvPj1n0tCKdnhB589yM15V5aWpj6C0 ePs7A07SBYBMziildmpluWtinguRCOCRZQlQpkuCGv+U+oTKROn5xIKb4+kV1WXGvUUmKP2w== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--9.542000-8.000000 X-TMASE-Version: SMEX-12.5.0.5042-8.2.9001-23704.005 X-TMASE-POSTMAN: 2-d; 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