* [PATCH linux-next-2.6] pch_udc: support new device ML7213 IOH
@ 2011-01-05 11:22 Tomoya MORINAGA
2011-01-05 12:48 ` Sergei Shtylyov
0 siblings, 1 reply; 2+ messages in thread
From: Tomoya MORINAGA @ 2011-01-05 11:22 UTC (permalink / raw)
To: David Brownell, linux-kernel, Greg Kroah-Hartman, linux-usb
Cc: qi.wang, yong.y.wang, joel.clark, kok.howg.ewe, Tomoya MORINAGA
Support new device OKI SEMICONDUCTOR's ML7213 IOH(Input/Output Hub) which is for
IVI(In-Vehicle Infotainment) use.
The ML7213 is companion chip for Intel Atom E6xx series.
The ML7213 is completely compatible for Intel EG20T PCH.
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
---
drivers/usb/gadget/Kconfig | 7 ++++++-
drivers/usb/gadget/pch_udc.c | 7 +++++++
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 02f9049..533dbc8 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -496,7 +496,7 @@ config USB_LANGWELL
select USB_GADGET_SELECTED
config USB_GADGET_EG20T
- boolean "Intel EG20T(Topcliff) USB Device controller"
+ boolean "Intel EG20T PCH/OKI SEMICONDUCTOR ML7213 IOH UDC"
depends on PCI
select USB_GADGET_DUALSPEED
help
@@ -512,6 +512,11 @@ config USB_GADGET_EG20T
This driver dose not support interrupt transfer or isochronous
transfer modes.
+ This driver also can be used for OKI SEMICONDUCTOR's ML7213 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.
+
config USB_EG20T
tristate
depends on USB_GADGET_EG20T
diff --git a/drivers/usb/gadget/pch_udc.c b/drivers/usb/gadget/pch_udc.c
index 0c8dd81..cab47d6 100644
--- a/drivers/usb/gadget/pch_udc.c
+++ b/drivers/usb/gadget/pch_udc.c
@@ -361,6 +361,8 @@ struct pch_udc_dev {
#define PCH_UDC_PCI_BAR 1
#define PCI_DEVICE_ID_INTEL_EG20T_UDC 0x8808
+#define PCI_VENDOR_ID_ROHM 0x10DB
+#define PCI_DEVICE_ID_ML7213_IOH_UDC 0x801D
static const char ep0_string[] = "ep0in";
static DEFINE_SPINLOCK(udc_stall_spinlock); /* stall spin lock */
@@ -2914,6 +2916,11 @@ static DEFINE_PCI_DEVICE_TABLE(pch_udc_pcidev_id) = {
.class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe,
.class_mask = 0xffffffff,
},
+ {
+ PCI_DEVICE(PCI_VENDOR_ID_ROHM, PCI_DEVICE_ID_ML7213_IOH_UDC),
+ .class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe,
+ .class_mask = 0xffffffff,
+ },
{ 0 },
};
--
1.6.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH linux-next-2.6] pch_udc: support new device ML7213 IOH
2011-01-05 11:22 [PATCH linux-next-2.6] pch_udc: support new device ML7213 IOH Tomoya MORINAGA
@ 2011-01-05 12:48 ` Sergei Shtylyov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2011-01-05 12:48 UTC (permalink / raw)
To: Tomoya MORINAGA
Cc: David Brownell, linux-kernel, Greg Kroah-Hartman, linux-usb,
qi.wang, yong.y.wang, joel.clark, kok.howg.ewe
Hello.
On 05-01-2011 14:22, Tomoya MORINAGA wrote:
> Support new device OKI SEMICONDUCTOR's ML7213 IOH(Input/Output Hub) which is for
> IVI(In-Vehicle Infotainment) use.
> The ML7213 is companion chip for Intel Atom E6xx series.
> The ML7213 is completely compatible for Intel EG20T PCH.
> Signed-off-by: Tomoya MORINAGA<tomoya-linux@dsn.okisemi.com>
[...]
> diff --git a/drivers/usb/gadget/pch_udc.c b/drivers/usb/gadget/pch_udc.c
> index 0c8dd81..cab47d6 100644
> --- a/drivers/usb/gadget/pch_udc.c
> +++ b/drivers/usb/gadget/pch_udc.c
> @@ -361,6 +361,8 @@ struct pch_udc_dev {
>
> #define PCH_UDC_PCI_BAR 1
> #define PCI_DEVICE_ID_INTEL_EG20T_UDC 0x8808
> +#define PCI_VENDOR_ID_ROHM 0x10DB
> +#define PCI_DEVICE_ID_ML7213_IOH_UDC 0x801D
Please align the macro values with the above one.
WBR, Sergei
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-05 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05 11:22 [PATCH linux-next-2.6] pch_udc: support new device ML7213 IOH Tomoya MORINAGA
2011-01-05 12:48 ` Sergei Shtylyov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox