Re: [PATCH v1] dmaengine: pl330: Make sure the debug is idle before doing DMAGO

2020-06-24 Thread Vinod Koul
On 04-06-20, 09:36, Sugar Zhang wrote: > According to the datasheet of pl330: > > Example 2-1 Using DMAGO with the debug instruction registers > > 1. Create a program for the DMA channel > 2. Store the program in a region of system memory > 3. Poll the DBGSTATUS Register to ensure that the debug

[PATCH v1] dmaengine: pl330: Make sure the debug is idle before doing DMAGO

2020-06-03 Thread Sugar Zhang
According to the datasheet of pl330: Example 2-1 Using DMAGO with the debug instruction registers 1. Create a program for the DMA channel 2. Store the program in a region of system memory 3. Poll the DBGSTATUS Register to ensure that the debug is idle 4. Write to the DBGINST0 Register 5. Write to