Re: [PATCH 1/4] spi-topcliff-pch: Modify pci-bus number dynamically to get DMA device info

2012-01-18 Thread Tomoya MORINAGA
-topcliff-pch: supports a spi mode setup and bit order setup by IO control [PATCH 4/4] spi-topcliff-pch: add recovery processing in case wait-event timeout Could you review these ? thanks, tomoya 2011/12/9 Tomoya MORINAGA tomoya.r...@gmail.com: Signed-off-by: Tomoya MORINAGA tomoya.r...@gmail.com

Re: [PATCH] spi-topcliff-pch: Fix count calculation issue

2011-12-08 Thread Tomoya MORINAGA
2011/12/8, Wolfram Sang w.s...@pengutronix.de: Signed-off-by: Tomoya MORINAGA tomoya.r...@gmail.com Which branch is this patch based on? This patch was created for linux-3.2. However, other patches which have dependency are not sent to upstream yet. So, I'll send the patch series again. Sorry

[PATCH 1/4] spi-topcliff-pch: Modify pci-bus number dynamically to get DMA device info

2011-12-08 Thread Tomoya MORINAGA
Signed-off-by: Tomoya MORINAGA tomoya.r...@gmail.com --- drivers/spi/spi-topcliff-pch.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c index 99ec279..fcd9462 100644 --- a/drivers/spi/spi-topcliff-pch.c

[PATCH 2/4] spi-topcliff-pch: Fix issue for transmitting over 4KByte

2011-12-08 Thread Tomoya MORINAGA
Currently, when spi-topcliff-pch receives transmit request over 4KByte, this driver can't process correctly. This driver needs to divide the data into 4Kbyte unit. This patch fixes the issue. Signed-off-by: Tomoya MORINAGA tomoya.r...@gmail.com --- drivers/spi/spi-topcliff-pch.c | 66

[PATCH 3/4][RESEND] spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control

2011-12-08 Thread Tomoya MORINAGA
This patch supports a spi mode setup and bit order setup by IO control. spi mode: mode 0 to mode 3 bit order:LSB first, MSB first Signed-off-by: Tomoya MORINAGA tomoya.r...@gmail.com --- drivers/spi/spi-topcliff-pch.c |1 + 1 files changed, 1 insertions(+), 0 deletions

[PATCH 4/4] spi-topcliff-pch: add recovery processing in case wait-event timeout

2011-12-08 Thread Tomoya MORINAGA
Currently, pch_spi_start_transfer failure is not anticipated. This patch adds the processing. Signed-off-by: Tomoya MORINAGA tomoya.r...@gmail.com --- drivers/spi/spi-topcliff-pch.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/spi/spi-topcliff-pch.c b

[PATCH] spi-topcliff-pch: Fix count calculation issue

2011-11-16 Thread Tomoya MORINAGA
81922 2 2 81932(NG) 3 3 12287 3 3 3 12288 3 3 3 12289 3(NG) 4 4 This patch fixes the issue. Signed-off-by: Tomoya MORINAGA tomoya.r...@gmail.com

[PATCH 1/2] spi-topcliff-pch: Support new device LAPIS Semiconductor ML7831 IOH

2011-10-27 Thread Tomoya MORINAGA
ML7831 is companion chip for Intel Atom E6xx series. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.lapis-semi.com --- drivers/spi/Kconfig|6 +++--- drivers/spi/spi-topcliff-pch.c |5 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/spi/Kconfig b

[PATCH 2/2] spi-topcliff-pch: Change company name OKI SEMICONDUCTOR to LAPIS Semiconductor

2011-10-27 Thread Tomoya MORINAGA
On October 1 in 2011, OKI SEMICONDUCTOR Co., Ltd. changed the company name in to LAPIS Semiconductor Co., Ltd. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.lapis-semi.com --- drivers/spi/spi-topcliff-pch.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] spi_topcliff_pch: supports a spi mode setup and bit order setup by IO control

2011-10-05 Thread Tomoya MORINAGA
Hi Grant, It seems this patch Toshiharu posted in 20-July remains not to be reviewed by you. Could you review this patch and merge to your tree ? Thanks in advance, -- tomoya ROHM Co., Ltd. (2011/07/20 14:56), Toshiharu Okada wrote: This patch supports a spi mode setup and bit order setup

Re: [PATCH 1/5] spi-topcliff-pch: add tx-memory clear after complete transmitting

2011-10-04 Thread Tomoya MORINAGA
Hi Grant, 1 month has passed. You look very busy, right ? We've been long waiting for your accept. Could you review these patch series ? Thanks in advance. (2011/09/06 16:58), Tomoya MORINAGA wrote: Currently, in case of reading date from SPI flash, command is sent twice. The cause

[PATCH 4/5 v2] spi-topcliff-pch: Add recovery processing in case FIFO overrun error occurs

