aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw_dmac.c
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 /drivers/dma/dw_dmac.c
parentdw_dmac: return proper residue value (diff)
downloadlinux-dev-cfdf5b6cc5985014a7ce891093f4fd0ae2d27ca6.tar.xz
linux-dev-cfdf5b6cc5985014a7ce891093f4fd0ae2d27ca6.zip
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>
Diffstat (limited to '')
-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 35c8dd5f1013..6694676c9b82 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)