diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-01 23:34:58 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-01 23:34:58 -0500 |
commit | 3bc324922663bda59af5cdc409e8df3ed217d296 (patch) | |
tree | 1c9c7d527c4fd3383350d54acd7d15b9c5c4f639 /arch/arm/mach-at91 | |
parent | 9d3493e84def26bd9b0bab825629063bacc89383 (diff) | |
parent | 3951e4aae2ce7e4593e575e91cbb22f1ba153596 (diff) |
Merge remote-tracking branch 'asoc/topic/atmel' into asoc-next
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91rm9200_devices.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9260.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9260_devices.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9261.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9261_devices.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9263.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9263_devices.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45_devices.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl_devices.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9x5.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9g20ek.c | 11 |
14 files changed, 51 insertions, 26 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index 5269825194a8..af47c75db513 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c | |||
@@ -184,9 +184,12 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
184 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.1", &tc3_clk), | 184 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.1", &tc3_clk), |
185 | CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.1", &tc4_clk), | 185 | CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.1", &tc4_clk), |
186 | CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.1", &tc5_clk), | 186 | CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.1", &tc5_clk), |
187 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), | 187 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.0", &ssc0_clk), |
188 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), | 188 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.1", &ssc1_clk), |
189 | CLKDEV_CON_DEV_ID("pclk", "ssc.2", &ssc2_clk), | 189 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.2", &ssc2_clk), |
190 | CLKDEV_CON_DEV_ID("pclk", "fffd0000.ssc", &ssc0_clk), | ||
191 | CLKDEV_CON_DEV_ID("pclk", "fffd4000.ssc", &ssc1_clk), | ||
192 | CLKDEV_CON_DEV_ID("pclk", "fffd8000.ssc", &ssc2_clk), | ||
190 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91rm9200.0", &twi_clk), | 193 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91rm9200.0", &twi_clk), |
191 | /* fake hclk clock */ | 194 | /* fake hclk clock */ |
192 | CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &ohci_clk), | 195 | CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &ohci_clk), |
diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c index 3cee0e6ea7c3..9e76427aaec2 100644 --- a/arch/arm/mach-at91/at91rm9200_devices.c +++ b/arch/arm/mach-at91/at91rm9200_devices.c | |||
@@ -752,7 +752,7 @@ static struct resource ssc0_resources[] = { | |||
752 | }; | 752 | }; |
753 | 753 | ||
754 | static struct platform_device at91rm9200_ssc0_device = { | 754 | static struct platform_device at91rm9200_ssc0_device = { |
755 | .name = "ssc", | 755 | .name = "at91rm9200_ssc", |
756 | .id = 0, | 756 | .id = 0, |
757 | .dev = { | 757 | .dev = { |
758 | .dma_mask = &ssc0_dmamask, | 758 | .dma_mask = &ssc0_dmamask, |
@@ -794,7 +794,7 @@ static struct resource ssc1_resources[] = { | |||
794 | }; | 794 | }; |
795 | 795 | ||
796 | static struct platform_device at91rm9200_ssc1_device = { | 796 | static struct platform_device at91rm9200_ssc1_device = { |
797 | .name = "ssc", | 797 | .name = "at91rm9200_ssc", |
798 | .id = 1, | 798 | .id = 1, |
799 | .dev = { | 799 | .dev = { |
800 | .dma_mask = &ssc1_dmamask, | 800 | .dma_mask = &ssc1_dmamask, |
@@ -836,7 +836,7 @@ static struct resource ssc2_resources[] = { | |||
836 | }; | 836 | }; |
837 | 837 | ||
838 | static struct platform_device at91rm9200_ssc2_device = { | 838 | static struct platform_device at91rm9200_ssc2_device = { |
839 | .name = "ssc", | 839 | .name = "at91rm9200_ssc", |
840 | .id = 2, | 840 | .id = 2, |
841 | .dev = { | 841 | .dev = { |
842 | .dma_mask = &ssc2_dmamask, | 842 | .dma_mask = &ssc2_dmamask, |
diff --git a/arch/arm/mach-at91/at91sam9260.c b/arch/arm/mach-at91/at91sam9260.c index f8202615f4a8..a41eb3d23f68 100644 --- a/arch/arm/mach-at91/at91sam9260.c +++ b/arch/arm/mach-at91/at91sam9260.c | |||
@@ -210,7 +210,8 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
210 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.1", &tc3_clk), | 210 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.1", &tc3_clk), |
211 | CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.1", &tc4_clk), | 211 | CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.1", &tc4_clk), |
212 | CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.1", &tc5_clk), | 212 | CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.1", &tc5_clk), |
213 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc_clk), | 213 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.0", &ssc_clk), |
214 | CLKDEV_CON_DEV_ID("pclk", "fffbc000.ssc", &ssc_clk), | ||
214 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9260.0", &twi_clk), | 215 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9260.0", &twi_clk), |
215 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g20.0", &twi_clk), | 216 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g20.0", &twi_clk), |
216 | /* more usart lookup table for DT entries */ | 217 | /* more usart lookup table for DT entries */ |
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index 414bd855fb0c..e67cfa2acbe0 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c | |||
@@ -742,7 +742,7 @@ static struct resource ssc_resources[] = { | |||
742 | }; | 742 | }; |
743 | 743 | ||
744 | static struct platform_device at91sam9260_ssc_device = { | 744 | static struct platform_device at91sam9260_ssc_device = { |
745 | .name = "ssc", | 745 | .name = "at91rm9200_ssc", |
746 | .id = 0, | 746 | .id = 0, |
747 | .dev = { | 747 | .dev = { |
748 | .dma_mask = &ssc_dmamask, | 748 | .dma_mask = &ssc_dmamask, |
diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c index 04295c04b3e0..7fcbe0583342 100644 --- a/arch/arm/mach-at91/at91sam9261.c +++ b/arch/arm/mach-at91/at91sam9261.c | |||
@@ -174,9 +174,12 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
174 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.0", &tc0_clk), | 174 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.0", &tc0_clk), |
175 | CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.0", &tc1_clk), | 175 | CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.0", &tc1_clk), |
176 | CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.0", &tc2_clk), | 176 | CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.0", &tc2_clk), |
177 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), | 177 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.0", &ssc0_clk), |
178 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), | 178 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.1", &ssc1_clk), |
179 | CLKDEV_CON_DEV_ID("pclk", "ssc.2", &ssc2_clk), | 179 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.2", &ssc2_clk), |
180 | CLKDEV_CON_DEV_ID("pclk", "fffbc000.ssc", &ssc0_clk), | ||
181 | CLKDEV_CON_DEV_ID("pclk", "fffc0000.ssc", &ssc1_clk), | ||
182 | CLKDEV_CON_DEV_ID("pclk", "fffc4000.ssc", &ssc2_clk), | ||
180 | CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &hck0), | 183 | CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &hck0), |
181 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9261.0", &twi_clk), | 184 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9261.0", &twi_clk), |
182 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g10.0", &twi_clk), | 185 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g10.0", &twi_clk), |
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c index cd604aad8e96..a27d9dd0faa4 100644 --- a/arch/arm/mach-at91/at91sam9261_devices.c +++ b/arch/arm/mach-at91/at91sam9261_devices.c | |||
@@ -706,7 +706,7 @@ static struct resource ssc0_resources[] = { | |||
706 | }; | 706 | }; |
707 | 707 | ||
708 | static struct platform_device at91sam9261_ssc0_device = { | 708 | static struct platform_device at91sam9261_ssc0_device = { |
709 | .name = "ssc", | 709 | .name = "at91rm9200_ssc", |
710 | .id = 0, | 710 | .id = 0, |
711 | .dev = { | 711 | .dev = { |
712 | .dma_mask = &ssc0_dmamask, | 712 | .dma_mask = &ssc0_dmamask, |
@@ -748,7 +748,7 @@ static struct resource ssc1_resources[] = { | |||
748 | }; | 748 | }; |
749 | 749 | ||
750 | static struct platform_device at91sam9261_ssc1_device = { | 750 | static struct platform_device at91sam9261_ssc1_device = { |
751 | .name = "ssc", | 751 | .name = "at91rm9200_ssc", |
752 | .id = 1, | 752 | .id = 1, |
753 | .dev = { | 753 | .dev = { |
754 | .dma_mask = &ssc1_dmamask, | 754 | .dma_mask = &ssc1_dmamask, |
@@ -790,7 +790,7 @@ static struct resource ssc2_resources[] = { | |||
790 | }; | 790 | }; |
791 | 791 | ||
792 | static struct platform_device at91sam9261_ssc2_device = { | 792 | static struct platform_device at91sam9261_ssc2_device = { |
793 | .name = "ssc", | 793 | .name = "at91rm9200_ssc", |
794 | .id = 2, | 794 | .id = 2, |
795 | .dev = { | 795 | .dev = { |
796 | .dma_mask = &ssc2_dmamask, | 796 | .dma_mask = &ssc2_dmamask, |
diff --git a/arch/arm/mach-at91/at91sam9263.c b/arch/arm/mach-at91/at91sam9263.c index d6f9c23927c4..c0f4c8c1f4ed 100644 --- a/arch/arm/mach-at91/at91sam9263.c +++ b/arch/arm/mach-at91/at91sam9263.c | |||
@@ -186,8 +186,10 @@ static struct clk *periph_clocks[] __initdata = { | |||
186 | static struct clk_lookup periph_clocks_lookups[] = { | 186 | static struct clk_lookup periph_clocks_lookups[] = { |
187 | /* One additional fake clock for macb_hclk */ | 187 | /* One additional fake clock for macb_hclk */ |
188 | CLKDEV_CON_ID("hclk", &macb_clk), | 188 | CLKDEV_CON_ID("hclk", &macb_clk), |
189 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), | 189 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.0", &ssc0_clk), |
190 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), | 190 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.1", &ssc1_clk), |
191 | CLKDEV_CON_DEV_ID("pclk", "fff98000.ssc", &ssc0_clk), | ||
192 | CLKDEV_CON_DEV_ID("pclk", "fff9c000.ssc", &ssc1_clk), | ||
191 | CLKDEV_CON_DEV_ID("mci_clk", "atmel_mci.0", &mmc0_clk), | 193 | CLKDEV_CON_DEV_ID("mci_clk", "atmel_mci.0", &mmc0_clk), |
192 | CLKDEV_CON_DEV_ID("mci_clk", "atmel_mci.1", &mmc1_clk), | 194 | CLKDEV_CON_DEV_ID("mci_clk", "atmel_mci.1", &mmc1_clk), |
193 | CLKDEV_CON_DEV_ID("spi_clk", "atmel_spi.0", &spi0_clk), | 195 | CLKDEV_CON_DEV_ID("spi_clk", "atmel_spi.0", &spi0_clk), |
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c index 9c61e59a2104..8215839f2d54 100644 --- a/arch/arm/mach-at91/at91sam9263_devices.c +++ b/arch/arm/mach-at91/at91sam9263_devices.c | |||
@@ -1199,7 +1199,7 @@ static struct resource ssc0_resources[] = { | |||
1199 | }; | 1199 | }; |
1200 | 1200 | ||
1201 | static struct platform_device at91sam9263_ssc0_device = { | 1201 | static struct platform_device at91sam9263_ssc0_device = { |
1202 | .name = "ssc", | 1202 | .name = "at91rm9200_ssc", |
1203 | .id = 0, | 1203 | .id = 0, |
1204 | .dev = { | 1204 | .dev = { |
1205 | .dma_mask = &ssc0_dmamask, | 1205 | .dma_mask = &ssc0_dmamask, |
@@ -1241,7 +1241,7 @@ static struct resource ssc1_resources[] = { | |||
1241 | }; | 1241 | }; |
1242 | 1242 | ||
1243 | static struct platform_device at91sam9263_ssc1_device = { | 1243 | static struct platform_device at91sam9263_ssc1_device = { |
1244 | .name = "ssc", | 1244 | .name = "at91rm9200_ssc", |
1245 | .id = 1, | 1245 | .id = 1, |
1246 | .dev = { | 1246 | .dev = { |
1247 | .dma_mask = &ssc1_dmamask, | 1247 | .dma_mask = &ssc1_dmamask, |
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index 84af1b506d92..a4282d3742bf 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch/arm/mach-at91/at91sam9g45.c | |||
@@ -239,8 +239,10 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
239 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.1", &tcb0_clk), | 239 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.1", &tcb0_clk), |
240 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g10.0", &twi0_clk), | 240 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g10.0", &twi0_clk), |
241 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g10.1", &twi1_clk), | 241 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g10.1", &twi1_clk), |
242 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), | 242 | CLKDEV_CON_DEV_ID("pclk", "at91sam9g45_ssc.0", &ssc0_clk), |
243 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), | 243 | CLKDEV_CON_DEV_ID("pclk", "at91sam9g45_ssc.1", &ssc1_clk), |
244 | CLKDEV_CON_DEV_ID("pclk", "fff9c000.ssc", &ssc0_clk), | ||
245 | CLKDEV_CON_DEV_ID("pclk", "fffa0000.ssc", &ssc1_clk), | ||
244 | CLKDEV_CON_DEV_ID(NULL, "atmel-trng", &trng_clk), | 246 | CLKDEV_CON_DEV_ID(NULL, "atmel-trng", &trng_clk), |
245 | CLKDEV_CON_DEV_ID(NULL, "atmel_sha", &aestdessha_clk), | 247 | CLKDEV_CON_DEV_ID(NULL, "atmel_sha", &aestdessha_clk), |
246 | CLKDEV_CON_DEV_ID(NULL, "atmel_tdes", &aestdessha_clk), | 248 | CLKDEV_CON_DEV_ID(NULL, "atmel_tdes", &aestdessha_clk), |
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index fcd233cb33d2..d26474a97fec 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c | |||
@@ -1459,7 +1459,7 @@ static struct resource ssc0_resources[] = { | |||
1459 | }; | 1459 | }; |
1460 | 1460 | ||
1461 | static struct platform_device at91sam9g45_ssc0_device = { | 1461 | static struct platform_device at91sam9g45_ssc0_device = { |
1462 | .name = "ssc", | 1462 | .name = "at91sam9g45_ssc", |
1463 | .id = 0, | 1463 | .id = 0, |
1464 | .dev = { | 1464 | .dev = { |
1465 | .dma_mask = &ssc0_dmamask, | 1465 | .dma_mask = &ssc0_dmamask, |
@@ -1501,7 +1501,7 @@ static struct resource ssc1_resources[] = { | |||
1501 | }; | 1501 | }; |
1502 | 1502 | ||
1503 | static struct platform_device at91sam9g45_ssc1_device = { | 1503 | static struct platform_device at91sam9g45_ssc1_device = { |
1504 | .name = "ssc", | 1504 | .name = "at91sam9g45_ssc", |
1505 | .id = 1, | 1505 | .id = 1, |
1506 | .dev = { | 1506 | .dev = { |
1507 | .dma_mask = &ssc1_dmamask, | 1507 | .dma_mask = &ssc1_dmamask, |
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c index 72e908412222..b683fdc699f1 100644 --- a/arch/arm/mach-at91/at91sam9rl.c +++ b/arch/arm/mach-at91/at91sam9rl.c | |||
@@ -184,8 +184,10 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
184 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.0", &tc0_clk), | 184 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.0", &tc0_clk), |
185 | CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.0", &tc1_clk), | 185 | CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.0", &tc1_clk), |
186 | CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.0", &tc2_clk), | 186 | CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.0", &tc2_clk), |
187 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), | 187 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.0", &ssc0_clk), |
188 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), | 188 | CLKDEV_CON_DEV_ID("pclk", "at91rm9200_ssc.1", &ssc1_clk), |
189 | CLKDEV_CON_DEV_ID("pclk", "fffc0000.ssc", &ssc0_clk), | ||
190 | CLKDEV_CON_DEV_ID("pclk", "fffc4000.ssc", &ssc1_clk), | ||
189 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g20.0", &twi0_clk), | 191 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g20.0", &twi0_clk), |
190 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g20.1", &twi1_clk), | 192 | CLKDEV_CON_DEV_ID(NULL, "i2c-at91sam9g20.1", &twi1_clk), |
191 | CLKDEV_CON_ID("pioA", &pioA_clk), | 193 | CLKDEV_CON_ID("pioA", &pioA_clk), |
diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index 5047bdc92adf..b656110e8afe 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c | |||
@@ -832,7 +832,7 @@ static struct resource ssc0_resources[] = { | |||
832 | }; | 832 | }; |
833 | 833 | ||
834 | static struct platform_device at91sam9rl_ssc0_device = { | 834 | static struct platform_device at91sam9rl_ssc0_device = { |
835 | .name = "ssc", | 835 | .name = "at91rm9200_ssc", |
836 | .id = 0, | 836 | .id = 0, |
837 | .dev = { | 837 | .dev = { |
838 | .dma_mask = &ssc0_dmamask, | 838 | .dma_mask = &ssc0_dmamask, |
@@ -874,7 +874,7 @@ static struct resource ssc1_resources[] = { | |||
874 | }; | 874 | }; |
875 | 875 | ||
876 | static struct platform_device at91sam9rl_ssc1_device = { | 876 | static struct platform_device at91sam9rl_ssc1_device = { |
877 | .name = "ssc", | 877 | .name = "at91rm9200_ssc", |
878 | .id = 1, | 878 | .id = 1, |
879 | .dev = { | 879 | .dev = { |
880 | .dma_mask = &ssc1_dmamask, | 880 | .dma_mask = &ssc1_dmamask, |
diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c index e5035380dcbc..18fbbb27f97f 100644 --- a/arch/arm/mach-at91/at91sam9x5.c +++ b/arch/arm/mach-at91/at91sam9x5.c | |||
@@ -231,6 +231,7 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
231 | CLKDEV_CON_DEV_ID("t0_clk", "f800c000.timer", &tcb0_clk), | 231 | CLKDEV_CON_DEV_ID("t0_clk", "f800c000.timer", &tcb0_clk), |
232 | CLKDEV_CON_DEV_ID("dma_clk", "ffffec00.dma-controller", &dma0_clk), | 232 | CLKDEV_CON_DEV_ID("dma_clk", "ffffec00.dma-controller", &dma0_clk), |
233 | CLKDEV_CON_DEV_ID("dma_clk", "ffffee00.dma-controller", &dma1_clk), | 233 | CLKDEV_CON_DEV_ID("dma_clk", "ffffee00.dma-controller", &dma1_clk), |
234 | CLKDEV_CON_DEV_ID("pclk", "f0010000.ssc", &ssc_clk), | ||
234 | CLKDEV_CON_DEV_ID(NULL, "f8010000.i2c", &twi0_clk), | 235 | CLKDEV_CON_DEV_ID(NULL, "f8010000.i2c", &twi0_clk), |
235 | CLKDEV_CON_DEV_ID(NULL, "f8014000.i2c", &twi1_clk), | 236 | CLKDEV_CON_DEV_ID(NULL, "f8014000.i2c", &twi1_clk), |
236 | CLKDEV_CON_DEV_ID(NULL, "f8018000.i2c", &twi2_clk), | 237 | CLKDEV_CON_DEV_ID(NULL, "f8018000.i2c", &twi2_clk), |
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index 3ab2b86a3762..ebdbf42c02c1 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -353,6 +353,16 @@ static struct i2c_board_info __initdata ek_i2c_devices[] = { | |||
353 | }, | 353 | }, |
354 | }; | 354 | }; |
355 | 355 | ||
356 | static struct platform_device sam9g20ek_audio_device = { | ||
357 | .name = "at91sam9g20ek-audio", | ||
358 | .id = -1, | ||
359 | }; | ||
360 | |||
361 | static void __init ek_add_device_audio(void) | ||
362 | { | ||
363 | platform_device_register(&sam9g20ek_audio_device); | ||
364 | } | ||
365 | |||
356 | 366 | ||
357 | static void __init ek_board_init(void) | 367 | static void __init ek_board_init(void) |
358 | { | 368 | { |
@@ -394,6 +404,7 @@ static void __init ek_board_init(void) | |||
394 | at91_set_B_periph(AT91_PIN_PC1, 0); | 404 | at91_set_B_periph(AT91_PIN_PC1, 0); |
395 | /* SSC (for WM8731) */ | 405 | /* SSC (for WM8731) */ |
396 | at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX); | 406 | at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX); |
407 | ek_add_device_audio(); | ||
397 | } | 408 | } |
398 | 409 | ||
399 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") | 410 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") |