]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
dw_dmac: add support for Lynxpoint DMA controllers
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 7 Feb 2013 15:36:28 +0000 (17:36 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 12 Feb 2013 16:14:36 +0000 (08:14 -0800)
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>
drivers/dma/dw_dmac.c

index 35c8dd5f10133b6e2e0833a88cdf09db74d40422..6694676c9b826d82dcc87dceb79fdb7bd64b1cc6 100644 (file)
@@ -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)