Received: by 10.223.176.5 with SMTP id f5csp2155883wra; Sun, 4 Feb 2018 22:12:39 -0800 (PST) X-Google-Smtp-Source: AH8x224C8aBLCQq5Pg9wN2ZGhw0onaSxFurMR1v48ssJqdquQQg5nPJXe1jVWnD0K8GDfWyakXlc X-Received: by 10.98.5.129 with SMTP id 123mr48194367pff.75.1517811158981; Sun, 04 Feb 2018 22:12:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517811158; cv=none; d=google.com; s=arc-20160816; b=PmnCxvF1vmACRSpxNFehpvzvsfJ/mwFOPmsaqsTn5rjAr0X0a/sUTagQFP/b1dPaZh NIP2+U5OwpUAPTH0p72zQPERl1Mw0OLxHapl4P6YhjQbO1y3IvpxBpi/jKwZiR8139Ym 0+VSCLGcfM+fp/fRgbUbHQGfFIfIXuBbFpkcfQf4Xb8vna1ISkB7xLYRtRiofenYB45a 6Zt6RHEHKQM2MO4izF8+cZYow6vNI8UBh9RbarjoJEqiUt8WFbRaiDsqOKNeJv9FjJX6 cX73zG32CMHxC2rArr8TFDB2LH8YM1ZjN7k1JHcYg7NvabcFFTOzI++FSh1cNTXu5KSu hO3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=HUx+7syXHdmEq2sNRJkHITnoia/1oTahZi1A/d+r/oE=; b=HVoSW8DsvRUYJIt6PZ49Jy0vLZYujf7i9pCfrf7seC0uxFpjNJ9Hq/AP6XGBNJAZQb Kryj9dzRZO263vx1yiKnCqdlNCogHhS9ACndcn8IS8IQBTkfcHU7RqPYL/aKMUU9C9vb BaWwW4km4Wa0ql47RVfM9p9/aERqqmj01TMwN2p1xWSLuaGoCWTdQNOcxdACUS1FmdXB N4Z//dmFOv+ZIts6gUMElblHpUxSYK6Pe2++hofeMNMWF5bHRgQjSOOzmJlqHD0jR7xq qjfA1HLnurhsMVxhtxnTyDOXMSGXsc1qrQJIVvgm4Tv6crEtWc6RsduzoPAjkhk/Ephh ddaQ== 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 l7-v6si6416381pls.728.2018.02.04.22.12.24; Sun, 04 Feb 2018 22:12:38 -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 S1753067AbeBEGKP (ORCPT + 99 others); Mon, 5 Feb 2018 01:10:15 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:42375 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752920AbeBEGJM (ORCPT ); Mon, 5 Feb 2018 01:09:12 -0500 Received: by mail-pl0-f68.google.com with SMTP id 11so11131280plc.9; Sun, 04 Feb 2018 22:09:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HUx+7syXHdmEq2sNRJkHITnoia/1oTahZi1A/d+r/oE=; b=FYsJNAGlILX6Wt+7f/GWRFvUjkHFfUI3mrUn6gWxJHXkY++gN11t1wxZLc40puKBK4 FLzfc8MyPifPzmpIkH7BYc+xOSv90IxPsWHhRA51TAdapULOYDL+rm6wS3HBShV92D1I kvMZ6f5+oVSgM8y09l5cqwcLpx1bdKuUQqJXFhmc6oHCQ9TdJpzMtQgPmS7kWTSNzqCj mhnZRPA5aR4SybhZX7XsPPLzncC6iOJxzxqfCSxAZ8N404QwOsUNnhgpBgjG2FO59Ske z3u+CBu7lbueslzBKLkmtfjXpSjPHJlPcNI8E1ZG+l2acfYeGzuE3ZpDt0ii303UBfzK Egqg== X-Gm-Message-State: AKwxyte6bUnxmns2i3hGg78Va895v3TflugjUQiR47omWyEz5NPaMB7l PnnqZstd9Dz7DzheIVZdLA== X-Received: by 2002:a17:902:6c41:: with SMTP id h1-v6mr42645248pln.25.1517810951438; Sun, 04 Feb 2018 22:09:11 -0800 (PST) Received: from localhost ([50.225.178.238]) by smtp.gmail.com with ESMTPSA id y7sm14088617pfe.48.2018.02.04.22.09.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Feb 2018 22:09:10 -0800 (PST) Date: Mon, 5 Feb 2018 00:09:10 -0600 From: Rob Herring To: sean.wang@mediatek.com Cc: vinod.koul@intel.com, dan.j.williams@intel.com, mark.rutland@arm.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/3] dt-bindings: dmaengine: Add MediaTek High-Speed DMA controller bindings Message-ID: <20180205035244.zrltzoxwe4owe4dw@rob-hp-laptop> References: <698453fba5198168829a596ec8d58d1f730aaf45.1517454174.git.sean.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <698453fba5198168829a596ec8d58d1f730aaf45.1517454174.git.sean.wang@mediatek.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 01, 2018 at 11:45:23AM +0800, sean.wang@mediatek.com wrote: > 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..c07c03e > --- /dev/null > +++ b/Documentation/devicetree/bindings/dma/mtk-hsdma.txt > @@ -0,0 +1,33 @@ > +MediaTek High-Speed DMA Controller > +================================== > + > +This driver follows the generic DMA bindings defined in dma/dma.txt. Bindings describe h/w, not drivers. > + > +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: hsdma@1b007000 { dma-controller@... > + 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 >