public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 5/5] pch_dma: Support new device ML7223 IOH
@ 2011-05-09  3:48 Tomoya MORINAGA
  2011-05-09  4:05 ` Joe Perches
  0 siblings, 1 reply; 5+ messages in thread
From: Tomoya MORINAGA @ 2011-05-09  3:48 UTC (permalink / raw)
  To: Dan Williams, Vinod Koul, linux-kernel
  Cc: qi.wang, yong.y.wang, joel.clark, kok.howg.ewe, toshiharu-linux,
	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-linux@dsn.okisemi.com>
---
 drivers/dma/Kconfig   |   12 +++++++-----
 drivers/dma/pch_dma.c |    8 ++++++++
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index a572600..6eb353c 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -200,16 +200,18 @@ config PL330_DMA
 	  platform_data for a dma-pl330 device.
 
 config PCH_DMA
-	tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7213 IOH DMA support"
+	tristate "Intel EG20T PCH / OKI SEMICONDUCTOR IOH(ML7213/ML7223)"
 	depends on PCI && X86
 	select DMA_ENGINE
 	help
 	  Enable support for Intel EG20T PCH DMA engine.
 
-	  This driver also can be used for OKI SEMICONDUCTOR ML7213 IOH(Input/
-	  Output Hub) which is for IVI(In-Vehicle Infotainment) use.
-	  ML7213 is companion chip for Intel Atom E6xx series.
-	  ML7213 is completely compatible for Intel EG20T PCH.
+	  This driver also can be used for OKI SEMICONDUCTOR IOH(Input/
+	  Output Hub), ML7213 and ML7223.
+	  ML7213 IOH is for IVI(In-Vehicle Infotainment) use and ML7223 IOH is
+	  for MP(Media Phone) use.
+	  ML7213/ML7223 is companion chip for Intel Atom E6xx series.
+	  ML7213/ML7223 is completely compatible for Intel EG20T PCH.
 
 config IMX_SDMA
 	tristate "i.MX SDMA support"
diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
index 2c052bb..466954d 100644
--- a/drivers/dma/pch_dma.c
+++ b/drivers/dma/pch_dma.c
@@ -956,6 +956,10 @@ static void __devexit pch_dma_remove(struct pci_dev *pdev)
 #define PCI_DEVICE_ID_ML7213_DMA2_8CH	0x802B
 #define PCI_DEVICE_ID_ML7213_DMA3_4CH	0x8034
 #define PCI_DEVICE_ID_ML7213_DMA4_12CH	0x8032
+#define PCI_DEVICE_ID_ML7223_DMA1_4CH	0x800B
+#define PCI_DEVICE_ID_ML7223_DMA2_4CH	0x800E
+#define PCI_DEVICE_ID_ML7223_DMA3_4CH	0x8017
+#define PCI_DEVICE_ID_ML7223_DMA4_4CH	0x803B
 
 static const struct pci_device_id pch_dma_id_table[] = {
 	{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_EG20T_PCH_DMA_8CH), 8 },
@@ -964,6 +968,10 @@ static const struct pci_device_id pch_dma_id_table[] = {
 	{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7213_DMA2_8CH), 8}, /* PCMIF SPI */
 	{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7213_DMA3_4CH), 4}, /* FPGA */
 	{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7213_DMA4_12CH), 12}, /* I2S */
+	{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_DMA1_4CH), 4}, /* UART */
+	{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_DMA2_4CH), 4}, /* Video SPI */
+	{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_DMA3_4CH), 4}, /* Security */
+	{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_DMA4_4CH), 4}, /* FPGA */
 	{ 0, },
 };
 
-- 
1.7.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH V2 5/5] pch_dma: Support new device ML7223 IOH
  2011-05-09  3:48 [PATCH V2 5/5] pch_dma: Support new device ML7223 IOH Tomoya MORINAGA
@ 2011-05-09  4:05 ` Joe Perches
  2011-05-09  5:33   ` Tomoya MORINAGA
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Perches @ 2011-05-09  4:05 UTC (permalink / raw)
  To: Tomoya MORINAGA
  Cc: Dan Williams, Vinod Koul, linux-kernel, qi.wang, yong.y.wang,
	joel.clark, kok.howg.ewe, toshiharu-linux

On Mon, 2011-05-09 at 12:48 +0900, Tomoya MORINAGA wrote:
> 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-linux@dsn.okisemi.com>
> ---
>  config PCH_DMA
> -	tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7213 IOH DMA support"
> +	tristate "Intel EG20T PCH / OKI SEMICONDUCTOR IOH(ML7213/ML7223)"

DMA support?

> diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
> index 2c052bb..466954d 100644
> --- a/drivers/dma/pch_dma.c
> +++ b/drivers/dma/pch_dma.c
> @@ -956,6 +956,10 @@ static void __devexit pch_dma_remove(struct pci_dev *pdev)
>  #define PCI_DEVICE_ID_ML7213_DMA2_8CH	0x802B
>  #define PCI_DEVICE_ID_ML7213_DMA3_4CH	0x8034
>  #define PCI_DEVICE_ID_ML7213_DMA4_12CH	0x8032
> +#define PCI_DEVICE_ID_ML7223_DMA1_4CH	0x800B
> +#define PCI_DEVICE_ID_ML7223_DMA2_4CH	0x800E
> +#define PCI_DEVICE_ID_ML7223_DMA3_4CH	0x8017
> +#define PCI_DEVICE_ID_ML7223_DMA4_4CH	0x803B
>  
>  static const struct pci_device_id pch_dma_id_table[] = {

DEFINE_PCI_DEVICE_TABLE(pch_dma_id_table) = {




^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH V2 5/5] pch_dma: Support new device ML7223 IOH
  2011-05-09  4:05 ` Joe Perches
