Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1245069ybl; Wed, 18 Dec 2019 15:11:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwItuMtcBvtCtbAHI2tcfx3BhpCfEmzGTR1+C7XOq0NpIjhESE2fv4dBhu29xm+Nc9FK4hW X-Received: by 2002:a9d:748d:: with SMTP id t13mr5130643otk.181.1576710700039; Wed, 18 Dec 2019 15:11:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576710700; cv=none; d=google.com; s=arc-20160816; b=HHPowQLhE48yfRC0DXpm8hmYXq1DH4jd/6bQj/bLNc+cKAvadYwLvD0cx3/FehuRdj a7vzhnUY2JhHfhwtKeUZacBilYEHmWRVJrNAHFb+1ZIbDmXTrb5VRlU+m1FPfxi7Uy+l j9BBhbrU1nUHZtBaPyFoSPLL97EYDwfOWPUnCT8kE/oNu4yyCb0MFML+ZGbwRXLHWYWB ncRowYm8mFEBCx2WENeoDqSxJHk4nUYEbaizYiKz2gAhkfhIehd9rAsjWnLyOxt72Bu4 tdLMim1DpBmFV2jolqNWJ29rNItjs76YW89/28yyHXzLQE6fvR+IhljP2jiv64jMBjH7 904A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature :dkim-signature; bh=bP1o2RXoO7tNFb5/kJZExnnM5a2fcbtSPdIvkcQJXyA=; b=WN7wbl6kpe+CcIySnmdfFU8RXrn1SnNsnIkpmZV0qGDQ3XFwx9zIJaF+B8R4bF1vDD ykgG4wQ7PwyuCUpq4Jk98uN5tp4as8B83AHs3ZS1y270/E9WBsd76DQ5UTWRFoY17emu Pv73DFEFZt0+9uy5kDDymngf6dyxcuANktN8hbQo31beNqOgAzz/VH+La6IYn1d+WL0I AVMPtYiFzKF62Z3Xc7IMfxQqSRTjj9lsOcPoAnzKPpMPVCjn5sc24lAVgr0QBZ2UKj9G Lq+PVVF5+ssMj8k3gVmlEyu7Ka1HMwKAmp8WRdhkX2+tk+fbRzWNevJUykO0CynqcHL/ AO9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=D4G0itlD; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=im2fMc8A; 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 l26si2211457oti.152.2019.12.18.15.11.27; Wed, 18 Dec 2019 15:11:40 -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; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=D4G0itlD; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=im2fMc8A; 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 S1726705AbfLRXKm (ORCPT + 99 others); Wed, 18 Dec 2019 18:10:42 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:44553 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726463AbfLRXKm (ORCPT ); Wed, 18 Dec 2019 18:10:42 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3A31C21EE9; Wed, 18 Dec 2019 18:10:41 -0500 (EST) Received: from imap2 ([10.202.2.52]) by compute4.internal (MEProxy); Wed, 18 Dec 2019 18:10:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=bP1o2RXoO7tNFb5/kJZExnnM5a2fcbt SPdIvkcQJXyA=; b=D4G0itlDbAPubKY5LU9mOuPyKcoHeft5nHCiCeUvrxboapZ dA4ln/pXiG26nX2Ib/RW0MzQoNz1P5GwUeb9HXJraR41akyamzEUG/aNc30GIzYA Kh82Y9hf9GHk9EWD04n51CR70RkfogOjfVLyfwkdWhKc9BflHLCYepKjRmFivsYo sbpOqUqTdrSU0WiqXF3dO0qg7ILD7zfzaT2S/C955/Xz3/sUlWVKFngtSvuTPJ5y L2xhGViM0EiOpvGdn3/BJLkNk4uf7naJjtH8+rkDbooZc4tvHAR5H3CXMHJgCGMW afvx24Vc9vOKyNjK200kHX/HsfLuB9yWrqYSg6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=bP1o2R XoO7tNFb5/kJZExnnM5a2fcbtSPdIvkcQJXyA=; b=im2fMc8AC7tOloKDP0z5Ec 12FXgnlAcqB8dc/Y2PbGLETB1tR+1Q8v/kAaW7fJjWikCt2Hhec0sjEiSOaROHt2 iJi41qCIX/zWo3THTp4mu1n6XU8ScMZRtnrXWwTILTcrMPGBY9FYpjV5pCbSTvqu EzLZZZmeAgB496JdYCFS4P1FVNWjmDXrYok4cJ0qtw/khj2VJjcJbAPhowlmUCmY 1y7u00HcrCiWjtFzol1DCfQ3wB9hV2jUP5562OByiT/0Zj7pNDM0q/cqTvfnGvIC +SZzlR/UJU2HzhXJcXWgpDelwm4zuI1X3Hsruxrdv07ZPX0vGBx2vNYGn5AvA1eA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddutddgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecurfgrrh grmhepmhgrihhlfhhrohhmpegrnhgurhgvfiesrghjrdhiugdrrghunecuvehluhhsthgv rhfuihiivgepud X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0BC88E00A2; Wed, 18 Dec 2019 18:10:41 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-694-gd5bab98-fmstable-20191218v1 Mime-Version: 1.0 Message-Id: <73cbffea-89f1-4212-99af-10c32968cf15@www.fastmail.com> In-Reply-To: <1576681778-18737-6-git-send-email-eajames@linux.ibm.com> References: <1576681778-18737-1-git-send-email-eajames@linux.ibm.com> <1576681778-18737-6-git-send-email-eajames@linux.ibm.com> Date: Thu, 19 Dec 2019 09:42:10 +1030 From: "Andrew Jeffery" To: "Eddie James" , linux-aspeed@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, mark.rutland@arm.com, "Jason Cooper" , "Marc Zyngier" , "Rob Herring" , tglx@linutronix.de, "Joel Stanley" Subject: Re: [PATCH v3 05/12] dt-bindings: soc: Add Aspeed XDMA Engine Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Dec 2019, at 01:39, Eddie James wrote: > Document the bindings for the Aspeed AST25XX and AST26XX XDMA engine. > > Signed-off-by: Eddie James > Reviewed-by: Rob Herring > --- > Changes since v2: > - Remove 'sdmc', rename 'vga-mem' to 'memory' > > .../devicetree/bindings/soc/aspeed/xdma.txt | 40 +++++++++++++++++++ > MAINTAINERS | 6 +++ > 2 files changed, 46 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/aspeed/xdma.txt > > diff --git a/Documentation/devicetree/bindings/soc/aspeed/xdma.txt > b/Documentation/devicetree/bindings/soc/aspeed/xdma.txt > new file mode 100644 > index 000000000000..58253ea1587b > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/aspeed/xdma.txt > @@ -0,0 +1,40 @@ > +Aspeed AST25XX and AST26XX XDMA Engine > + > +The XDMA Engine embedded in the AST2500 and AST2600 SOCs can perform > automatic > +DMA operations over PCI between the SOC (acting as a BMC) and a host > processor. > + > +Required properties: > + - compatible : must be "aspeed,ast2500-xdma" or > + "aspeed,ast2600-xdma" > + - reg : contains the address and size of the memory region > + associated with the XDMA engine registers > + - clocks : clock specifier for the clock associated with the > + XDMA engine > + - resets : reset specifier for the syscon reset associated with > + the XDMA engine > + - interrupts-extended : two interrupt cells; the first specifies the > global > + interrupt for the XDMA engine and the second > + specifies the PCI-E reset or PERST interrupt. > + - scu : a phandle to the syscon node for the system control > + unit of the SOC I think this should be aspeed,scu. > + - memory : contains the address and size of the memory area to > + be used by the XDMA engine for DMA operations Hmm, I was thinking more like a phandle to a reserved memory region, like we have in the aspeed-lpc-ctrl binding. > + > +Optional properties: > + - pcie-device : should be either "bmc" or "vga", corresponding to > + which device should be used by the XDMA engine for > + DMA operations. If this property is not set, the XDMA > + engine will use the BMC PCI-E device. > + > +Example: > + > + xdma@1e6e7000 { > + compatible = "aspeed,ast2500-xdma"; > + reg = <0x1e6e7000 0x100>; > + clocks = <&syscon ASPEED_CLK_GATE_BCLK>; > + resets = <&syscon ASPEED_RESET_XDMA>; > + interrupts-extended = <&vic 6>, <&scu_ic > ASPEED_AST2500_SCU_IC_PCIE_RESET_LO_TO_HI>; > + scu = <&syscon>; > + pcie-device = "bmc"; > + memory = <0x9f000000 0x01000000>; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index ac9c120d192b..8a14d4268bdc 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2708,6 +2708,12 @@ S: Maintained > F: drivers/media/platform/aspeed-video.c > F: Documentation/devicetree/bindings/media/aspeed-video.txt > > +ASPEED XDMA ENGINE DRIVER > +M: Eddie James > +L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers) > +S: Maintained > +F: Documentation/devicetree/bindings/soc/aspeed/xdma.txt > + > ASUS NOTEBOOKS AND EEEPC ACPI/WMI EXTRAS DRIVERS > M: Corentin Chary > L: acpi4asus-user@lists.sourceforge.net > -- > 2.24.0 > >