Re: [PATCH v4 4/4] dma: pl330: add Power Management support

2014-09-24 Thread Krzysztof Kozlowski
On wto, 2014-09-23 at 17:39 +0200, Ulf Hansson wrote: > On 18 September 2014 12:09, Krzysztof Kozlowski > wrote: > > On śro, 2014-09-17 at 20:42 +0200, Ulf Hansson wrote: > >> On 16 September 2014 10:51, Krzysztof Kozlowski > >> wrote: > > > > [...] > > > >> > > >> > @@ -2585,6 +2620,34 @@ stat

Re: [PATCH v4 4/4] dma: pl330: add Power Management support

2014-09-23 Thread Ulf Hansson
On 18 September 2014 12:09, Krzysztof Kozlowski wrote: > On śro, 2014-09-17 at 20:42 +0200, Ulf Hansson wrote: >> On 16 September 2014 10:51, Krzysztof Kozlowski >> wrote: > > [...] > >> > >> > @@ -2585,6 +2620,34 @@ static int pl330_dma_device_slave_caps(struct >> > dma_chan *dchan, >> >

Re: [PATCH v4 4/4] dma: pl330: add Power Management support

2014-09-18 Thread Krzysztof Kozlowski
On śro, 2014-09-17 at 20:42 +0200, Ulf Hansson wrote: > On 16 September 2014 10:51, Krzysztof Kozlowski > wrote: [...] > > > > @@ -2585,6 +2620,34 @@ static int pl330_dma_device_slave_caps(struct > > dma_chan *dchan, > > return 0; > > } > > > > +/* > > + * Assume that IRQ safe runtime

Re: [PATCH v4 4/4] dma: pl330: add Power Management support

2014-09-17 Thread Ulf Hansson
On 16 September 2014 10:51, Krzysztof Kozlowski wrote: > This patch adds both normal PM suspend/resume support and runtime PM > support to pl330 DMA engine driver. > > The runtime power management for pl330 DMA driver allows gating of AMBA > clock (PDMA) in FSYS clock domain, when the device is no

[PATCH v4 4/4] dma: pl330: add Power Management support

2014-09-16 Thread Krzysztof Kozlowski
This patch adds both normal PM suspend/resume support and runtime PM support to pl330 DMA engine driver. The runtime power management for pl330 DMA driver allows gating of AMBA clock (PDMA) in FSYS clock domain, when the device is not processing any requests. This is necessary to enter low power m