I would be happy too linus, will do it in few weeks, right now we are running
short of time.
Yes i have seen them. One more thing i have found related to mem to mem
transfers is:
"You must set this value to the burst size of the destination peripheral,
or if the destination is memory, to the memory boundary size."
I was talking about the similar check present in pl08x_set_cregs, which will
be called before this routine. pl08x_set_cregs has already checked if channel
is active or not. so checking active in this routine is not required.
Hmmm. I am not sure, but i think we can't hard code a channel for some device.
All channels should be available with both capabilities. If still there are
some conditions (that you might know), where we need to hard code channels
for devices, then this should come from plat data in some way.
I have few more doubts that i wanted to ask. Are following supported in your
driver, we need them in SPEAr:
- Configure burst size of source or destination.
- Configure DMA Master for src or dest.
- Transfer from Peripheral to Peripheral.
- Configure Width of src or dest peripheral.
- Configure Flow controller of transfer.
- Some callback for fixing Request line multiplexing just before
initiating transfer.
- Multiple sg elements in slave_sg transfer. I think it is not supported.
- Control for autoincrement of addresses, both in case of memory and
peripherals.
viresh.
--