2011-09-06 Thread Tomoya MORINAGA
Add recovery processing in case FIFO overrun error occurs with DMA transfer mode. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- v2: v1 patch series are included invalid patch file --- drivers/spi/spi-topcliff-pch.c | 31 --- 1 files changed, 24

[PATCH] spi-topcliff-pch: Support new device ML7223 IOH

2011-06-16 Thread Tomoya MORINAGA
Support new device OKI SEMICONDUCTOR ML7223 IOH(Input/Output Hub). The ML7223 IOH is for MP(Media Phone) use. The ML7223 is companion chip for Intel Atom E6xx series. The ML7223 is completely compatible for Intel EG20T PCH. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers

Re: [PATCH/RESEND v4 1/2] spi_topcliff_pch: support new device ML7213 IOH

2011-06-08 Thread Tomoya MORINAGA
Hi Grant, Why don't you give us your comment/opinion at all for our v4 patch ?? We have been long waiting since 27-April. (2011/06/07 14:50), Tomoya MORINAGA wrote: ***Modify Grant's comments. - Delete unrelated whitespace - Prevent device driver from accessing platform data

Re: [PATCH/RESEND v4 1/2] spi_topcliff_pch: support new device ML7213 IOH

2011-06-08 Thread Tomoya MORINAGA
(2011/06/08 23:44), Grant Likely wrote: Sorry about that Tomoya. I got completely overloaded at the end of April and all of May. I ended up dropping a lot of patches on the floor because of it. I'm not purposefully ignoring you! I can understand you ware very busy last month. Though I

Re: [PATCH v2] spi: reorganize drivers

2011-06-06 Thread Tomoya MORINAGA
Hi Grant, (2011/06/07 1:52), Grant Likely wrote: Hahaha. Oops, I can't remember the conversation I had 5 minutes after getting off the phone. It should actually be Tomoya who can comment on the name change. As far as I know, this change doesn't occur any issue. However, I don't have perfect

[PATCH/RESEND 2/2] spi_topcliff_pch: DMA support

2011-06-06 Thread Tomoya MORINAGA
This patch enables this SPI driver works with DMA mode. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers/spi/spi_topcliff_pch.c | 612 1 files changed, 492 insertions(+), 120 deletions(-) diff --git a/drivers/spi

Re: [PATCH/RESEND v4 1/2] spi_topcliff_pch: support new device ML7213 IOH

2011-06-06 Thread Tomoya MORINAGA
Sorry for invalid patch From y It seems My PC's clock is reset. (2009/01/02 8:29), y wrote: From: Tomoya MORINAGAtomoya-li...@dsn.okisemi.com ***Modify Grant's comments. - Delete unrelated whitespace - Prevent device driver from accessing platform data - Add __devinit and

RE: [PATCH v4 1/2] spi_topcliff_pch: support new device ML7213 IOH

2011-05-22 Thread Tomoya MORINAGA
Grant, Could you review this patch ASAP? I worry this spi patch can not be integrated to the latest kernel again. With Best Regards, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -Original Message- From: linux-kernel-ow...@vger.kernel.org

RE: [PATCH v4 1/2] spi_topcliff_pch: support new device ML7213 IOH

2011-05-19 Thread Tomoya MORINAGA
Hi Grant Could you review this patch ASAP? There is little time to be integrated to 2.6.40. Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-ow

RE: [PATCH v4 1/2] spi_topcliff_pch: support new device ML7213 IOH

2011-05-09 Thread Tomoya MORINAGA
Hi Grant, Sent: Wednesday, April 27, 2011 11:23 AM To: David Brownell; Grant Likely; spi-devel-general@lists.sourceforge.net; linux-ker...@vger.kernel.org Cc: qi.w...@intel.com; yong.y.w...@intel.com; joel.cl...@intel.com; kok.howg@intel.com; Tomoya MORINAGA Subject: [PATCH v4 1/2

[PATCH 2/2] spi_topcliff_pch: DMA support

2011-04-26 Thread Tomoya MORINAGA
This patch enables this SPI driver works with DMA mode. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers/spi/spi_topcliff_pch.c | 612 1 files changed, 492 insertions(+), 120 deletions(-) diff --git a/drivers/spi

[PATCH v4 1/2] spi_topcliff_pch: support new device ML7213 IOH

2011-04-26 Thread Tomoya MORINAGA
- Change unregister order Support ML7213 device of OKI SEMICONDUCTOR. ML7213 is companion chip of Intel Atom E6xx series for IVI(In-Vehicle Infotainment). ML7213 is compatible for Intel EG20T PCH. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers/spi/Kconfig|5

RE: [PATCH v3] spi_topcliff_pch: support new device ML7213 IOH

2011-03-30 Thread Tomoya MORINAGA
Hi Grant, Could you review this patch ? We do hope this patch will be merged for 2.6.39. Thanks in advance, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -Original Message- From: Tomoya MORINAGA [mailto:tomoya-li...@dsn.okisemi.com] Sent

RE: spi_topcliff_pch: reload issue

2011-02-22 Thread Tomoya MORINAGA
err_log) I attached source code(power management is not updated) and kernel error log. Do you have any information about the above ? With Best Regards, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -Original Message- From: Tomoya MORINAGA

