imx: Efika: Add pata device
cover imx: Efika: Add pata device
This patchset is adding ressources, clock and device declarations for the pata device available on imx51. Last patch enables pata on efika platforms. To be complete, this patchset needs a driver, which is about to be sent for merge to ata developers.
v2: Created a imx51_add_mxc_pata() as suggested
v3: Fix naming
v4: Change clock name to pata_imx
Arnaud
PATCH 1/3 imx51: add pata device
An embedded and charset-unspecified text was scrubbed...
Name: efika_pata_add_dev.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110726/7c5eda16/attachment.ksh>
PATCH 1/3 imx51: add pata device
Quoted 20 lines · Arnaud Patard
Declare the pata device found on mx51
Signed-off-by Arnaud Patard <[email protected]>Index:
linux-2.6-submit/arch/arm/mach-mx5/devices-imx51.h
===================================================================arch/arm/mach-mx5/devices-imx51.h +4
-0@@ -52,3 +52,7 @@ extern const struct imx_mxc_pwm_data imxextern const struct imx_imx_keypad_data imx51_imx_keypad_data;#define imx51_add_imx_keypad (pdata) \ imx_add_imx_keypad(&imx51_imx_keypad_data, pdata) + +extern const struct imx_pata_imx_data imx51_pata_imx_data; +#define imx51_add_pata_imx () \ + imx_add_pata_imx(&imx51_pata_imx_data)Index: linux-2.6-submit/arch/arm/plat-mxc/devices/Kconfig
===================================================================
arch/arm/plat-mxc/devices/Kconfig config IMX_HAVE_PLATFORM_IMX_I2C · line 36
Quoted 6 lines
arch/arm/plat-mxc/devices/Kconfig +3
-0@@ -31,6 +31,9 @@ config IMX_HAVE_PLATFORM_IMX_I2C config IMX_HAVE_PLATFORM_IMX_KEYPAD bool +config IMX_HAVE_PLATFORM_PATA_IMX + bool +
this breaks the alphabetic ordering in this file. arch/arm/plat-mxc/devices/Makefile is affected, too.
Other than that I don't see any issues any more. Sascha, maybe you can fix that up while committing (assuming nobody has more objections)? Arnaud told me on irc that he is occupied and cannot follow up soon.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |
PATCH 2/3 imx51: add pata clock
In reply to Arnaud Patard (Rtp)An embedded and charset-unspecified text was scrubbed...
Name: efika_pata_add_clock.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110726/0a0332b3/attachment.ksh>
PATCH 3/3 imx: efika: Enable pata.
In reply to Arnaud Patard (Rtp)An embedded and charset-unspecified text was scrubbed...
Name: efika_pata_enable_pata.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110726/ce40c4b1/attachment.ksh>