add spi support for i.MX51 in the existing spi_imx driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 6 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 6 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] add spi support for i.MX51 in the existing spi_imx driver
Hi Uwe,
Quoted 23 lines · Uwe Kleine-K?nig
Hello,
Quoted 5 lines · Uwe Kleine-K?nig
Hello Jason,
Quoted 2 lines
Quoted 2 lines
Actually I would prefer our patches, but of course I'm biased :-)
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines
I don't know how we should handle this. And Sascha is on vacation this and next week. I will investigate if our patches are already free to be posted.
OK, I can post our patches. I think the driver part is quite similar, the platform part is not. But look for yourself, I'll post them in reply to this mail. Hopefully we can join forces to get the best out of the two approaches.
I now made the effort to try doing this. I hope this is OK though it feels strage that no commit is attributed to Sascha.
The following changes since commit
5b1caa2452a2cf09417ab657ae3a2275ebd78103:
Quoted 10 lines
ARM: mx5/mx51_babbage: Add FEC support (2010-09-13 11:31:22 +0200)
are available in the git repository at:
git://git.pengutronix.de/git/ukl/linux-2.6.gitspi-imx51(
5b1caa2452a2cf09417ab657ae3a2275ebd78103is the result of rebasing Sascha's for-2.6.37 branch on top of 2.6.36-rc4---done mainly to contain the for-2.6.36 branch)
I have performed a git pull for your repository based off 2.6.36-rc4, and built and validated these patches on imx51_3ds board, they worked fine. The spi flash can be read without any problems.
And your patches looks pretty good to me. :-).
Thanks,
Jason.
Quoted 48 lines
Jason Wang (4):
ARM: mx5/clock-mx51: add spi clocks
ARM: mx5/iomux-mx51: add iomux definitions for eCSPI2 on theimx51_3dsboard
ARM: mx5/mx51_3ds: add eCSPI2 support on theimx51_3dsboard
ARM: mx5/mx51_3ds: add SPI NOR flash in the board init stageUwe Kleine-K?nig (12):
spi/imx: default to m on platforms that have such devices spi/imx: convert driver to use platform ids
spi/imx: get rid of more ifs depending on the used cpu spi/imx: save the spi chip select in config struct, not the gpio to use spi/imx: add support for imx51's eCSPI and CSPI
ARM: imx: change the way spi-imx devices are registered
ARM: imx: use platform ids forspi_imxdevices
ARM: mx51: clean up mx51 header
ARM: mx51: fix naming of spi related defines
ARM: mx5: addspi_imxdevice registration
ARM: mx5/clock-mx51: refactor ccgr callbacks to use common code
ARM: mx5/clock-mx51: new macro that defines a clk with all membersarch/arm/mach-imx/clock-imx1.c | 2 +- arch/arm/mach-imx/clock-imx21.c | 6 +- arch/arm/mach-imx/clock-imx27.c | 6 +- arch/arm/mach-imx/devices-imx21.h | 9 +- arch/arm/mach-imx/devices-imx27.h | 12 +- arch/arm/mach-mx25/clock.c | 6 +- arch/arm/mach-mx25/devices-imx25.h | 12 +- arch/arm/mach-mx3/clock-imx31.c | 6 +- arch/arm/mach-mx3/clock-imx35.c | 4 +- arch/arm/mach-mx3/devices-imx31.h | 12 +- arch/arm/mach-mx3/devices-imx35.h | 9 +- arch/arm/mach-mx5/Kconfig | 1 + arch/arm/mach-mx5/board-mx51_3ds.c | 33 ++ arch/arm/mach-mx5/clock-mx51.c | 113 ++++- arch/arm/mach-mx5/devices-imx51.h | 18 + arch/arm/plat-mxc/devices/platform-spi_imx.c | 89 +++- arch/arm/plat-mxc/include/mach/devices-common.h | 11 +- arch/arm/plat-mxc/include/mach/iomux-mx51.h | 5 + arch/arm/plat-mxc/include/mach/mx51.h | 608 +++++++++++------------ drivers/spi/Kconfig | 16 + drivers/spi/spi_imx.c | 394 ++++++++++++--- 21 files changed, 919 insertions(+), 453 deletions(-) create mode 100644 arch/arm/mach-mx5/devices-imx51.hThanks
Uwe