@ 2011-05-09  5:33   ` Tomoya MORINAGA
  2011-05-09  6:01     ` Joe Perches
  0 siblings, 1 reply; 5+ messages in thread
From: Tomoya MORINAGA @ 2011-05-09  5:33 UTC (permalink / raw)
  To: 'Joe Perches'
  Cc: 'Dan Williams', 'Vinod Koul', linux-kernel,
	qi.wang, yong.y.wang, joel.clark, kok.howg.ewe, toshiharu-linux

Hi Joe, 

On Monday, May 09, 2011 1:06 PM, Joe Perches wrote:
> >  config PCH_DMA
> > -	tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7213 
> IOH DMA support"
> > +	tristate "Intel EG20T PCH / OKI SEMICONDUCTOR 
> IOH(ML7213/ML7223)"
> 
> DMA support?
I will modify like below.
tristate "Intel EG20T PCH / OKI Semi ML7213 IOH DMA support

> >  
> >  static const struct pci_device_id pch_dma_id_table[] = {
> 
> DEFINE_PCI_DEVICE_TABLE(pch_dma_id_table) = {
> 
I will modify like above.


Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH V2 5/5] pch_dma: Support new device ML7223 IOH
  2011-05-09  5:33   ` Tomoya MORINAGA
@ 2011-05-09  6:01     ` Joe Perches
  2011-05-09  6:41       ` Tomoya MORINAGA
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Perches @ 2011-05-09  6:01 UTC (permalink / raw)
  To: Tomoya MORINAGA
  Cc: 'Dan Williams', 'Vinod Koul', linux-kernel,
	qi.wang, yong.y.wang, joel.clark, kok.howg.ewe, toshiharu-linux

On Mon, 2011-05-09 at 14:33 +0900, Tomoya MORINAGA wrote:
> Hi Joe, 

Hi.

> On Monday, May 09, 2011 1:06 PM, Joe Perches wrote:
> > >  config PCH_DMA
> > > -	tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7213 
> > IOH DMA support"
> > > +	tristate "Intel EG20T PCH / OKI SEMICONDUCTOR 
> > IOH(ML7213/ML7223)"
> > DMA support?
> I will modify like below.
> tristate "Intel EG20T PCH / OKI Semi ML7213 IOH DMA support

Maybe ML72x3 IOH DMA support?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH V2 5/5] pch_dma: Support new device ML7223 IOH
  2011-05-09  6:01     ` Joe Perches
@ 2011-05-09  6:41       ` Tomoya MORINAGA
  0 siblings, 0 replies; 5+ messages in thread
From: Tomoya MORINAGA @ 2011-05-09  6:41 UTC (permalink / raw)
  To: 'Joe Perches'
  Cc: 'Dan Williams', 'Vinod Koul', linux-kernel,
	qi.wang, yong.y.wang, joel.clark, kok.howg.ewe, toshiharu-linux

On Monday, May 09, 2011 3:02 PM, Joe Perches wrote:
> Maybe ML72x3 IOH DMA support?

Our next production code is not "ML72x3".
Thus, I prefer "ML7213/ML7223" than "ML72x3".

Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-09  6:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-09  3:48 [PATCH V2 5/5] pch_dma: Support new device ML7223 IOH Tomoya MORINAGA
2011-05-09  4:05 ` Joe Perches
2011-05-09  5:33   ` Tomoya MORINAGA
2011-05-09  6:01     ` Joe Perches
2011-05-09  6:41       ` Tomoya MORINAGA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox