From: Vinod Koul <vinod.koul@intel.com>
To: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"Eugeniy.Paltsev@synopsys.com" <Eugeniy.Paltsev@synopsys.com>,
"linux-snps-arc@lists.infradead.org"
<linux-snps-arc@lists.infradead.org>,
"andy.shevchenko@gmail.com" <andy.shevchenko@gmail.com>,
"dan.j.williams@intel.com" <dan.j.williams@intel.com>,
"dmaengine@vger.kernel.org" <dmaengine@vger.kernel.org>,
"wan.ahmad.zainie.wan.mohamad@intel.com"
<wan.ahmad.zainie.wan.mohamad@intel.com>
Subject: [v2,2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings
Date: Mon, 5 Mar 2018 11:02:56 +0530 [thread overview]
Message-ID: <20180305053256.GN15443@localhost> (raw)
On Fri, Mar 02, 2018 at 08:32:20AM +0000, Alexey Brodkin wrote:
> Hi Vinod,
>
> On Fri, 2018-03-02 at 13:44 +0530, Vinod Koul wrote:
> > On Mon, Feb 26, 2018 at 05:56:28PM +0300, Eugeniy Paltsev wrote:
> > > This patch adds documentation of device tree bindings for the Synopsys
> > > DesignWare AXI DMA controller.
> > >
> > > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
> > > ---
> > > .../devicetree/bindings/dma/snps,dw-axi-dmac.txt | 41 ++++++++++++++++++++++
> > > 1 file changed, 41 insertions(+)
> > > create mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > >
> > > diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > > new file mode 100644
> > > index 0000000..f237b79
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > > @@ -0,0 +1,41 @@
> > > +Synopsys DesignWare AXI DMA Controller
> > > +
> > > +Required properties:
> > > +- compatible: "snps,axi-dma-1.01a"
> > > +- reg: Address range of the DMAC registers. This should include
> > > + all of the per-channel registers.
> > > +- interrupt: Should contain the DMAC interrupt number.
> > > +- interrupt-parent: Should be the phandle for the interrupt controller
> > > + that services interrupts for this device.
> > > +- dma-channels: Number of channels supported by hardware.
> > > +- snps,dma-masters: Number of AXI masters supported by the hardware.
> > > +- snps,data-width: Maximum AXI data width supported by hardware.
> > > + (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits)
> > > +- snps,priority: Priority of channel. Array size is equal to the number of
> > > + dma-channels. Priority value must be programmed within [0:dma-channels-1]
> > > + range. (0 - minimum priority)
> > > +- snps,block-size: Maximum block size supported by the controller channel.
> > > + Array size is equal to the number of dma-channels.
> > > +
> > > +Optional properties:
> > > +- snps,axi-max-burst-len: Restrict master AXI burst length by value specified
> > > + in this property. If this property is missing the maximum AXI burst length
> > > + supported by DMAC is used. [1:256]
> > > +
> > > +Example:
> > > +
> > > +dmac: dma-controller@80000 {
> > > + compatible = "snps,axi-dma-1.01a";
> >
> > do we need "snps here..?
>
> Synopsys is this IP-block vendor so shouldn't we put it that way?
Not a DT expert but why should vendor name come here, you can read the
properties from device node, vendor name seems redundant to me
WARNING: multiple messages have this Message-ID (diff)
From: vinod.koul@intel.com (Vinod Koul)
To: linux-snps-arc@lists.infradead.org
Subject: [PATCH v2 2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings
Date: Mon, 5 Mar 2018 11:02:56 +0530 [thread overview]
Message-ID: <20180305053256.GN15443@localhost> (raw)
In-Reply-To: <1519979538.4430.7.camel@synopsys.com>
On Fri, Mar 02, 2018@08:32:20AM +0000, Alexey Brodkin wrote:
> Hi Vinod,
>
> On Fri, 2018-03-02@13:44 +0530, Vinod Koul wrote:
> > On Mon, Feb 26, 2018@05:56:28PM +0300, Eugeniy Paltsev wrote:
> > > This patch adds documentation of device tree bindings for the Synopsys
> > > DesignWare AXI DMA controller.
> > >
> > > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> > > ---
> > > .../devicetree/bindings/dma/snps,dw-axi-dmac.txt | 41 ++++++++++++++++++++++
> > > 1 file changed, 41 insertions(+)
> > > create mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > >
> > > diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > > new file mode 100644
> > > index 0000000..f237b79
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > > @@ -0,0 +1,41 @@
> > > +Synopsys DesignWare AXI DMA Controller
> > > +
> > > +Required properties:
> > > +- compatible: "snps,axi-dma-1.01a"
> > > +- reg: Address range of the DMAC registers. This should include
> > > + all of the per-channel registers.
> > > +- interrupt: Should contain the DMAC interrupt number.
> > > +- interrupt-parent: Should be the phandle for the interrupt controller
> > > + that services interrupts for this device.
> > > +- dma-channels: Number of channels supported by hardware.
> > > +- snps,dma-masters: Number of AXI masters supported by the hardware.
> > > +- snps,data-width: Maximum AXI data width supported by hardware.
> > > + (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits)
> > > +- snps,priority: Priority of channel. Array size is equal to the number of
> > > + dma-channels. Priority value must be programmed within [0:dma-channels-1]
> > > + range. (0 - minimum priority)
> > > +- snps,block-size: Maximum block size supported by the controller channel.
> > > + Array size is equal to the number of dma-channels.
> > > +
> > > +Optional properties:
> > > +- snps,axi-max-burst-len: Restrict master AXI burst length by value specified
> > > + in this property. If this property is missing the maximum AXI burst length
> > > + supported by DMAC is used. [1:256]
> > > +
> > > +Example:
> > > +
> > > +dmac: dma-controller at 80000 {
> > > + compatible = "snps,axi-dma-1.01a";
> >
> > do we need "snps here..?
>
> Synopsys is this IP-block vendor so shouldn't we put it that way?
Not a DT expert but why should vendor name come here, you can read the
properties from device node, vendor name seems redundant to me
--
~Vinod
WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vinod.koul@intel.com>
To: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"Eugeniy.Paltsev@synopsys.com" <Eugeniy.Paltsev@synopsys.com>,
"linux-snps-arc@lists.infradead.org"
<linux-snps-arc@lists.infradead.org>,
"andy.shevchenko@gmail.com" <andy.shevchenko@gmail.com>,
"dan.j.williams@intel.com" <dan.j.williams@intel.com>,
"dmaengine@vger.kernel.org" <dmaengine@vger.kernel.org>,
"wan.ahmad.zainie.wan.mohamad@intel.com"
<wan.ahmad.zainie.wan.mohamad@intel.com>
Subject: Re: [PATCH v2 2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings
Date: Mon, 5 Mar 2018 11:02:56 +0530 [thread overview]
Message-ID: <20180305053256.GN15443@localhost> (raw)
In-Reply-To: <1519979538.4430.7.camel@synopsys.com>
On Fri, Mar 02, 2018 at 08:32:20AM +0000, Alexey Brodkin wrote:
> Hi Vinod,
>
> On Fri, 2018-03-02 at 13:44 +0530, Vinod Koul wrote:
> > On Mon, Feb 26, 2018 at 05:56:28PM +0300, Eugeniy Paltsev wrote:
> > > This patch adds documentation of device tree bindings for the Synopsys
> > > DesignWare AXI DMA controller.
> > >
> > > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
> > > ---
> > > .../devicetree/bindings/dma/snps,dw-axi-dmac.txt | 41 ++++++++++++++++++++++
> > > 1 file changed, 41 insertions(+)
> > > create mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > >
> > > diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > > new file mode 100644
> > > index 0000000..f237b79
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
> > > @@ -0,0 +1,41 @@
> > > +Synopsys DesignWare AXI DMA Controller
> > > +
> > > +Required properties:
> > > +- compatible: "snps,axi-dma-1.01a"
> > > +- reg: Address range of the DMAC registers. This should include
> > > + all of the per-channel registers.
> > > +- interrupt: Should contain the DMAC interrupt number.
> > > +- interrupt-parent: Should be the phandle for the interrupt controller
> > > + that services interrupts for this device.
> > > +- dma-channels: Number of channels supported by hardware.
> > > +- snps,dma-masters: Number of AXI masters supported by the hardware.
> > > +- snps,data-width: Maximum AXI data width supported by hardware.
> > > + (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits)
> > > +- snps,priority: Priority of channel. Array size is equal to the number of
> > > + dma-channels. Priority value must be programmed within [0:dma-channels-1]
> > > + range. (0 - minimum priority)
> > > +- snps,block-size: Maximum block size supported by the controller channel.
> > > + Array size is equal to the number of dma-channels.
> > > +
> > > +Optional properties:
> > > +- snps,axi-max-burst-len: Restrict master AXI burst length by value specified
> > > + in this property. If this property is missing the maximum AXI burst length
> > > + supported by DMAC is used. [1:256]
> > > +
> > > +Example:
> > > +
> > > +dmac: dma-controller@80000 {
> > > + compatible = "snps,axi-dma-1.01a";
> >
> > do we need "snps here..?
>
> Synopsys is this IP-block vendor so shouldn't we put it that way?
Not a DT expert but why should vendor name come here, you can read the
properties from device node, vendor name seems redundant to me
--
~Vinod
next reply other threads:[~2018-03-05 5:32 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-05 5:32 Vinod Koul [this message]
2018-03-05 5:32 ` [PATCH v2 2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings Vinod Koul
2018-03-05 5:32 ` Vinod Koul
-- strict thread matches above, loose matches on Subject: below --
2018-03-05 21:49 [v2,2/2] " Alexey Brodkin
2018-03-05 21:49 ` [PATCH v2 2/2] " Alexey Brodkin
2018-03-05 21:49 ` Alexey Brodkin
2018-03-05 21:07 [v2,2/2] " Rob Herring
2018-03-05 21:07 ` [PATCH v2 2/2] " Rob Herring
2018-03-05 21:07 ` Rob Herring
2018-03-05 15:56 [v2,1/2] dmaengine: Introduce DW AXI DMAC driver Eugeniy Paltsev
2018-03-05 15:56 ` [PATCH v2 1/2] " Eugeniy Paltsev
2018-03-05 15:56 ` Eugeniy Paltsev
2018-03-05 15:26 [v2,1/2] " Eugeniy Paltsev
2018-03-05 15:26 ` [PATCH v2 1/2] " Eugeniy Paltsev
2018-03-05 15:26 ` Eugeniy Paltsev
2018-03-05 15:26 ` Eugeniy Paltsev
2018-03-02 8:32 [v2,2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings Alexey Brodkin
2018-03-02 8:32 ` [PATCH v2 2/2] " Alexey Brodkin
2018-03-02 8:32 ` Alexey Brodkin
2018-03-02 8:14 [v2,2/2] " Vinod Koul
2018-03-02 8:14 ` [PATCH v2 2/2] " Vinod Koul
2018-03-02 8:14 ` Vinod Koul
2018-03-02 8:13 [v2,1/2] dmaengine: Introduce DW AXI DMAC driver Vinod Koul
2018-03-02 8:13 ` [PATCH v2 1/2] " Vinod Koul
2018-03-02 8:13 ` Vinod Koul
2018-02-26 16:42 [v2,1/2] " Andy Shevchenko
2018-02-26 16:42 ` [PATCH v2 1/2] " Andy Shevchenko
2018-02-26 16:42 ` Andy Shevchenko
2018-02-26 14:56 [v2,2/2] dt-bindings: Document the Synopsys DW AXI DMA bindings Eugeniy Paltsev
2018-02-26 14:56 ` [PATCH v2 2/2] " Eugeniy Paltsev
2018-02-26 14:56 ` Eugeniy Paltsev
2018-02-26 14:56 [v2,1/2] dmaengine: Introduce DW AXI DMAC driver Eugeniy Paltsev
2018-02-26 14:56 ` [PATCH v2 1/2] " Eugeniy Paltsev
2018-02-26 14:56 ` Eugeniy Paltsev
2018-02-26 14:56 ` Eugeniy Paltsev
2018-02-26 14:56 [PATCH v2 0/2] " Eugeniy Paltsev
2018-02-26 14:56 ` Eugeniy Paltsev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180305053256.GN15443@localhost \
--to=vinod.koul@intel.com \
--cc=Alexey.Brodkin@synopsys.com \
--cc=Eugeniy.Paltsev@synopsys.com \
--cc=andy.shevchenko@gmail.com \
--cc=dan.j.williams@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=robh+dt@kernel.org \
--cc=wan.ahmad.zainie.wan.mohamad@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.