Re: [RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-12 Thread Vinod Koul
On 09-09-19, 08:56, Peter Ujfalusi wrote: > >> -struct dma_chan *dma_request_chan_by_mask(const dma_cap_mask_t *mask) > >> +struct dma_chan *dma_domain_request_chan_by_mask(struct device *dev, > >> + const dma_cap_mask_t *mask) > > > > should we really us

Re: [RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-08 Thread Peter Ujfalusi
On 08/09/2019 15.15, Vinod Koul wrote: > On 06-09-19, 17:18, Peter Ujfalusi wrote: >> In case the channel is not requested via the slave API, use the >> of_find_dma_domain() to see if a system default DMA controller is >> specified. >> >> Add new function which can be used by clients to request

Re: [RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-08 Thread Vinod Koul
On 06-09-19, 17:18, Peter Ujfalusi wrote: > In case the channel is not requested via the slave API, use the > of_find_dma_domain() to see if a system default DMA controller is > specified. > > Add new function which can be used by clients to request channels by mask > from their DMA domain control

Re: [RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-08 Thread Peter Ujfalusi
On 06/09/2019 17.18, Peter Ujfalusi wrote: > In case the channel is not requested via the slave API, use the > of_find_dma_domain() to see if a system default DMA controller is > specified. > > Add new function which can be used by clients to request channels by mask > from their DMA domain con

[RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-06 Thread Peter Ujfalusi
In case the channel is not requested via the slave API, use the of_find_dma_domain() to see if a system default DMA controller is specified. Add new function which can be used by clients to request channels by mask from their DMA domain controller if specified. Client drivers can take advantage o

[RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-06 Thread Peter Ujfalusi
In case the channel is not requested via the slave API, use the of_find_dma_domain() to see if a system default DMA controller is specified. Add new function which can be used by clients to request channels by mask from their DMA domain controller if specified. Client drivers can take advantage o