Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2165002ybb; Sun, 5 Apr 2020 00:13:37 -0700 (PDT) X-Google-Smtp-Source: APiQypLqNDWGyaMb4newAz8mBMZYPSwf3BnLii3WI7huJh2UuW1SwWBsHRzzezvzeakXQ5/JnWfv X-Received: by 2002:a9d:775a:: with SMTP id t26mr12824229otl.178.1586070817108; Sun, 05 Apr 2020 00:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586070817; cv=none; d=google.com; s=arc-20160816; b=YR314YvxLBmGEsngLCpWNPFcqIt1kpx6G97xzubteetEGv+XfDMJJx40KeoQc7t+hx SspyTsr1+QITw1jvT8b+yvoKWvZNSjNSCV/KWjSU0ga2wwCv4zFJPB5IMz63awwpg8jF KNnWq4JbxmK4Kqa4B5HqTRwv88SY1NRLVXJYo0audxRLZps1Z3VxCOuWbgSXz0cq0yRj Vk/SzmJhBp384XWGdtouYyKXrGZudW6D+AXqL9ElGJCt/LMMI34I+ZpKwd5QISCpyghP 7miwLLDyWKMCnckUd1FHzRFQi6stGLNdxWWNdcnADuyhUQCW6+qLBMKpYhmykmM9R7Qh ZyQQ== 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=cMUy/0M6Ps5KAccSUTnVJZlazBQbL82Nr711Y5cq5Zw=; b=kD8B9+IULV+/ICpTdZfUxkcKZSzYU1rgLnck+PNtkBm1/cKrMQZuICV9qEA13JsxJ6 3R/GsVnscowZkoZy8TNRNEhFHrKylmh7T/SuwMdAndCIHG44zrIZF6DX1RiMgieetjyY MLRps4bx0q3lIGZA25H1MSdz9ZX/cQ/wVwUNP1vnd2KalhRqH2esKcBIIJpapwwT51sL W4kIYUEbCihPDmXMQlw/NpeoFzsMrrPo5oz7432Jo7K0/emHlZgtKcxhP3Fpx2qrcrgt /gasQPf0c9ZZIcL1MjblfEUmFZkEVxtmGvUv5IUSbvXi+bCiCEBbOsImlBXglg0Hh/H3 Plrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b=jEp5UsDN; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=C1uN4zty; 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 w14si5792299otl.175.2020.04.05.00.13.12; Sun, 05 Apr 2020 00:13:37 -0700 (PDT) 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=fm2 header.b=jEp5UsDN; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=C1uN4zty; 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 S1726380AbgDEHKO (ORCPT + 99 others); Sun, 5 Apr 2020 03:10:14 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:49265 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbgDEHKO (ORCPT ); Sun, 5 Apr 2020 03:10:14 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8F7B45C0181; Sun, 5 Apr 2020 03:10:13 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Sun, 05 Apr 2020 03:10:13 -0400 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=fm2; bh=cMUy/0M6Ps5KAccSUTnVJZlazBQbL82 Nr711Y5cq5Zw=; b=jEp5UsDNDzEdJr4xg+a9XUu5oegqdIn21hAziN9HDqM/qwP 9C9Vuo6NBklX8jZaZnZDp3s1v7eWpoX+WXBnrq2JMnYH5xeimjxvq8v4GhtNuVst x8yjHj3bzfbT/UBqwisvQMahV29V8VOyW4RfHlXtSsEOfYhA6TY8GahvfU5S/fqV iPefDGtZBs9C3zaCfIi3Hyrwx4O47HnNENHHTN29ELZRVBOhtXrct1RB41IuZDN8 ErPSkIeGVfhCxkWFyLkwm6JbQXyd5h1Vyob+NIrsO+AuMFDg0l4zCGEAFIimjqz2 EAPrnLIkjK4S0yjcBqbSFKCEr1TB6fBm7VUJSsQ== 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=fm2; bh=cMUy/0 M6Ps5KAccSUTnVJZlazBQbL82Nr711Y5cq5Zw=; b=C1uN4ztykx2E4JQ3M/5Brq h0oGBXc0EPPv2Tuw/+gLX9FxnOIAK92z2CS3Qa9irHMPrvS1+f3IrS0Ps75uIMTe pTCf9CA6dGYH4CEVwubXXSh7adLJ64EWmSCNxajdU923VZhv99n41u0YdCb5h0Ip c2XGjbUks+90vgXebkNLjlXqe3xmlJqhD707FqGaMdOJDCu6kP+XY4Wy9GyS3vV3 eYn+jWVrBAg2Y0NuJ18qg/Pecxh0eGl6glaaydYBO0fa3Z8B13sTn5uXx+x6Plcd 4jXAZ1KjpIRVsFI4k+PFYyBnbRjg/ZkQtMIkzBzkNMQjEPNkTgNd+fOzcem0sDhw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddtgddvudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehnughr vgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvfiesrghj rdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 37AFDE00B1; Sun, 5 Apr 2020 03:10:12 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-1082-g13d7805-fmstable-20200403v1 Mime-Version: 1.0 Message-Id: <8307d2cd-3bd2-4447-a244-89d0da1a71fe@www.fastmail.com> In-Reply-To: <20200403162901.21106-2-eajames@linux.ibm.com> References: <20200403162901.21106-1-eajames@linux.ibm.com> <20200403162901.21106-2-eajames@linux.ibm.com> Date: Sun, 05 Apr 2020 16:40:33 +0930 From: "Andrew Jeffery" To: "Eddie James" , linux-aspeed@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, "Rob Herring" , "Joel Stanley" Subject: Re: [PATCH v8 1/5] 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 Sat, 4 Apr 2020, at 02:58, Eddie James wrote: > Document the bindings for the Aspeed AST25XX and AST26XX XDMA engine. > > Signed-off-by: Eddie James > Reviewed-by: Rob Herring > Reviewed-by: Andrew Jeffery > --- > Changes since v6: > - Add PCI-E root complex reset documentation > - Add reset-names documentation > - Switch to memory-region phandle instead of memory regs > > .../devicetree/bindings/soc/aspeed/xdma.txt | 44 +++++++++++++++++++ > MAINTAINERS | 6 +++ > 2 files changed, 50 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..c3d7cdeb1db6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/aspeed/xdma.txt > @@ -0,0 +1,44 @@ > +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, and, for the AST2600, a second reset > + associated with the PCI-E root complex > + - reset-names : required only for the AST2600; must be "dev, "rc" Bit of a nit, but I find "root-complex" to not be so onerous as to shorten it to "rc". Is there a need to be so economical? Contracting it makes it harder to read. While we're here we might also expand "dev" to "device". Thoughts? Also you're missing the closing quote on "dev". > + - 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. > + - aspeed,scu : a phandle to the syscon node for the system control > + unit of the SOC > + - memory-region : a phandle to the reserved memory region to be used > by > + the XDMA engine for DMA operations Might have been worth dropping the tags for this patch given the changes. I feel Rob will welcome the switch to describing the memory with a phandle to a reserved region, but removing his tag makes it easier for him to protest :) Andrew