Skip to content

Commit ca7fe2d

Browse files
Tomoya MORINAGAVinod Koul
authored andcommitted
pch_dma: Support new device LAPIS Semiconductor ML7831 IOH
ML7831 is companion chip for Intel Atom E6xx series. Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
1 parent e79e72b commit ca7fe2d

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

drivers/dma/Kconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,18 +201,18 @@ config PL330_DMA
201201
platform_data for a dma-pl330 device.
202202

203203
config PCH_DMA
204-
tristate "Intel EG20T PCH / LAPIS Semi IOH(ML7213/ML7223) DMA support"
204+
tristate "Intel EG20T PCH / LAPIS Semicon IOH(ML7213/ML7223/ML7831) DMA"
205205
depends on PCI && X86
206206
select DMA_ENGINE
207207
help
208208
Enable support for Intel EG20T PCH DMA engine.
209209

210210
This driver also can be used for LAPIS Semiconductor IOH(Input/
211-
Output Hub), ML7213 and ML7223.
212-
ML7213 IOH is for IVI(In-Vehicle Infotainment) use and ML7223 IOH is
213-
for MP(Media Phone) use.
214-
ML7213/ML7223 is companion chip for Intel Atom E6xx series.
215-
ML7213/ML7223 is completely compatible for Intel EG20T PCH.
211+
Output Hub), ML7213, ML7223 and ML7831.
212+
ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
213+
for MP(Media Phone) use and ML7831 IOH is for general purpose use.
214+
ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
215+
ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
216216

217217
config IMX_SDMA
218218
tristate "i.MX SDMA support"

drivers/dma/pch_dma.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,8 @@ static void __devexit pch_dma_remove(struct pci_dev *pdev)
10181018
#define PCI_DEVICE_ID_ML7223_DMA2_4CH 0x800E
10191019
#define PCI_DEVICE_ID_ML7223_DMA3_4CH 0x8017
10201020
#define PCI_DEVICE_ID_ML7223_DMA4_4CH 0x803B
1021+
#define PCI_DEVICE_ID_ML7831_DMA1_8CH 0x8810
1022+
#define PCI_DEVICE_ID_ML7831_DMA2_4CH 0x8815
10211023

10221024
DEFINE_PCI_DEVICE_TABLE(pch_dma_id_table) = {
10231025
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_EG20T_PCH_DMA_8CH), 8 },
@@ -1030,6 +1032,8 @@ DEFINE_PCI_DEVICE_TABLE(pch_dma_id_table) = {
10301032
{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_DMA2_4CH), 4}, /* Video SPI */
10311033
{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_DMA3_4CH), 4}, /* Security */
10321034
{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7223_DMA4_4CH), 4}, /* FPGA */
1035+
{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7831_DMA1_8CH), 8}, /* UART */
1036+
{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7831_DMA2_4CH), 4}, /* SPI */
10331037
{ 0, },
10341038
};
10351039

@@ -1057,7 +1061,7 @@ static void __exit pch_dma_exit(void)
10571061
module_init(pch_dma_init);
10581062
module_exit(pch_dma_exit);
10591063

1060-
MODULE_DESCRIPTION("Intel EG20T PCH / LAPIS Semiconductor ML7213/ML7223 IOH "
1064+
MODULE_DESCRIPTION("Intel EG20T PCH / LAPIS Semicon ML7213/ML7223/ML7831 IOH "
10611065
"DMA controller driver");
10621066
MODULE_AUTHOR("Yong Wang <yong.y.wang@intel.com>");
10631067
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)