[RFC PATCH] i2c: at91: add dma support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ludovic Desroches <ludovic.desroches@xxxxxxxxx>

Hi,

This patch provides DMA support for Atmel TWI. Only sam9x5 and sam9n12 devices
are concerned.
One part is missing since the generic device tree DMA helpers have not been
adopted yet, it has been tested with home-made ones.

It has been tested with an eeprom. Do you see potential issues with this device
or with other ones.

If you have suggestions about sg part and twi_irq_save/restore, don't hesitate.
I am not really pleased with it, I think something better could be done.

Thanks

Regards

Ludovic

Ludovic Desroches (1):
  i2c: at91: add dma support

 drivers/i2c/busses/i2c-at91.c | 323 ++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 311 insertions(+), 12 deletions(-)

-- 
1.7.11.3

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux