Re: [PATCH 1/2] dmaengine: mpc512x_dma: use generic DMA DT bindings

2013-04-09 Thread Anatolij Gustschin
On Mon, 08 Apr 2013 12:46:47 +0200 Lars-Peter Clausen wrote: ... > > +static struct dma_chan *mpc_dma_xlate(struct of_phandle_args *dma_spec, > > + struct of_dma *ofdma) > > +{ > > + int count = dma_spec->args_count; > > + struct mpc_dma *mdma = ofdma-

Re: [PATCH 1/2] dmaengine: mpc512x_dma: use generic DMA DT bindings

2013-04-08 Thread Lars-Peter Clausen
On 03/31/2013 06:17 PM, Anatolij Gustschin wrote: > Add generic DMA bindings and register the DMA controller > to DT DMA helpers. > > Signed-off-by: Anatolij Gustschin > --- > arch/powerpc/boot/dts/mpc5121.dtsi |5 ++- > drivers/dma/mpc512x_dma.c | 63 > ++

Re: [PATCH 1/2] dmaengine: mpc512x_dma: use generic DMA DT bindings

2013-04-02 Thread Arnd Bergmann
On Tuesday 02 April 2013, Vinod Koul wrote: > On Sun, Mar 31, 2013 at 06:17:59PM +0200, Anatolij Gustschin wrote: > > Add generic DMA bindings and register the DMA controller > > to DT DMA helpers. > I need someone who understands DT better than me to comment/ack... > Arnd...? > > > > +struct mp

Re: [PATCH 1/2] dmaengine: mpc512x_dma: use generic DMA DT bindings

2013-04-02 Thread Vinod Koul
On Sun, Mar 31, 2013 at 06:17:59PM +0200, Anatolij Gustschin wrote: > Add generic DMA bindings and register the DMA controller > to DT DMA helpers. I need someone who understands DT better than me to comment/ack... Arnd...? > > Signed-off-by: Anatolij Gustschin > --- > arch/powerpc/boot/dts/mpc

[PATCH 1/2] dmaengine: mpc512x_dma: use generic DMA DT bindings

2013-03-31 Thread Anatolij Gustschin
Add generic DMA bindings and register the DMA controller to DT DMA helpers. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/mpc5121.dtsi |5 ++- drivers/dma/mpc512x_dma.c | 63 ++-- 2 files changed, 64 insertions(+), 4 deletions(-) diff