[PATCH 01/17] of: add dma-mask binding

2013-03-22 Thread Wenyou Yang
From: Jean-Christophe PLAGNIOL-VILLARD This will allow each device to specify its dma-mask for this we use the coherent_dma_mask as pointer. By default the dma-mask will be set to DMA_BIT_MASK(32). The microblaze architecture hook is drop Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: gran

Re: [PATCH 01/17] of: add dma-mask binding

2012-11-14 Thread Russell King - ARM Linux
On Wed, Nov 14, 2012 at 02:56:14PM -0600, Rob Herring wrote: > On 11/14/2012 12:00 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: > > On 21:55 Tue 13 Nov , Rob Herring wrote: > >> On 11/12/2012 02:52 AM, Wenyou Yang wrote: > >>> + > >>> + dev->dma_mask = &dev->coherent_dma_mask; > >> > >> I don't

Re: [PATCH 01/17] of: add dma-mask binding

2012-11-14 Thread Rob Herring
On 11/14/2012 12:00 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 21:55 Tue 13 Nov , Rob Herring wrote: >> On 11/12/2012 02:52 AM, Wenyou Yang wrote: >>> From: Jean-Christophe PLAGNIOL-VILLARD >>> >>> This will allow each device to specify its dma-mask for this we use the >>> coherent_dma_m

[PATCH 01/17] of: add dma-mask binding

2012-11-14 Thread Wenyou Yang
From: Jean-Christophe PLAGNIOL-VILLARD This will allow each device to specify its dma-mask for this we use the coherent_dma_mask as pointer. By default the dma-mask will be set to DMA_BIT_MASK(32). The microblaze architecture hook is drop Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: gran

Re: [PATCH 01/17] of: add dma-mask binding

2012-11-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:55 Tue 13 Nov , Rob Herring wrote: > On 11/12/2012 02:52 AM, Wenyou Yang wrote: > > From: Jean-Christophe PLAGNIOL-VILLARD > > > > This will allow each device to specify its dma-mask for this we use the > > coherent_dma_mask as pointer. By default the dma-mask will be set to > > DMA_BIT

Re: [PATCH 01/17] of: add dma-mask binding

2012-11-13 Thread Rob Herring
On 11/12/2012 02:52 AM, Wenyou Yang wrote: > From: Jean-Christophe PLAGNIOL-VILLARD > > This will allow each device to specify its dma-mask for this we use the > coherent_dma_mask as pointer. By default the dma-mask will be set to > DMA_BIT_MASK(32). Do you really have a use case this is not DMA