Re: 2.6.33 -next tree

2009-12-09 Thread Luotao Fu
. Any plan when they will be merged to the -next tree? Like mentioned before, some of them are essential, without which the driver doesn't work (at least on my board) sorry for nagging. ;-) thanks cheers Luotao Fu -- Pengutronix e.K. | Dipl.-Ing. Luotao Fu

Re: [PATCH] spi/mpc52xx-spi: cleanups

2009-11-17 Thread Luotao Fu
On Tue, Nov 17, 2009 at 03:31:08PM +0100, Wolfram Sang wrote: > - drop own, obsolete include-file > - drop IRQF_SAMPLE_RANDOM (deprecated feature) > - drop 'if' above kfree() > - typos, braces & whitespaces > > Signed-off-by: Wolfram Sang > Cc: Luotao Fu >

[PATCH 3/3] [V2] mpc52xx_spi: add gpio chipselect

2009-11-13 Thread Luotao Fu
direction_output every time. * initialize the gpio line with output high, since we don't support CS_HIGH in the driver currently any way. change gpio value setting to default active low in chip select call. * free the gpio array while error or removing. Signed-off-by: Luotao Fu --- driver

[PATCH 1/3] [V2] mpc52xx_spi: fix clearing status register

2009-11-13 Thread Luotao Fu
to u8 Signed-off-by: Luotao Fu Acked-by: Wolfram Sang --- drivers/spi/mpc52xx_spi.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/spi/mpc52xx_spi.c b/drivers/spi/mpc52xx_spi.c index ef8379b..2322250 100644 --- a/drivers/spi/mpc52xx_spi.c +++ b/drivers/spi

[PATCH 2/3] [V2] mpc52xx_spi: add missing mode_bits definition

2009-11-13 Thread Luotao Fu
V2 changes: * remove CS_HIGH mode Signed-off-by: Luotao Fu Acked-by: Wolfram Sang --- drivers/spi/mpc52xx_spi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/spi/mpc52xx_spi.c b/drivers/spi/mpc52xx_spi.c index 2322250..64862cf 100644 --- a/drivers/spi

[V2] Patches for mpc52xx_spi

2009-11-13 Thread Luotao Fu
seen on my board. cheers Luotao Fu ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 3/3] mpc52xx_spi: add gpio chipselect

2009-11-10 Thread Luotao Fu
This one enables the mpc52xx_spi driver for usage of user defined gpio lines as chipselect. This way we can control some more spi devices than only one Signed-off-by: Luotao Fu --- drivers/spi/mpc52xx_spi.c | 57 +--- 1 files changed, 53 insertions

[PATCH 1/3] mpc52xx_spi: fix clearing status register

2009-11-10 Thread Luotao Fu
master. Flag is cleared automatically by an SPI status register read (with MODF set) followed by a SPI control register 1 write. Hence simply rereading the register is not sufficient to clear the flag. We redo the write also to make sure to clear the flag. Signed-off-by: Luotao Fu --- drivers/spi

Patches for mpc52xx_spi

2009-11-10 Thread Luotao Fu
machine with 7 spi devices, (cs lines are conntected to gpios) on 2.6.31, should work with latest kernel also. Please review. cheers Luotao Fu ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 2/3] mpc52xx_spi: add missing mode_bits definition

2009-11-10 Thread Luotao Fu
Signed-off-by: Luotao Fu --- drivers/spi/mpc52xx_spi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/spi/mpc52xx_spi.c b/drivers/spi/mpc52xx_spi.c index 5b036f2..79ba678 100644 --- a/drivers/spi/mpc52xx_spi.c +++ b/drivers/spi/mpc52xx_spi.c @@ -430,6 +430,8

Re: Booting uncompressed kernel image

2009-01-26 Thread Luotao Fu
h attached to this mail. It worked for me[TM]. ;-) Cheers Luotao Fu -- Pengutronix e.K. | Dipl.-Ing. Luotao Fu| Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0

Re: i2c-mpc clocking scheme

2008-11-27 Thread Luotao Fu
me algorithm to calculate the right values in the Timing table of the I2C bus controller. Anyhow I gave it up after starring at the datasheet for some time. ;-) I can't speak for other platforms, which are supported by i2c-mpc. Anyway, I do think it might be interesting to have configurable i2c bus

[spi][mpc52xx][PATCH] Fix mpc52xx_psc_spi master driver

2008-07-25 Thread Luotao Fu
Hi, this is a fix for full duplex transfer mode on the mpc52xx_psc_spi driver. Details see the patch header. Tested on a mpc5200b board. Cheers Luotao fu -- Dipl.-Ing. Luotao Fu | Phone: +49-5121-206917-3 Pengutronix - Linux Solutions for Science and Industry Entwicklungszentrum Nord