From: "Heiko Stübner" <heiko@sntech.de> To: Kukjin Kim <kgene.kim@samsung.com> Cc: "Ben Dooks" <ben-linux@fluff.org>, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, "Heiko Stübner" <heiko@sntech.de> Subject: [PATCH 00/10] ARM: S3C24XX: rework irq handling for a later dt usage Date: Sun, 18 Nov 2012 01:51:00 +0100 [thread overview] Message-ID: <201211180151.01029.heiko@sntech.de> (raw) All S3C24XX arches share the same interrupt registers and basic handling principles but the individual interrupts differ quite a lot between all the arches. This series therefore tries to unify this a bit by abstracting the irq handling and enabling the arches to simply provide a structure describing its individual interrupts. With this declarative approach it should also be (hopefully) easy to move this to devicetree later. For the initial transformation (in patch 1) I gave up on trying to do this in individual steps, so the patch might be a bit bumpy to read, but the new irq code does provide the exactly same interrupts and handlers as the old code. This also means that the unconverted arches shouldn't feel any difference at all. I've only included the s3c2416 and s3c2443 interrupts for now, as the s3c2416 is my main development platform and the s3c2443 is so very similar. But the other arches use the same mechanics so conversion should be quite easy later. As it seems to be the policy for drivers/irqchip that drivers there should not contain platform-hooks or pollute the namespace with custom init functons, the irq code stays in plat-s3c24xx for now. Heiko Stuebner (10): ARM: S3C24XX: transform irq handling into a declarative form ARM: S3C24XX: move irq-pm code into main irq file ARM: S3C24XX: cleanup irq-pm integration ARM: S3C24XX: move s3c2416 irq init to common irq code ARM: S3C24XX: modify s3c2416 irq init to initialize all irqs ARM: S3C24XX: assimilate s3c2416 subirqs into new structure ARM: S3C24XX: assimilate second s3c2416 interrupt into new structure ARM: S3C24XX: move s3c2443 irq code to irq.c ARM: S3C24XX: modify s3c2443 irq init to initialize all irqs ARM: S3C24XX: assimilate s3c2443 subirqs into new structure arch/arm/mach-s3c24xx/Makefile | 6 +- arch/arm/mach-s3c24xx/common.h | 2 + arch/arm/mach-s3c24xx/irq-pm.c | 95 --- arch/arm/mach-s3c24xx/irq-s3c2416.c | 348 -------- arch/arm/mach-s3c24xx/irq-s3c2443.c | 281 ------- arch/arm/mach-s3c24xx/mach-smdk2416.c | 2 +- arch/arm/mach-s3c24xx/mach-smdk2443.c | 2 +- arch/arm/mach-s3c24xx/s3c2410.c | 4 +- arch/arm/mach-s3c24xx/s3c2412.c | 4 +- arch/arm/mach-s3c24xx/s3c2416.c | 4 +- arch/arm/mach-s3c24xx/s3c2440.c | 4 +- arch/arm/mach-s3c24xx/s3c2442.c | 4 +- arch/arm/plat-s3c24xx/Kconfig | 1 + arch/arm/plat-s3c24xx/irq.c | 1140 ++++++++++++++++---------- arch/arm/plat-samsung/include/plat/pm.h | 6 - arch/arm/plat-samsung/include/plat/s3c2416.h | 1 + arch/arm/plat-samsung/include/plat/s3c2443.h | 2 + 17 files changed, 737 insertions(+), 1169 deletions(-) delete mode 100644 arch/arm/mach-s3c24xx/irq-pm.c delete mode 100644 arch/arm/mach-s3c24xx/irq-s3c2416.c delete mode 100644 arch/arm/mach-s3c24xx/irq-s3c2443.c -- 1.7.2.3
WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stübner) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 00/10] ARM: S3C24XX: rework irq handling for a later dt usage Date: Sun, 18 Nov 2012 01:51:00 +0100 [thread overview] Message-ID: <201211180151.01029.heiko@sntech.de> (raw) All S3C24XX arches share the same interrupt registers and basic handling principles but the individual interrupts differ quite a lot between all the arches. This series therefore tries to unify this a bit by abstracting the irq handling and enabling the arches to simply provide a structure describing its individual interrupts. With this declarative approach it should also be (hopefully) easy to move this to devicetree later. For the initial transformation (in patch 1) I gave up on trying to do this in individual steps, so the patch might be a bit bumpy to read, but the new irq code does provide the exactly same interrupts and handlers as the old code. This also means that the unconverted arches shouldn't feel any difference at all. I've only included the s3c2416 and s3c2443 interrupts for now, as the s3c2416 is my main development platform and the s3c2443 is so very similar. But the other arches use the same mechanics so conversion should be quite easy later. As it seems to be the policy for drivers/irqchip that drivers there should not contain platform-hooks or pollute the namespace with custom init functons, the irq code stays in plat-s3c24xx for now. Heiko Stuebner (10): ARM: S3C24XX: transform irq handling into a declarative form ARM: S3C24XX: move irq-pm code into main irq file ARM: S3C24XX: cleanup irq-pm integration ARM: S3C24XX: move s3c2416 irq init to common irq code ARM: S3C24XX: modify s3c2416 irq init to initialize all irqs ARM: S3C24XX: assimilate s3c2416 subirqs into new structure ARM: S3C24XX: assimilate second s3c2416 interrupt into new structure ARM: S3C24XX: move s3c2443 irq code to irq.c ARM: S3C24XX: modify s3c2443 irq init to initialize all irqs ARM: S3C24XX: assimilate s3c2443 subirqs into new structure arch/arm/mach-s3c24xx/Makefile | 6 +- arch/arm/mach-s3c24xx/common.h | 2 + arch/arm/mach-s3c24xx/irq-pm.c | 95 --- arch/arm/mach-s3c24xx/irq-s3c2416.c | 348 -------- arch/arm/mach-s3c24xx/irq-s3c2443.c | 281 ------- arch/arm/mach-s3c24xx/mach-smdk2416.c | 2 +- arch/arm/mach-s3c24xx/mach-smdk2443.c | 2 +- arch/arm/mach-s3c24xx/s3c2410.c | 4 +- arch/arm/mach-s3c24xx/s3c2412.c | 4 +- arch/arm/mach-s3c24xx/s3c2416.c | 4 +- arch/arm/mach-s3c24xx/s3c2440.c | 4 +- arch/arm/mach-s3c24xx/s3c2442.c | 4 +- arch/arm/plat-s3c24xx/Kconfig | 1 + arch/arm/plat-s3c24xx/irq.c | 1140 ++++++++++++++++---------- arch/arm/plat-samsung/include/plat/pm.h | 6 - arch/arm/plat-samsung/include/plat/s3c2416.h | 1 + arch/arm/plat-samsung/include/plat/s3c2443.h | 2 + 17 files changed, 737 insertions(+), 1169 deletions(-) delete mode 100644 arch/arm/mach-s3c24xx/irq-pm.c delete mode 100644 arch/arm/mach-s3c24xx/irq-s3c2416.c delete mode 100644 arch/arm/mach-s3c24xx/irq-s3c2443.c -- 1.7.2.3
next reply other threads:[~2012-11-18 0:51 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-11-18 0:51 Heiko Stübner [this message] 2012-11-18 0:51 ` [PATCH 00/10] ARM: S3C24XX: rework irq handling for a later dt usage Heiko Stübner 2012-11-18 0:52 ` [PATCH 01/10] ARM: S3C24XX: transform irq handling into a declarative form Heiko Stübner 2012-11-18 0:52 ` Heiko Stübner 2012-11-18 0:52 ` [PATCH 02/10] ARM: S3C24XX: move irq-pm code into main irq file Heiko Stübner 2012-11-18 0:52 ` Heiko Stübner 2012-11-18 0:53 ` [PATCH 03/10] ARM: S3C24XX: cleanup irq-pm integration Heiko Stübner 2012-11-18 0:53 ` Heiko Stübner 2012-11-18 0:54 ` [PATCH 04/10] ARM: S3C24XX: move s3c2416 irq init to common irq code Heiko Stübner 2012-11-18 0:54 ` Heiko Stübner 2012-11-18 0:54 ` [PATCH 05/10] ARM: S3C24XX: modify s3c2416 irq init to initialize all irqs Heiko Stübner 2012-11-18 0:54 ` Heiko Stübner 2012-11-18 0:55 ` [PATCH 06/10] ARM: S3C24XX: assimilate s3c2416 subirqs into new structure Heiko Stübner 2012-11-18 0:55 ` Heiko Stübner 2012-11-18 0:55 ` [PATCH 07/10] ARM: S3C24XX: assimilate second s3c2416 interrupt " Heiko Stübner 2012-11-18 0:55 ` Heiko Stübner 2012-11-18 0:56 ` [PATCH 08/10] ARM: S3C24XX: move s3c2443 irq code to irq.c Heiko Stübner 2012-11-18 0:56 ` Heiko Stübner 2012-11-18 0:57 ` [PATCH 09/10] ARM: S3C24XX: modify s3c2443 irq init to initialize all irqs Heiko Stübner 2012-11-18 0:57 ` Heiko Stübner 2012-11-18 0:57 ` [PATCH 10/10] ARM: S3C24XX: assimilate s3c2443 subirqs into new structure Heiko Stübner 2012-11-18 0:57 ` Heiko Stübner 2012-11-20 11:51 ` [PATCH 00/10] ARM: S3C24XX: rework irq handling for a later dt usage Kukjin Kim 2012-11-20 11:51 ` Kukjin Kim
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201211180151.01029.heiko@sntech.de \ --to=heiko@sntech.de \ --cc=ben-linux@fluff.org \ --cc=kgene.kim@samsung.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.