summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2013-02-07 17:36:28 +0200
committerVinod Koul <vinod.koul@intel.com>2013-02-12 08:14:36 -0800
commitcfdf5b6cc5985014a7ce891093f4fd0ae2d27ca6 (patch)
treee9b6e719a87573cb41283679492743607aa3a02c
parent4702d5244ca947263e8b7eb2ba6d8721e80c46e2 (diff)
downloadop-kernel-dev-cfdf5b6cc5985014a7ce891093f4fd0ae2d27ca6.zip
op-kernel-dev-cfdf5b6cc5985014a7ce891093f4fd0ae2d27ca6.tar.gz
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>
-rw-r--r--drivers/dma/dw_dmac.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c
index 35c8dd5..6694676 100644
--- a/drivers/dma/dw_dmac.c
+++ b/drivers/dma/dw_dmac.c
@@ -1899,6 +1899,11 @@ static const struct of_device_id dw_dma_id_table[] = {
MODULE_DEVICE_TABLE(of, dw_dma_id_table);
#endif
+static const struct platform_device_id dw_dma_ids[] = {
+ { "INTL9C60", 0 },
+ { }
+};
+
static struct platform_driver dw_driver = {
.probe = dw_probe,
.remove = dw_remove,
@@ -1908,6 +1913,7 @@ static struct platform_driver dw_driver = {
.pm = &dw_dev_pm_ops,
.of_match_table = of_match_ptr(dw_dma_id_table),
},
+ .id_table = dw_dma_ids,
};
static int __init dw_init(void)
OpenPOWER on IntegriCloud