diff options
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | 2011-07-26 16:58:19 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-08-18 23:57:58 -0400 |
commit | e39c75cf3e045c2fb3988770b207dfd09c30d4ac (patch) | |
tree | 128865b8ab5679735e43afd677d336f68a5acd44 /drivers/ata/Kconfig | |
parent | 6d0e194d2eefcaab6dbdca1f639748660144acb5 (diff) | |
download | linux-e39c75cf3e045c2fb3988770b207dfd09c30d4ac.tar.bz2 |
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>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r-- | drivers/ata/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index ca3e6be44a04..5987e0ba8c2d 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -468,6 +468,15 @@ config PATA_ICSIDE interface card. This is not required for ICS partition support. If you are unsure, say N to this. +config PATA_IMX + tristate "PATA support for Freescale iMX" + depends on ARCH_MXC + help + This option enables support for the PATA host available on Freescale + iMX SoCs. + + If unsure, say N. + config PATA_IT8213 tristate "IT8213 PATA support (Experimental)" depends on PCI && EXPERIMENTAL |