]> git.baikalelectronics.ru Git - kernel.git/commit
of/irq: create interrupts-extended property
authorGrant Likely <grant.likely@linaro.org>
Thu, 19 Sep 2013 21:47:37 +0000 (16:47 -0500)
committerGrant Likely <grant.likely@linaro.org>
Mon, 28 Oct 2013 23:48:14 +0000 (16:48 -0700)
commit544a8e8063f026fb5414b2b77909fdd4a45d1d6b
treebbbcc05e19c73ffe9f6a5b71c8c45c5e051c2747
parent1ab3bfef5f13a23ea8eb01f0563ef873f58efffd
of/irq: create interrupts-extended property

The standard interrupts property in device tree can only handle
interrupts coming from a single interrupt parent. If a device is wired
to multiple interrupt controllers, then it needs to be attached to a
node with an interrupt-map property to demux the interrupt specifiers
which is confusing. It would be a lot easier if there was a form of the
interrupts property that allows for a separate interrupt phandle for
each interrupt specifier.

This patch does exactly that by creating a new interrupts-extended
property which reuses the phandle+arguments pattern used by GPIOs and
other core bindings.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Kumar Gala <galak@codeaurora.org>
[grant.likely: removed versatile platform hunks into separate patch]
Cc: Rob Herring <rob.herring@calxeda.com>
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
arch/arm/boot/dts/testcases/tests-interrupts.dtsi
drivers/of/irq.c
drivers/of/selftest.c