Commit 8249f743 authored by Tomoya MORINAGA's avatar Tomoya MORINAGA Committed by Greg Kroah-Hartman

pch_uart: Support new device LAPIS Semiconductor ML7831 IOH

ML7831 is companion chip for Intel Atom E6xx series.
Signed-off-by: default avatarTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Acked-by: default avatarAlan Cox <alan@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a1d7cfe2
...@@ -1560,7 +1560,7 @@ config SERIAL_IFX6X60 ...@@ -1560,7 +1560,7 @@ config SERIAL_IFX6X60
Support for the IFX6x60 modem devices on Intel MID platforms. Support for the IFX6x60 modem devices on Intel MID platforms.
config SERIAL_PCH_UART config SERIAL_PCH_UART
tristate "Intel EG20T PCH / OKI SEMICONDUCTOR IOH(ML7213/ML7223) UART" tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
depends on PCI depends on PCI
select SERIAL_CORE select SERIAL_CORE
help help
...@@ -1568,12 +1568,12 @@ config SERIAL_PCH_UART ...@@ -1568,12 +1568,12 @@ config SERIAL_PCH_UART
which is an IOH(Input/Output Hub) for x86 embedded processor. which is an IOH(Input/Output Hub) for x86 embedded processor.
Enabling PCH_DMA, this PCH UART works as DMA mode. Enabling PCH_DMA, this PCH UART works as DMA mode.
This driver also can be used for OKI SEMICONDUCTOR IOH(Input/ This driver also can be used for LAPIS Semiconductor IOH(Input/
Output Hub), ML7213 and ML7223. Output Hub), ML7213, ML7223 and ML7831.
ML7213 IOH is for IVI(In-Vehicle Infotainment) use and ML7223 IOH is ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
for MP(Media Phone) use. for MP(Media Phone) use and ML7831 IOH is for general purpose use.
ML7213/ML7223 is companion chip for Intel Atom E6xx series. ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
ML7213/ML7223 is completely compatible for Intel EG20T PCH. ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
config SERIAL_MSM_SMD config SERIAL_MSM_SMD
bool "Enable tty device interface for some SMD ports" bool "Enable tty device interface for some SMD ports"
......
...@@ -258,6 +258,8 @@ enum pch_uart_num_t { ...@@ -258,6 +258,8 @@ enum pch_uart_num_t {
pch_ml7213_uart2, pch_ml7213_uart2,
pch_ml7223_uart0, pch_ml7223_uart0,
pch_ml7223_uart1, pch_ml7223_uart1,
pch_ml7831_uart0,
pch_ml7831_uart1,
}; };
static struct pch_uart_driver_data drv_dat[] = { static struct pch_uart_driver_data drv_dat[] = {
...@@ -270,6 +272,8 @@ static struct pch_uart_driver_data drv_dat[] = { ...@@ -270,6 +272,8 @@ static struct pch_uart_driver_data drv_dat[] = {
[pch_ml7213_uart2] = {PCH_UART_2LINE, 2}, [pch_ml7213_uart2] = {PCH_UART_2LINE, 2},
[pch_ml7223_uart0] = {PCH_UART_8LINE, 0}, [pch_ml7223_uart0] = {PCH_UART_8LINE, 0},
[pch_ml7223_uart1] = {PCH_UART_2LINE, 1}, [pch_ml7223_uart1] = {PCH_UART_2LINE, 1},
[pch_ml7831_uart0] = {PCH_UART_8LINE, 0},
[pch_ml7831_uart1] = {PCH_UART_2LINE, 1},
}; };
static unsigned int default_baud = 9600; static unsigned int default_baud = 9600;
...@@ -1553,6 +1557,10 @@ static DEFINE_PCI_DEVICE_TABLE(pch_uart_pci_id) = { ...@@ -1553,6 +1557,10 @@ static DEFINE_PCI_DEVICE_TABLE(pch_uart_pci_id) = {
.driver_data = pch_ml7223_uart0}, .driver_data = pch_ml7223_uart0},
{PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x800D), {PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x800D),
.driver_data = pch_ml7223_uart1}, .driver_data = pch_ml7223_uart1},
{PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8811),
.driver_data = pch_ml7831_uart0},
{PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8812),
.driver_data = pch_ml7831_uart1},
{0,}, {0,},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment