[PATCH 1/8] SH: intc: Add support OF for INTC
Magnus Damm
magnus.damm at gmail.com
Thu Jan 10 03:42:58 EST 2013
Hi Mark,
On Wed, Jan 9, 2013 at 8:53 PM, Mark Rutland <mark.rutland at arm.com> wrote:
> Hi,
>
> Thanks for updating the text, this is far easier to read than previously.
>
> However, I'm still concerned by how complex the binding seems. As I don't have
> any familiarity with the device, I don't know whether that's just an artifact
> of the hardware or something that can be cleared up.
Iwamatsu-san wrote this binding based on our C version of the INTC
tables. And I wrote the original INTC table code based on perhaps 30+
data sheet. They code was initially designed to allow people to input
data straight off the data sheet - this so we could support a wide
range of slightly different interrupt controllers.
> I think the approach used by the binding needs some serious review before this
> should be merged. It seems far more complex than any existing interrupt
> controller binding. Without a dts example for a complete board (complete with
> devices wired up to the interrupt controller), it's difficult to judge how this
> will work in practice.
Feel free to review the code, but I am not sure why anyone would case
about this Renesas specific legacy interrupt controller. If I were to
chose how cycles should be spent then I think it is better to try to
come up with power domain DT bindings for all SoC vendors.
Also, there are the DT board code queued up that makes use of this controller.
Thanks,
/ magnus
More information about the linux-arm-kernel
mailing list