public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dw_dmac: add support for Lynxpoint DMA controllers
@ 2013-02-07 15:36 Andy Shevchenko
  2013-02-07 15:39 ` Viresh Kumar
  2013-02-12 16:16 ` Vinod Koul
  0 siblings, 2 replies; 8+ messages in thread
From: Andy Shevchenko @ 2013-02-07 15:36 UTC (permalink / raw)
  To: Vinod Koul, linux-kernel, spear-devel, Viresh Kumar
  Cc: Mika Westerberg, Andy Shevchenko

From: Mika Westerberg <mika.westerberg@linux.intel.com>

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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/dma/dw_dmac.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c
index d6abea8..5feee76 100644
--- a/drivers/dma/dw_dmac.c
+++ b/drivers/dma/dw_dmac.c
@@ -1977,6 +1977,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,
@@ -1986,6 +1991,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)
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-12 16:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-07 15:36 [PATCH] dw_dmac: add support for Lynxpoint DMA controllers Andy Shevchenko
2013-02-07 15:39 ` Viresh Kumar
2013-02-07 17:05   ` Andy Shevchenko
2013-02-08  4:28     ` Viresh Kumar
2013-02-08  7:25       ` Andy Shevchenko
2013-02-08  7:30         ` Viresh Kumar
2013-02-12 16:10         ` Vinod Koul
2013-02-12 16:16 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox