aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2014-08-25 09:35:26 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-08-25 09:35:26 -0400
commite657ce689a85ff1c887b8020282e5b2ab1411ded (patch)
treeb9e9195aeaeb77fc7fa730eac0ce98bcbe267dea /arch/arm/mach-at91
parent39333610ba3b1e076ac1ceccca34de037a413a03 (diff)
parentae499f0fadaf28bf3138676fa2d3f6cf7d57556a (diff)
Merge tag 'at91-drivers-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux
Pull AT91 reset, poweroff and ram drivers from Maxime Ripard: "This tag holds the various new drivers introduced to move code that used to be in mach-at91 over to the proper frameworks. These files are the reboot and poweroff code for all AT91 SoCs but the RM9200, and the ram controller driver is not doing much at the time, except for grabing the RAM clock in order to leave it always enabled." Conflicts: arch/arm/mach-at91/Kconfig
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/Kconfig4
-rw-r--r--arch/arm/mach-at91/setup.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index dd28e1fedbdc..6aa7ab47205e 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -53,6 +53,8 @@ config SOC_AT91SAM9
53 select ATMEL_AIC_IRQ if !OLD_IRQ_AT91 53 select ATMEL_AIC_IRQ if !OLD_IRQ_AT91
54 select CPU_ARM926T 54 select CPU_ARM926T
55 select GENERIC_CLOCKEVENTS 55 select GENERIC_CLOCKEVENTS
56 select MEMORY if USE_OF
57 select ATMEL_SDRAMC if USE_OF
56 58
57config SOC_SAMA5 59config SOC_SAMA5
58 bool 60 bool
@@ -61,6 +63,8 @@ config SOC_SAMA5
61 select CPU_V7 63 select CPU_V7
62 select GENERIC_CLOCKEVENTS 64 select GENERIC_CLOCKEVENTS
63 select USE_OF 65 select USE_OF
66 select MEMORY
67 select ATMEL_SDRAMC
64 68
65menu "Atmel AT91 System-on-Chip" 69menu "Atmel AT91 System-on-Chip"
66 70
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 0bf893a574f9..1174b5fe74d8 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -385,6 +385,7 @@ static struct of_device_id ramc_ids[] = {
385 { .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby }, 385 { .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby },
386 { .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby }, 386 { .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby },
387 { .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby }, 387 { .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby },
388 { .compatible = "atmel,sama5d3-ddramc", .data = at91_ddr_standby },
388 { /*sentinel*/ } 389 { /*sentinel*/ }
389}; 390};
390 391