diff options
Diffstat (limited to 'drivers/misc/atmel-ssc.c')
-rw-r--r-- | drivers/misc/atmel-ssc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c index 22de13727641..60843a275abd 100644 --- a/drivers/misc/atmel-ssc.c +++ b/drivers/misc/atmel-ssc.c | |||
@@ -83,10 +83,17 @@ EXPORT_SYMBOL(ssc_free); | |||
83 | 83 | ||
84 | static struct atmel_ssc_platform_data at91rm9200_config = { | 84 | static struct atmel_ssc_platform_data at91rm9200_config = { |
85 | .use_dma = 0, | 85 | .use_dma = 0, |
86 | .has_fslen_ext = 0, | ||
87 | }; | ||
88 | |||
89 | static struct atmel_ssc_platform_data at91sam9rl_config = { | ||
90 | .use_dma = 0, | ||
91 | .has_fslen_ext = 1, | ||
86 | }; | 92 | }; |
87 | 93 | ||
88 | static struct atmel_ssc_platform_data at91sam9g45_config = { | 94 | static struct atmel_ssc_platform_data at91sam9g45_config = { |
89 | .use_dma = 1, | 95 | .use_dma = 1, |
96 | .has_fslen_ext = 1, | ||
90 | }; | 97 | }; |
91 | 98 | ||
92 | static const struct platform_device_id atmel_ssc_devtypes[] = { | 99 | static const struct platform_device_id atmel_ssc_devtypes[] = { |
@@ -94,6 +101,9 @@ static const struct platform_device_id atmel_ssc_devtypes[] = { | |||
94 | .name = "at91rm9200_ssc", | 101 | .name = "at91rm9200_ssc", |
95 | .driver_data = (unsigned long) &at91rm9200_config, | 102 | .driver_data = (unsigned long) &at91rm9200_config, |
96 | }, { | 103 | }, { |
104 | .name = "at91sam9rl_ssc", | ||
105 | .driver_data = (unsigned long) &at91sam9rl_config, | ||
106 | }, { | ||
97 | .name = "at91sam9g45_ssc", | 107 | .name = "at91sam9g45_ssc", |
98 | .driver_data = (unsigned long) &at91sam9g45_config, | 108 | .driver_data = (unsigned long) &at91sam9g45_config, |
99 | }, { | 109 | }, { |
@@ -107,6 +117,9 @@ static const struct of_device_id atmel_ssc_dt_ids[] = { | |||
107 | .compatible = "atmel,at91rm9200-ssc", | 117 | .compatible = "atmel,at91rm9200-ssc", |
108 | .data = &at91rm9200_config, | 118 | .data = &at91rm9200_config, |
109 | }, { | 119 | }, { |
120 | .compatible = "atmel,at91sam9rl-ssc", | ||
121 | .data = &at91sam9rl_config, | ||
122 | }, { | ||
110 | .compatible = "atmel,at91sam9g45-ssc", | 123 | .compatible = "atmel,at91sam9g45-ssc", |
111 | .data = &at91sam9g45_config, | 124 | .data = &at91sam9g45_config, |
112 | }, { | 125 | }, { |