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

2013-06-26 Thread Girish K S
ned-off-by: Girish K S --- 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 @@

[PATCH 0/2] support for non-gpio cs pin

2013-06-20 Thread Girish K S
This patch series adds support for the dedicated cs pin and support for exynos5440 spi controller. The first patch "Polling support for s3c64xx spi controller" in the previous serias is already applied to Mark's spi-next branch. So created a new series with remaining 2 patches.

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

2013-06-20 Thread Girish K S
From: 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 --- drivers/spi/spi-s3c64xx.c |

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

2013-06-20 Thread Girish K S
From: Girish K S 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/deasserted usin

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

2013-05-19 Thread Girish K S
From: 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 --- drivers/spi/spi-s3c64xx.c |

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

2013-05-19 Thread Girish K S
From: Girish K S 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/deasserted usin

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

2013-05-19 Thread Girish K S
From: Girish K S 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 mode and

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

2013-05-19 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):

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

2013-04-22 Thread Girish K S
From: 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 --- drivers/spi/spi-s3c64xx.c |

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

2013-04-22 Thread Girish K S
From: Girish K S 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/deasserted usin

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

2013-04-22 Thread Girish K S
From: Girish K S 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 mode and

[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):

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

2013-04-15 Thread Girish K S
From: 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 --- drivers/spi/spi-s3c64xx.c |

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

2013-04-15 Thread Girish K S
From: Girish K S 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 mode and

[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 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 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/deasserted usin

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

2013-03-12 Thread Girish K S
From: 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 --- drivers/spi/spi-s3c64xx.c

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

2013-03-12 Thread Girish K S
From: Girish K S 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/deasserted usin

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

2013-03-12 Thread Girish K S
From: 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

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

2013-03-12 Thread Girish K S
From: Girish K S The status of the interrupt is available in the status register, so reading the clear pending register and writing back the same value will not actually clear the pending interrupts. This patch modifies the interrupt handler to read the status register and clear the

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

2013-03-12 Thread Girish K S
From: Girish K S 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 mode and

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

2013-03-12 Thread Girish K S
the merge 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: Adde

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

2013-02-13 Thread Girish K S
-off-by: Girish K S --- changes in v2: Removed the gpio quirk. Parse the "gpios" property to decide whether gpio / dedicated i/o lines should be used. drivers/spi/spi-s3c64xx.c |8 1 file changed, 8 insertions(+) dif

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

2013-02-13 Thread Girish K S
er to select poll/dma mode. Signed-off-by: Girish K S --- 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, no. of itera

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

2013-02-13 Thread Girish K S
the clear pending register. Modified the hwInit function to clear all the pending interrupts. Signed-off-by: Girish K S --- changes in v2: Modified the interrupt handler to clear the pending register after setting to value 1. drivers/spi/spi-s3c64xx.c | 41

[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 --- changes in v2: the fifo mask modifi

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

2013-02-13 Thread Girish K S
H 4/5]: 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

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

2013-02-13 Thread Girish K S
patch adds 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 --- changes in v2: added provision to use either gpio/dedicated pins as chip

[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 --- changes in v2: the fifo mask modifi

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

2013-02-13 Thread Girish K S
patch adds 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 --- changes in v2: added provision to use either gpio/dedicated pins as chip

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

2013-02-13 Thread Girish K S
the clear pending register. Modified the hwInit function to clear all the pending interrupts. Signed-off-by: Girish K S --- changes in v2: Modified the interrupt handler to clear the pending register after setting to value 1. drivers/spi/spi-s3c64xx.c | 41

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

2013-02-13 Thread Girish K S
er to select poll/dma mode. Signed-off-by: Girish K S --- 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, no. of itera

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

2013-02-13 Thread Girish K S
-off-by: Girish K S --- changes in v2: Removed the gpio quirk. Parse the "gpios" property to decide whether gpio / dedicated i/o lines should be used. drivers/spi/spi-s3c64xx.c |8 1 file changed, 8 insertions(+) dif

[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 --- drivers/spi/spi-s3c64xx.c | 12 1

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

2013-02-05 Thread Girish K S
er to select poll/dma mode. Signed-off-by: Girish K S --- 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 100644 --- a/driver

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

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

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

2013-02-05 Thread Girish K S
H 4/4]: 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 quir

[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 --- drivers/spi/spi-s3c64xx.c | 39 +++ 1 file changed, 31