diff options
author | Bo Shen <voice.shen@atmel.com> | 2012-11-06 13:57:51 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-06 10:13:19 +0100 |
commit | 636036d29a20154b897571e1d5949faac98bfb7c (patch) | |
tree | 4d9516e395ff9952794ad83bfd3e8d8e79930fc0 /include/linux/atmel-ssc.h | |
parent | 90b4d60c6103105a634c495003c2ce931f075f63 (diff) | |
download | linux-stable-636036d29a20154b897571e1d5949faac98bfb7c.tar.gz linux-stable-636036d29a20154b897571e1d5949faac98bfb7c.tar.bz2 linux-stable-636036d29a20154b897571e1d5949faac98bfb7c.zip |
ARM: at91: atmel-ssc: add platform device id table
Add platform device id to check whether the SSC controller support
pdc or dam for data transfer
If match "at91rm9200_ssc", which support pdc for data transfer
If match "at91sam9g45_ssc", which support dma for data transfer
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/atmel-ssc.h')
-rw-r--r-- | include/linux/atmel-ssc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/atmel-ssc.h b/include/linux/atmel-ssc.h index 4eb31752e2b7..1ca0e3292bc9 100644 --- a/include/linux/atmel-ssc.h +++ b/include/linux/atmel-ssc.h @@ -5,10 +5,15 @@ #include <linux/list.h> #include <linux/io.h> +struct atmel_ssc_platform_data { + int use_dma; +}; + struct ssc_device { struct list_head list; void __iomem *regs; struct platform_device *pdev; + struct atmel_ssc_platform_data *pdata; struct clk *clk; int user; int irq; |