Skip to content

Commit cfdf5b6

Browse files
westeriVinod Koul
authored andcommitted
dw_dmac: add support for Lynxpoint DMA controllers
Intel Lynxpoint PCH Low Power Subsystem has DMA controller to support general purpose serial buses like SPI, I2C, and HSUART. This controller is enumerated from ACPI namespace with ACPI ID INTL9C60. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
1 parent 4702d52 commit cfdf5b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/dma/dw_dmac.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,6 +1899,11 @@ static const struct of_device_id dw_dma_id_table[] = {
18991899
MODULE_DEVICE_TABLE(of, dw_dma_id_table);
19001900
#endif
19011901

1902+
static const struct platform_device_id dw_dma_ids[] = {
1903+
{ "INTL9C60", 0 },
1904+
{ }
1905+
};
1906+
19021907
static struct platform_driver dw_driver = {
19031908
.probe = dw_probe,
19041909
.remove = dw_remove,
@@ -1908,6 +1913,7 @@ static struct platform_driver dw_driver = {
19081913
.pm = &dw_dev_pm_ops,
19091914
.of_match_table = of_match_ptr(dw_dma_id_table),
19101915
},
1916+
.id_table = dw_dma_ids,
19111917
};
19121918

19131919
static int __init dw_init(void)

0 commit comments

Comments
 (0)