ata: Add iMX pata support
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Tue, 26 Jul 2011 14:58:19 +0000 (16:58 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 19 Aug 2011 03:57:58 +0000 (23:57 -0400)
commite39c75cf3e045c2fb3988770b207dfd09c30d4ac
tree128865b8ab5679735e43afd677d336f68a5acd44
parent6d0e194d2eefcaab6dbdca1f639748660144acb5
ata: Add iMX pata support

Add basic support for pata on iMX. It has been tested only on imx51.
SDMA support will probably be added later so this version supports only
PIO.

v2:
  - enable only when needed IORDY
  - use dev_get_drvdata
v3:
  - add missing clk_put() calls
  - use platform_get_irq()
  - fix resume code to avoid disabling IORDY on resume
v4:
  - Remove EXPERIMENTAL and switch to depends on ARCH_MXC
  - Use devm_kzalloc()
  - make clock a must-have
  - Use only 1 ioremap

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/Kconfig
drivers/ata/Makefile
drivers/ata/pata_imx.c [new file with mode: 0644]