Re: [PATCH] spi: spi-rspi: fix build error for the latest shdma driver

2012-08-27 Thread Shimoda, Yoshihiro
2012/08/27 17:28, Simon Horman wrote: > > could you let me know what the merge-status of this patch is? > Hi Simon-san, The patch needs Grant's review. So, the patch is not merged to his repository yet. Best regards, Yoshihiro Shimoda -

[PATCH] spi: spi-rspi: fix build error for the latest shdma driver

2012-08-02 Thread Shimoda, Yoshihiro
Because the latest shdma driver changed, it caused build error in the spi-rspi driver. This patch fixed the build error. Signed-off-by: Yoshihiro Shimoda --- drivers/spi/spi-rspi.c | 56 +-- 1 files changed, 34 insertions(+), 22 deletions(-) diff --

Re: [PATCH v2] spi: spi-rspi: add dmaengine supporting

2012-04-20 Thread Shimoda, Yoshihiro
Hi Simon-san, 2012/04/20 15:40, Simon Horman wrote: > On Fri, Apr 20, 2012 at 02:50:36PM +0900, Shimoda, Yoshihiro wrote: >> This patch adds dmaengine supporting using sh_dma driver. The module >> receives data by DMAC, it also needs TX DMAC to generate SPI's clocks.

[PATCH v2] spi: spi-rspi: add dmaengine supporting

2012-04-19 Thread Shimoda, Yoshihiro
This patch adds dmaengine supporting using sh_dma driver. The module receives data by DMAC, it also needs TX DMAC to generate SPI's clocks. Signed-off-by: Yoshihiro Shimoda --- about v2: - fix dma unmapping - add checking of the return value of dma_map_sg() - modify labels in rspi_{send,re

Re: [PATCH] spi: spi-rspi: add dmaengine supporting

2012-04-19 Thread Shimoda, Yoshihiro
2012/04/20 10:36, Paul Mundt wrote: > On Thu, Apr 19, 2012 at 07:22:53PM +0900, Shimoda, Yoshihiro wrote: >> +static struct dma_async_tx_descriptor *rspi_dma_prep_sg(struct scatterlist >> *sg, >> +void *buf, unsigned len,

[PATCH] spi: spi-rspi: add dmaengine supporting

2012-04-19 Thread Shimoda, Yoshihiro
This patch adds dmaengine supporting using sh_dma driver. The module receives data by DMAC, it also needs TX DMAC to generate SPI's clocks. Signed-off-by: Yoshihiro Shimoda --- drivers/spi/spi-rspi.c | 293 +- include/linux/spi/rspi.h | 31 +

[PATCH RESEND] spi: add support for Renesas RSPI

2012-03-06 Thread Shimoda, Yoshihiro
The SH7757 has RSPI module. This patch supports it. Signed-off-by: Yoshihiro Shimoda --- drivers/spi/Kconfig|6 + drivers/spi/Makefile |1 + drivers/spi/spi-rspi.c | 521 3 files changed, 528 insertions(+), 0 deletions(-) create mo

[PATCH RESEND] spi: spi-sh: add IORESOURCE_MEM_TYPE_MASK decoding for access size

2012-03-06 Thread Shimoda, Yoshihiro
This SPI controller's access size is 32, or 8-bit. The previous driver supported 32-bit only. So, this patch adds IORESOURCE_MEM_TYPE_MASK decoding, an then, the driver can handle the SPI controller of 8-bit. Signed-off-by: Yoshihiro Shimoda --- drivers/spi/spi-sh.c | 25 ++

[PATCH] spi: add support for Renesas RSPI

2012-02-07 Thread Shimoda, Yoshihiro
The SH7757 has RSPI module. This patch supports it. Signed-off-by: Yoshihiro Shimoda --- drivers/spi/Kconfig|6 + drivers/spi/Makefile |1 + drivers/spi/spi-rspi.c | 521 3 files changed, 528 insertions(+), 0 deletions(-) create mo

Re: [PATCH] spi: spi-sh: add IORESOURCE_MEM_TYPE_MASK decoding for access size

2012-01-26 Thread Shimoda, Yoshihiro
2012/01/26 19:22, Paul Mundt wrote: > On Thu, Jan 26, 2012 at 05:43:57PM +0900, Shimoda, Yoshihiro wrote: [ snip ] >> static void spi_sh_set_bit(struct spi_sh_data *ss, unsigned long val, >> @@ -464,6 +473,18 @@ static int __devinit spi_sh_probe(struct >> platform_dev

[PATCH] spi: spi-sh: add IORESOURCE_MEM_TYPE_MASK decoding for access size

2012-01-26 Thread Shimoda, Yoshihiro
This SPI controller's access size is 32, or 8-bit. The previous driver supported 32-bit only. So, this patch adds IORESOURCE_MEM_TYPE_MASK decoding, an then, the driver can handle the SPI controller of 8-bit. This patch also changes the readl/writel to ioread*/iowrite*. Signed-off-by: Yoshihiro Sh