From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Mon, 18 May 2015 15:52:45 +0100 Subject: [RESEND][PATCH 1/5] ARM: sa1100: add platform functions to handle PWER settings In-Reply-To: <1431960247-32646-1-git-send-email-dbaryshkov@gmail.com> References: <1431960247-32646-1-git-send-email-dbaryshkov@gmail.com> Message-ID: <20150518145245.GZ2067@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org No cover letter, so I'll top-reply to the first patch, since my comments aren't specific to this patch. Patches 1-3 look fine, no problem there. Patches 4 and 5 I think should be in the reverse order - update the IRQ code first, and make it independent of things in arch/arm/mach-sa1100, and once that's done, move it out of there. On Mon, May 18, 2015 at 05:44:03PM +0300, Dmitry Eremin-Solenikov wrote: > PWER settings logically belongs neither to GPIO nor to system IRQ code. > Add special functions to handle PWER (for GPIO and for system IRQs) > from platform code. > > Signed-off-by: Dmitry Eremin-Solenikov > --- > arch/arm/mach-sa1100/generic.c | 24 ++++++++++++++++++++++++ > include/soc/sa1100/pwer.h | 15 +++++++++++++++ > 2 files changed, 39 insertions(+) > create mode 100644 include/soc/sa1100/pwer.h > > diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c > index 40e0d86..c651f6e 100644 > --- a/arch/arm/mach-sa1100/generic.c > +++ b/arch/arm/mach-sa1100/generic.c > @@ -23,6 +23,8 @@ > > #include