From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Mon, 12 Jan 2015 22:23:39 +0100 Subject: [PATCH 0/6] AT91 cleanup for 3.20 #2 Message-ID: <1421097825-396-1-git-send-email-alexandre.belloni@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch sets is based on AT91 cleanup for 3.20 #1 and depends on AT91 DT for 3.20 #1 because it uses the added SRAM nodes. The first two patches rework the pm code to get rid of cpu_is_xxx (they will be dropped soon) and use the SRAM from the genpool instead of relying on the remap done by at91_init_sram. Then the following patches get rid of at91_init_sram, taking .map_io for almost all SoCs but the sama5d4 (more cleanups coming soon for that part). The final patch moves at91rm9200_idle to clk/at91/pmc.c and allows to almost empty arch/arm/mach-at91/at91rm9200.c (It is actually empty once "Atmel System Timer cleanups" is applied). Alexandre Belloni (6): ARM: at91: pm: rework cpu detection ARM: at91: pm: use the mmio-sram pool to access SRAM ARM: at91: remove useless map_io ARM: at91: sama5d4: remove useless call to at91_init_sram ARM: at91: remove unused at91_init_sram ARM: at91: move at91rm9200_idle() to clk/at91/pmc.c arch/arm/mach-at91/Kconfig | 1 + arch/arm/mach-at91/at91rm9200.c | 15 ------ arch/arm/mach-at91/at91sam9260.c | 27 ----------- arch/arm/mach-at91/at91sam9261.c | 9 ---- arch/arm/mach-at91/at91sam9263.c | 7 --- arch/arm/mach-at91/at91sam9g45.c | 7 --- arch/arm/mach-at91/at91sam9n12.c | 6 --- arch/arm/mach-at91/at91sam9rl.c | 18 ------- arch/arm/mach-at91/at91sam9x5.c | 6 --- arch/arm/mach-at91/generic.h | 3 +- arch/arm/mach-at91/pm.c | 100 ++++++++++++++++++++++++++++++--------- arch/arm/mach-at91/sama5d3.c | 6 --- arch/arm/mach-at91/sama5d4.c | 1 - arch/arm/mach-at91/setup.c | 20 -------- drivers/clk/at91/pmc.c | 9 ++++ 15 files changed, 89 insertions(+), 146 deletions(-) -- 2.1.0