Sascha Hauer
3ee7877a48
introduce io.h
...
To allow for some generic io accessors introduce io.h and use
this instead of asm/io.h throughout the tree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-09-22 19:03:05 +02:00
Paul Fertser
8c1f388d88
imx25: imx_spi: support CSPI v0.7 as found on i.MX25
...
Based on the Linux driver. Tested with m25p80 with CS in GPIO mode.
Clock setting support is ad-hoc as the corresponding mach is not using
the generic clock infrastructure.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-09-21 09:43:44 +02:00
Paul Fertser
19284441cc
imx_spi: rework transfer according to the API, fix compatibility with spi_write_then_read()
...
This code was tested barely with m25p80 driver, reading jedec id and some data
from the chip worked fine.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-09-12 12:19:40 +02:00
Marc Kleine-Budde
9eaaf1b1ca
ARM: add support for the i.MX53
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-07-29 12:10:38 +02:00
Sascha Hauer
294894c975
spi i.MX: convert to struct resource
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-07-19 00:12:52 +08:00
Juergen Beisert
f9a11ecfef
Make DIV_ROUND_UP macro globally available
...
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-12-14 15:15:06 +01:00
Sascha Hauer
8f14d065e1
spi i.MX: Add i.MX51 support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-11 13:22:13 +02:00
Sascha Hauer
a104d0eaa3
spi i.MX: redirect functions to version specific functions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-11 13:22:13 +02:00
Sascha Hauer
3e2efa148e
spi i.MX: add spi version namespace to register defines
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-11 13:22:12 +02:00
Jean-Christophe PLAGNIOL-VILLARD
f6a579da9c
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:25 +02:00
Sascha Hauer
5931e20907
imx spi: Use gpio as chip selects
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:34:25 +02:00
Sascha Hauer
1ecc871b3a
imx_spi: make locally used function static
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 15:59:29 +02:00
Sascha Hauer
a14a5c02f0
first (partly) running spi support
2008-03-14 12:59:55 +01:00
Sascha Hauer
906eea397a
beginning of SPI support
2008-03-11 22:13:06 +01:00