Messages in this thread | | | Date | Tue, 18 Sep 2012 00:50:35 +0800 | From | Hein Tibosch <> | Subject | Re: [PATCH 0/7] dw_dmac: introduce autoconfiguration |
| |
On 9/17/2012 3:39 PM, Andy Shevchenko wrote: > Here is a patchset that allows to adapt the driver to the hardware > configuration during probe time. The hardware should have the specific optional > parameters enabled. Otherwise the driver will consider values stored in the > platform data. > > Additionally it brings support of the software LLP transfers. It means that > normal linked list transfer is substituted by set of single block transfers > transparently to the user. > > Comments are welcome. > > Andy Shevchenko (7): > dw_dmac: mark dwc_dump_chan_regs as inline > dw_dmac: fill optional encoded parameters in register structure > dw_dmac: get number of channels from hardware if possible > dw_dmac: autoconfigure block_size or use platform data > dw_dmac: autoconfigure data_width or get it via platform data > dw_dmac: check if controller supports LLP > dw_dmac: introduce software emulation of LLP transfers > > arch/arm/mach-spear13xx/spear13xx.c | 3 + > arch/avr32/mach-at32ap/at32ap700x.c | 3 + > drivers/dma/dw_dmac.c | 207 +++++++++++++++++++++++++++++------ > drivers/dma/dw_dmac_regs.h | 48 ++++++++ > include/linux/dw_dmac.h | 7 ++ > 5 files changed, 235 insertions(+), 33 deletions(-) Thanks a lot Andy,
I will soon test these patches on my avr32 platform and make a separate patch for the 'configurable' endianness. I'm sure this can also be detected automatically but at the cost of performance
Hein
| |