[PATCH] spi: s3c64xx: add missing check for polling mode

2013-06-27 Thread Girish K S
-by: Girish K S ks.g...@samsung.com --- drivers/spi/spi-s3c64xx.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index d170cc0..ea82baa 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -434,6 +434,9 @@ static int

[PATCH v1 0/3] Polling support for s3c64xx spi controller

2013-05-20 Thread Girish K S
This patch series adds support for the polling mode only. Also 2nd patch in the series adds support for dedicated cs pin. After Thomas's patch for using default gpio is merged(commit id: 00ab539), one of the patch in this series is dropped and new series is generated. Girish K S (3): spi

[PATCH v1 1/3] spi: s3c64xx: added support for polling mode

2013-05-20 Thread Girish K S
From: Girish K S girishks2...@gmail.com The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling

[PATCH v1 2/3] spi: s3c64xx: Added provision for dedicated cs pin

2013-05-20 Thread Girish K S
From: Girish K S girishks2...@gmail.com The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally asserted

[PATCH v1 3/3] spi: s3c64xx: Added support for exynos5440 spi

2013-05-20 Thread Girish K S
From: Girish K S girishks2...@gmail.com This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S ks.g...@samsung.com

[PATCH 0/3] Polling support for s3c64xx spi controller

2013-04-22 Thread Girish K S
This patch series adds support for the polling mode only. Also 2nd patch in the series adds support for dedicated cs pin. After Thomas's patch for using default gpio is merged(commit id: 00ab539), one of the patch in this series is dropped and new series is generated. Girish K S (3): spi

[PATCH 1/3] spi: s3c64xx: added support for polling mode

2013-04-22 Thread Girish K S
From: Girish K S girishks2...@gmail.com The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling

[PATCH 2/3] spi: s3c64xx: Added provision for dedicated cs pin

2013-04-22 Thread Girish K S
From: Girish K S girishks2...@gmail.com The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally asserted

[PATCH 3/3] spi: s3c64xx: Added support for exynos5440 spi

2013-04-22 Thread Girish K S
From: Girish K S girishks2...@gmail.com This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S ks.g...@samsung.com

[PATCH V3 RESEND 3/5] spi: s3c64xx: Added provision for non-gpio i/o's

2013-04-15 Thread Girish K S
From: Girish K S girishks2...@gmail.com Currently the drivers supports only the GPIO based i/o pins. But there are Exynos SoC's that use the same controller with dedicated i/o pins. This patch provides provision to support gpio/dedicated pins. The decision is made by parsing the gpios property

[PATCH V4 4/5] spi: s3c64xx: Added provision for dedicated cs pin

2013-04-15 Thread Girish K S
From: Girish K S girishks2...@gmail.com The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally asserted

[PATCH V4 2/5] spi: s3c64xx: added support for polling mode

2013-04-15 Thread Girish K S
From: Girish K S girishks2...@gmail.com The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling

[PATCH RESEND V3 5/5] spi: s3c64xx: Added support for exynos5440 spi

2013-04-15 Thread Girish K S
From: Girish K S girishks2...@gmail.com This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S ks.g...@samsung.com

[PATCH V3 0/5] Add polling support for 64xx spi controller

2013-03-13 Thread Girish K S
of generic dma patch. resolved the merge conflicts and tested for the functionality Girish K S (5): spi: s3c64xx: modified error interrupt handling and init spi: s3c64xx: added support for polling mode spi: s3c64xx: Added provision for non-gpio i/o's spi: s3c64xx: Added provision

[PATCH V3 2/5] spi: s3c64xx: added support for polling mode

2013-03-13 Thread Girish K S
From: Girish K S girishks2...@gmail.com The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling

[PATCH V3 3/5] spi: s3c64xx: Added provision for non-gpio i/o's

2013-03-13 Thread Girish K S
From: Girish K S girishks2...@gmail.com Currently the drivers supports only the GPIO based i/o pins. But there are Exynos SoC's that use the same controller with dedicated i/o pins. This patch provides provision to support gpio/dedicated pins. The decision is made by parsing the gpios property

[PATCH V3 4/5] spi: s3c64xx: Added provision for dedicated cs pin

2013-03-13 Thread Girish K S
From: Girish K S girishks2...@gmail.com The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally asserted

[PATCH V3 5/5] spi: s3c64xx: Added support for exynos5440 spi

2013-03-13 Thread Girish K S
From: Girish K S girishks2...@gmail.com This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S ks.g...@samsung.com