RE: [PATCH v2] spi_topcliff_pch: support new device ML7213 IOH

2011-02-15 Thread Tomoya MORINAGA
Hi Grant, Could you review my patch ? With Best Regards, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -Original Message- From: Tomoya MORINAGA [mailto:tomoya-li...@dsn.okisemi.com] Sent: Wednesday, January 26, 2011 5:07 PM To: David

[PATCH v2] spi_topcliff_pch: support new device ML7213 IOH

2011-01-26 Thread Tomoya MORINAGA
Support ML7213 device of OKI SEMICONDUCTOR. ML7213 is companion chip of Intel Atom E6xx series for IVI(In-Vehicle Infotainment). ML7213 is completely compatible for Intel EG20T PCH. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers/spi/Kconfig|7 +- drivers

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-23 Thread Tomoya MORINAGA
(spi_device 0 on spi_master 1) Still above, don't you change your opinion? Make sense? I probably understand your saying. You mean insert platform_device as wrapper between pci_driver and spi_topcliff_pch. Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-18 Thread Tomoya MORINAGA
Hi Grant, Need your help! Could you give us your answer ? Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Tomoya

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-11 Thread Tomoya MORINAGA
pch_spi channel dynamically ? I want to catch your saying correctly. Could you give me more information ? Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -- Gaining the trust

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-11 Thread Tomoya MORINAGA
example. Does need platform_device ? Q2. How detect pch_spi channel dynamically ? I want to catch your saying correctly. Could you give me more information ? Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-11 Thread Tomoya MORINAGA
On Tuesday, January 11, 2011 6:42 PM, Tomoya MORINAGA wrote: However, I couldn't clear my question. I show the current our coding image. Is the following agreeable with your saying ? struct spi_platform_data { u16 num_chipselect; bool little_endian; u8 bits_per_word

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-07 Thread Tomoya MORINAGA
Hi Milton, On Friday, January 07, 2011 6:22 PM, Milton Miller wrote: follow mfd_add_devices into drivers/mfd/mfd-core.c It seems mfd_add_devices/mfd_add_device are valuable for us. I'll study this. Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-06 Thread Tomoya MORINAGA
platform_device/platform_driver are not used in this. Which part of this driver do you want to show me as reference ? Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -Original Message- From: Grant Likely [mailto:glik...@secretlab.ca] On Behalf

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-06 Thread Tomoya MORINAGA
, I didn't understand your intention. It seems platform_device/platform_driver are not used in this. Which part of this driver do you want to show me as reference ? Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD

[PATCH 2/3] spi_topcliff_pch: change calling function order correctly in remove

2010-12-27 Thread Tomoya MORINAGA
Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers/spi/spi_topcliff_pch.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/spi/spi_topcliff_pch.c b/drivers/spi/spi_topcliff_pch.c index 18e077b..a796eaf 100644 --- a/drivers/spi

[PATCH 3/3] spi_topcliff_pch: fix resource leak issue

2010-12-27 Thread Tomoya MORINAGA
In case spi_register_master fails in probe function, pch_spi_free_resources is not called. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers/spi/spi_topcliff_pch.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/spi/spi_topcliff_pch.c b

[PATCH 1/3] spi_topcliff_pch: support new device ML7213

2010-12-27 Thread Tomoya MORINAGA
Support ML7213 device of OKI SEMICONDUCTOR. ML7213 is companion chip of Intel Atom E6xx series for IVI(In-Vehicle Infotainment). ML7213 is completely compatible for Intel EG20T PCH. Signed-off-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers/spi/spi_topcliff_pch.c | 293

[PATCH] spi_topcliff_pch: Fix data transfer issue

2010-12-23 Thread Tomoya MORINAGA
It seems spi_topcliff_pch of linux-2.6.37-rc6 degraded by previous patch. In fact, data transfer fails on evaluation board testing. I found like the following register miss-setting line. Using this patch, I have confirmed data transfer can work well. Signed-off-by: Tomoya MORINAGA tomoya-li

[PATCH] spi_topcliff_pch: Fix data transfer issue

2010-12-23 Thread Tomoya MORINAGA
-by: Tomoya MORINAGA tomoya-li...@dsn.okisemi.com --- drivers/spi/spi_topcliff_pch.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi_topcliff_pch.c b/drivers/spi/spi_topcliff_pch.c index 58e187f..56b7588 100644 --- a/drivers/spi/spi_topcliff_pch.c +++ b