[PATCH] spi: Keep chipselect assertion during one message

2012-05-23 Thread Kyoungil Kim
During all transfers in one message, the device will not be chagned. So we don't need to deassert chipselect during one message. Signed-off-by: Kyoungil Kim --- drivers/spi/spi-s3c64xx.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-s3c64x

[PATCH] spi: Change FIFO flush operation and spi channel off

2012-05-23 Thread Kyoungil Kim
Setting SW_RST does TX/RX FIFO flush. After FIFO flush, SW_RST should be cleared. The above setting and clearing SW_RST operation should be done after spi channel off. Signed-off-by: Kyoungil Kim --- drivers/spi/spi-s3c64xx.c |8 1 files changed, 4 insertions(+), 4 deletions

[PATCH] spi: Compatibility with direction which is used in samsung DMA operation

2012-03-09 Thread Kyoungil Kim
samsung DMA operation (arch/arm/plat-samsung/dma-ops.c). This patch is just some changes to use direction defines which is used in samsung DMA operation. Signed-off-by: Boojin Kim Signed-off-by: Kyoungil Kim --- drivers/spi/spi-s3c64xx.c | 10 +- 1 files changed, 5 insertions(+), 5

RE: [PATCH] spi: Add the use of DMA config operation

2012-02-08 Thread Kyoungil Kim
Hi, Sylwester Nawrocki wrote: > Hi, > > On 02/08/2012 07:52 AM, Kyoungil Kim wrote: > > Config operation is separated from request operation in DMA common > > operation. > > Because spi driver can change the DMA config for every message. > > So this patch

[PATCH] spi: Compatibility with direction which is used in samsung DMA operation

2012-02-07 Thread Kyoungil Kim
Signed-off-by: Boojin Kim Signed-off-by: Kyoungil Kim --- drivers/spi/spi-s3c64xx.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index f3b7f6a..1972377 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers

[PATCH] spi: Add the use of DMA config operation

2012-02-07 Thread Kyoungil Kim
Config operation is separated from request operation in DMA common operation. Because spi driver can change the DMA config for every message. So this patch is using the separated DMA config operation. Signed-off-by: Boojin Kim Signed-off-by: Kyoungil Kim --- drivers/spi/spi-s3c64xx.c | 35

[PATCH] spi: Add spi-s3c64xx driver dependency on ARCH_EXYNOS

2012-02-03 Thread Kyoungil Kim
EXYNOS4 and EXYNOS5 commonly use the spi-s3c64xx driver. So ARCH_EXYNOS covering ARCH_EXYNOS4 and ARCH_EXYNOS5 is better. Signed-off-by: Kyoungil Kim --- drivers/spi/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index