[PATCH V2 3/5] spi: s3c64xx: Added provision for non-gpio i/o's

2013-02-13 Thread Girish K S
Currently the drivers supports only the GPIO based i/o pins. But there are Exynos SoC's that use the same controller with dedicated i/o pins. This patch provides provision to support gpio/dedicated pins. The decision is made by parsing the gpios property in the spi node. Signed-off-by: Girish K

[PATCH V2 2/5] spi: s3c64xx: added support for polling mode

2013-02-13 Thread Girish K S
to select poll/dma mode. Signed-off-by: Girish K S ks.g...@samsung.com --- changes in v2: Added quirk to force polling mode. Modified the wait_for_zfer function, to handle the polling mode support. Before reading the data from the Rx fifo

[PATCH V2 1/5] spi: s3c64xx: modified error interrupt handling and init

2013-02-13 Thread Girish K S
in the clear pending register. Modified the hwInit function to clear all the pending interrupts. Signed-off-by: Girish K S ks.g...@samsung.com --- changes in v2: Modified the interrupt handler to clear the pending register after setting to value 1. drivers/spi/spi

[PATCH V2 4/5] spi: s3c64xx: Added provision for dedicated cs pin

2013-02-13 Thread Girish K S
support for controllers with dedicated /cs pin. if cs-gpio property doesnt exist in a spi dts node, the controller would treat the /cs pin as dedicated. Signed-off-by: Girish K S ks.g...@samsung.com --- changes in v2: added provision to use either gpio/dedicated pins as chip

[PATCH V2 0/5] Add polling support for 64xx spi controller

2013-02-13 Thread Girish K S
]: provision to support dedicated cs pin [PATCH 5/5]: support exynos5440 SoC in polling mode Tested this patch on exynos5250 in dma mode, and exynos5440 in polling mode. Girish K S (5): spi: s3c64xx: modified error interrupt handling and init spi: s3c64xx: added support for polling mode spi

[PATCH V2 5/5] spi: s3c64xx: Added support for exynos5440 spi

2013-02-13 Thread Girish K S
This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S ks.g...@samsung.com --- changes in v2: the fifo

[PATCH V2 2/5] spi: s3c64xx: added support for polling mode

2013-02-13 Thread Girish K S
to select poll/dma mode. Signed-off-by: Girish K S ks.g...@samsung.com --- changes in v2: Added quirk to force polling mode. Modified the wait_for_zfer function, to handle the polling mode support. Before reading the data from the Rx fifo

[PATCH V2 3/5] spi: s3c64xx: Added provision for non-gpio i/o's

2013-02-13 Thread Girish K S
Currently the drivers supports only the GPIO based i/o pins. But there are Exynos SoC's that use the same controller with dedicated i/o pins. This patch provides provision to support gpio/dedicated pins. The decision is made by parsing the gpios property in the spi node. Signed-off-by: Girish K

[PATCH 3/4] spi: s3c64xx: add gpio quirk for controller

2013-02-05 Thread Girish K S
This patch adds support for spi controllers with dedicated clk/miso/mosi/cs pins. It skips the gpio parsing and initialization for controllers that have dedicated pins. Signed-off-by: Girish K S ks.g...@samsung.com --- drivers/spi/spi-s3c64xx.c | 39 +++ 1

[PATCH 0/4] Add polling support for 64xx spi controller

2013-02-05 Thread Girish K S
]: Adds the support for exynos5440 SoC, this SoC has no support for dma transfer and consists of dedicated i/o pins. Girish K S (4): spi: s3c64xx: modified error interrupt handling and init spi: s3c64xx: added support for polling mode spi: s3c64xx: add gpio quirk

[PATCH 2/4] spi: s3c64xx: added support for polling mode

2013-02-05 Thread Girish K S
to select poll/dma mode. Signed-off-by: Girish K S ks.g...@samsung.com --- drivers/spi/spi-s3c64xx.c | 65 + 1 file changed, 30 insertions(+), 35 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index b770f88..90770bd

[PATCH 1/4] spi: s3c64xx: modified error interrupt handling and init

2013-02-05 Thread Girish K S
in the clear pending register. Modified the hwInit function to clear all the pending interrupts. Signed-off-by: Girish K S ks.g...@samsung.com --- drivers/spi/spi-s3c64xx.c | 41 + 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/drivers/spi/spi

[PATCH 4/4] spi: s3c64xx: add support for exynos5440 spi

2013-02-05 Thread Girish K S
This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S ks.g...@samsung.com --- drivers/spi/spi-s3c64xx.c | 12