From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.ferre@atmel.com (Nicolas Ferre) Date: Fri, 16 Jan 2015 18:11:23 +0100 Subject: [PATCH v2 0/8] AT91 cleanup for 3.20 #2 In-Reply-To: <1421333971-7581-1-git-send-email-alexandre.belloni@free-electrons.com> References: <1421333971-7581-1-git-send-email-alexandre.belloni@free-electrons.com> Message-ID: <54B9463B.2020304@atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Le 15/01/2015 15:59, Alexandre Belloni a ?crit : > 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. > > The 3rd and 4th patches a reworking the pm code further to move at91_pm_init in > the .init_machine of the SoCs instead of arch_initcall, to get ready for > multiplatform. > > 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). > > Changes in v2: > - added patch 3 and 4 to remove the calls to of_machine_is_compatible() > > Alexandre Belloni (8): > ARM: at91: pm: rework cpu detection > ARM: at91: pm: use the mmio-sram pool to access SRAM > ARM: at91: pm: add UDP and UHP checks to newer SoCs > ARM: at91: pm: prepare for multiplatform > 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 Okay for the whole series. I'm looking forward including the upcoming one as well. Acked-by: Nicolas Ferre All stacked on top of at91-3.20-cleanup. Thanks, bye. > 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/board-dt-rm9200.c | 11 ++++ > arch/arm/mach-at91/board-dt-sam9.c | 27 +++++++++ > arch/arm/mach-at91/board-dt-sama5.c | 1 + > arch/arm/mach-at91/generic.h | 15 ++++- > arch/arm/mach-at91/pm.c | 110 ++++++++++++++++++++++++++--------- > 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 +++ > 18 files changed, 146 insertions(+), 150 deletions(-) > -- Nicolas Ferre From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753306AbbAPRLa (ORCPT ); Fri, 16 Jan 2015 12:11:30 -0500 Received: from eusmtp01.atmel.com ([212.144.249.242]:34654 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752118AbbAPRL3 (ORCPT ); Fri, 16 Jan 2015 12:11:29 -0500 Message-ID: <54B9463B.2020304@atmel.com> Date: Fri, 16 Jan 2015 18:11:23 +0100 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Alexandre Belloni CC: Boris Brezillon , "Jean-Christophe Plagniol-Villard" , , , "Arnd Bergmann" Subject: Re: [PATCH v2 0/8] AT91 cleanup for 3.20 #2 References: <1421333971-7581-1-git-send-email-alexandre.belloni@free-electrons.com> In-Reply-To: <1421333971-7581-1-git-send-email-alexandre.belloni@free-electrons.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 15/01/2015 15:59, Alexandre Belloni a écrit : > 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. > > The 3rd and 4th patches a reworking the pm code further to move at91_pm_init in > the .init_machine of the SoCs instead of arch_initcall, to get ready for > multiplatform. > > 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). > > Changes in v2: > - added patch 3 and 4 to remove the calls to of_machine_is_compatible() > > Alexandre Belloni (8): > ARM: at91: pm: rework cpu detection > ARM: at91: pm: use the mmio-sram pool to access SRAM > ARM: at91: pm: add UDP and UHP checks to newer SoCs > ARM: at91: pm: prepare for multiplatform > 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 Okay for the whole series. I'm looking forward including the upcoming one as well. Acked-by: Nicolas Ferre All stacked on top of at91-3.20-cleanup. Thanks, bye. > 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/board-dt-rm9200.c | 11 ++++ > arch/arm/mach-at91/board-dt-sam9.c | 27 +++++++++ > arch/arm/mach-at91/board-dt-sama5.c | 1 + > arch/arm/mach-at91/generic.h | 15 ++++- > arch/arm/mach-at91/pm.c | 110 ++++++++++++++++++++++++++--------- > 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 +++ > 18 files changed, 146 insertions(+), 150 deletions(-) > -- Nicolas Ferre