[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <C246CAC1457055469EF09E3A7AC4E11A4A57384E@XAP-PVEXMBX01.xlnx.xilinx.com>
Date: Thu, 7 Apr 2016 04:03:09 +0000
From: Appana Durga Kedareswara Rao <appana.durga.rao@...inx.com>
To: "Koul, Vinod" <vinod.koul@...el.com>,
Soren Brinkmann <sorenb@...inx.com>
CC: "lars@...afoo.de" <lars@...afoo.de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"pawel.moll@....com" <pawel.moll@....com>,
"luis@...ethencourt.com" <luis@...ethencourt.com>,
"moritz.fischer@...us.com" <moritz.fischer@...us.com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
Srikanth Vemula <svemula@...inx.com>,
Michal Simek <michals@...inx.com>,
Anirudha Sarangi <anirudh@...inx.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Soren Brinkmann <sorenb@...inx.com>,
"Williams, Dan J" <dan.j.williams@...el.com>,
"mark.rutland@....com" <mark.rutland@....com>,
"galak@...eaurora.org" <galak@...eaurora.org>,
"ijc+devicetree@...lion.org.uk" <ijc+devicetree@...lion.org.uk>,
"dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"laurent.pinchart@...asonboard.com"
<laurent.pinchart@...asonboard.com>
Subject: RE: [PATCH v3 1/5] Documentation: DT: vdma: Rename vdma-chan prefix
to dma-chan
Hi Vinod,
> -----Original Message-----
> From: Koul, Vinod [mailto:vinod.koul@...el.com]
> Sent: Thursday, April 07, 2016 5:53 AM
> To: Soren Brinkmann <sorenb@...inx.com>
> Cc: lars@...afoo.de; linux-kernel@...r.kernel.org; pawel.moll@....com;
> Appana Durga Kedareswara Rao <appanad@...inx.com>;
> luis@...ethencourt.com; moritz.fischer@...us.com; robh+dt@...nel.org;
> Srikanth Vemula <svemula@...inx.com>; Michal Simek <michals@...inx.com>;
> Anirudha Sarangi <anirudh@...inx.com>; devicetree@...r.kernel.org; Soren
> Brinkmann <sorenb@...inx.com>; Williams, Dan J <dan.j.williams@...el.com>;
> mark.rutland@....com; galak@...eaurora.org; ijc+devicetree@...lion.org.uk;
> dmaengine@...r.kernel.org; linux-arm-kernel@...ts.infradead.org;
> laurent.pinchart@...asonboard.com
> Subject: Re: [PATCH v3 1/5] Documentation: DT: vdma: Rename vdma-chan
> prefix to dma-chan
>
> On Wed, 2016-04-06 at 16:00 -0700, Sören Brinkmann wrote:
> > On Wed, 2016-04-06 at 22:13:59 +0000, Koul, Vinod wrote:
> > > On Wed, 2016-04-06 at 23:16 +0200, Lars-Peter Clausen wrote:
> > > > On 04/06/2016 06:25 PM, Appana Durga Kedareswara Rao wrote:
> > > > > a/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
> > > > > > > +++
> > > > > > > b/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.t
> > > > > > > xt
> > > > > > > @@ -24,8 +24,8 @@ Optional properties:
> > > > > > > {3}, flush s2mm channel
> > > > > > >
> > > > > > > Required child node properties:
> > > > > > > -- compatible: It should be either "xlnx,axi-vdma-mm2s
> > > > > > > -channel"
> > > > > > > or
> > > > > > > - "xlnx,axi-vdma-s2mm-channel".
> > > > > > > +- compatible: It should be either "xlnx,axi-dma-mm2s
> > > > > > > -channel"
> > > > > > > or
> > > > > > > + "xlnx,axi-dma-s2mm-channel".
> > > > > >
> > > > > > This change is not backwards compatible and breaks every user
> > > > > > of the current binding.
> > > > >
> > > > > This commit
> > > > > http://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-
> > > > >
> dma.git/commit/?h=next&id=8e66e7d682b04f7141f8ae666908c8dcd7fc0b
> > > > > fa
> > > > > Renames xilinx_vdma_ prefix to xilinx_dma which includes
> > > > > renaming of the above properties.
> > >
> > > That patch changes driver from vdma to dma. It does not change
> > > property name!
> >
> > It does. Unfortunately there are no line numbers on that website,
> > hence here an excerpt from the commit you mention:
> > @@ -1220,26 +1220,26 @@ static int xilinx_vdma_chan_probe(struct
> > xilinx_vdma_device *xdev,
> > if (!has_dre)
> > xdev->common.copy_align = fls(width - 1);
> >
> > - if (of_device_is_compatible(node, "xlnx,axi-vdma-mm2s
> > -channel")) {
> > + if (of_device_is_compatible(node, "xlnx,axi-dma-mm2s
> > -channel")) {
> > chan->direction = DMA_MEM_TO_DEV;
> > chan->id = 0;
>
> Right, missed that somehow.
>
> Am dropping the patch
Will fix this part and will include this patch in v4 series...
Regards,
Kedar.
>
> --
> ~Vinod
Powered by blists - more mailing lists