* [PATCH 00/04] ARM: mach-shmobile: sh7372 INTC DT update
@ 2012-11-16 10:34 Magnus Damm
2012-11-19 5:02 ` Simon Horman
2012-11-22 1:48 ` Nobuhiro Iwamatsu
0 siblings, 2 replies; 3+ messages in thread
From: Magnus Damm @ 2012-11-16 10:34 UTC (permalink / raw)
To: linux-sh
ARM: mach-shmobile: sh7372 INTC DT update
[PATCH 01/04] ARM: mach-shmobile: sh7372 INTC DT INTCA/INTCS typo fix
[PATCH 02/04] ARM: mach-shmobile: sh7372 INTC DT section mismatch fix
[PATCH 03/04] ARM: mach-shmobile: sh7372 INTC DT init cleanup
[PATCH 04/04] ARM: mach-shmobile: sh7372 INTC DT consolidation
This series shaves off 100 lines of code from the INTC DT implementation
available in the devel/of branch of
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
These patches are the result of me trying to get the new INTC DT code
working on the sh7372 Mackerel board. With these fixes and cleanups
applied the board boots as expected with DT, but as usual the sh7372
SoC setup code is using serial ports and timers as platform devices.
I tried using the INTC DT interrupt controller code with external
interrupt pins on the sh7372 mackerel board with DT, but for some
reason the following network device refuses to probe due to some
interrupt issue.
lan9220@14000000 {
compatible = "smsc,lan9220", "smsc,lan9115";
reg = <0x14000000 0x2000000>;
phy-mode = "mii";
interrupt-parent = <&intca_irq_pins_lo>;
interrupts = <0x2c0>;
reg-io-width = <4>;
smsc,irq-push-pull;
};
The above snippet is nicked and adjusted from my earlier prototype patches:
[PATCH] sh: INTC IRQ domain and DT support prototype
[PATCH] ARM: mach-shmobile: sh7372 DT IRQ prototype
I wonder, is there any outstanding INTC work related to IRQ domains?
Perhaps the best way forward is that Iwamatsu-san rolls these
changes into his current patches and releases a new version after
updating the other SoCs.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/boot/dts/sh7372.dtsi | 8 -
arch/arm/mach-shmobile/intc-sh7372.c | 250 +++++++++-------------------------
drivers/sh/intc/of_intc.c | 8 -
3 files changed, 80 insertions(+), 186 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH 00/04] ARM: mach-shmobile: sh7372 INTC DT update
2012-11-16 10:34 [PATCH 00/04] ARM: mach-shmobile: sh7372 INTC DT update Magnus Damm
@ 2012-11-19 5:02 ` Simon Horman
2012-11-22 1:48 ` Nobuhiro Iwamatsu
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2012-11-19 5:02 UTC (permalink / raw)
To: linux-sh
On Fri, Nov 16, 2012 at 07:34:33PM +0900, Magnus Damm wrote:
> ARM: mach-shmobile: sh7372 INTC DT update
>
> [PATCH 01/04] ARM: mach-shmobile: sh7372 INTC DT INTCA/INTCS typo fix
> [PATCH 02/04] ARM: mach-shmobile: sh7372 INTC DT section mismatch fix
> [PATCH 03/04] ARM: mach-shmobile: sh7372 INTC DT init cleanup
> [PATCH 04/04] ARM: mach-shmobile: sh7372 INTC DT consolidation
>
> This series shaves off 100 lines of code from the INTC DT implementation
> available in the devel/of branch of
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
>
> These patches are the result of me trying to get the new INTC DT code
> working on the sh7372 Mackerel board. With these fixes and cleanups
> applied the board boots as expected with DT, but as usual the sh7372
> SoC setup code is using serial ports and timers as platform devices.
>
> I tried using the INTC DT interrupt controller code with external
> interrupt pins on the sh7372 mackerel board with DT, but for some
> reason the following network device refuses to probe due to some
> interrupt issue.
>
> lan9220@14000000 {
> compatible = "smsc,lan9220", "smsc,lan9115";
> reg = <0x14000000 0x2000000>;
> phy-mode = "mii";
> interrupt-parent = <&intca_irq_pins_lo>;
> interrupts = <0x2c0>;
> reg-io-width = <4>;
> smsc,irq-push-pull;
> };
>
> The above snippet is nicked and adjusted from my earlier prototype patches:
> [PATCH] sh: INTC IRQ domain and DT support prototype
> [PATCH] ARM: mach-shmobile: sh7372 DT IRQ prototype
>
> I wonder, is there any outstanding INTC work related to IRQ domains?
>
> Perhaps the best way forward is that Iwamatsu-san rolls these
> changes into his current patches and releases a new version after
> updating the other SoCs.
I have rolled these patches into the existing series that
I have and (forcibly) pushed them to the devel/of branch
of my renesas tree on kernel.org.
I will post the resulting series shortly.
I have added you as a "CC" to each patch and noted your changes to patches
in their changelog. Please feel free to respond to invividual patches or
the entire series a s-o-b or ack or whatever as you see fit and I will
update the patches accordingly.
To be clear, these patches are not yet under consideration for
merging and any s-o-b or ack or similar you send will not change that
without an accompanying discussion.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH 00/04] ARM: mach-shmobile: sh7372 INTC DT update
2012-11-16 10:34 [PATCH 00/04] ARM: mach-shmobile: sh7372 INTC DT update Magnus Damm
2012-11-19 5:02 ` Simon Horman
@ 2012-11-22 1:48 ` Nobuhiro Iwamatsu
1 sibling, 0 replies; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-11-22 1:48 UTC (permalink / raw)
To: linux-sh
HI, all.
On Fri, Nov 16, 2012 at 7:34 PM, Magnus Damm <magnus.damm@gmail.com> wrote:
> ARM: mach-shmobile: sh7372 INTC DT update
>
> [PATCH 01/04] ARM: mach-shmobile: sh7372 INTC DT INTCA/INTCS typo fix
> [PATCH 02/04] ARM: mach-shmobile: sh7372 INTC DT section mismatch fix
> [PATCH 03/04] ARM: mach-shmobile: sh7372 INTC DT init cleanup
> [PATCH 04/04] ARM: mach-shmobile: sh7372 INTC DT consolidation
>
> This series shaves off 100 lines of code from the INTC DT implementation
> available in the devel/of branch of
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
>
> These patches are the result of me trying to get the new INTC DT code
> working on the sh7372 Mackerel board. With these fixes and cleanups
> applied the board boots as expected with DT, but as usual the sh7372
> SoC setup code is using serial ports and timers as platform devices.
>
> I tried using the INTC DT interrupt controller code with external
> interrupt pins on the sh7372 mackerel board with DT, but for some
> reason the following network device refuses to probe due to some
> interrupt issue.
>
> lan9220@14000000 {
> compatible = "smsc,lan9220", "smsc,lan9115";
> reg = <0x14000000 0x2000000>;
> phy-mode = "mii";
> interrupt-parent = <&intca_irq_pins_lo>;
> interrupts = <0x2c0>;
> reg-io-width = <4>;
> smsc,irq-push-pull;
> };
This is a problem of a dtsi file.
I will fix.
>
> The above snippet is nicked and adjusted from my earlier prototype patches:
> [PATCH] sh: INTC IRQ domain and DT support prototype
> [PATCH] ARM: mach-shmobile: sh7372 DT IRQ prototype
>
> I wonder, is there any outstanding INTC work related to IRQ domains?
>
> Perhaps the best way forward is that Iwamatsu-san rolls these
> changes into his current patches and releases a new version after
> updating the other SoCs.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
> ---
>
> arch/arm/boot/dts/sh7372.dtsi | 8 -
> arch/arm/mach-shmobile/intc-sh7372.c | 250 +++++++++-------------------------
> drivers/sh/intc/of_intc.c | 8 -
> 3 files changed, 80 insertions(+), 186 deletions(-)
>
looks good to me.
I will update other CPU.
Best regards,
Nobuhiro
---
Nobuhiro Iwamatsu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-22 1:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 10:34 [PATCH 00/04] ARM: mach-shmobile: sh7372 INTC DT update Magnus Damm
2012-11-19 5:02 ` Simon Horman
2012-11-22 1:48 ` Nobuhiro Iwamatsu
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.