]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: vic: device tree binding
authorJamie Iles <jamie@jamieiles.com>
Tue, 27 Sep 2011 10:00:46 +0000 (11:00 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 15 Nov 2011 18:14:02 +0000 (18:14 +0000)
commitf9b28ccbc7139af656147dcbba9c5425d5706b7d
treea10608259acc0487938f30b4669a2c4b678f91c3
parent08d33b27f7063ba2b4a29f9e3a2dcb65f30dec0b
ARM: vic: device tree binding

This adds a device tree binding for the VIC based on the of_irq_init()
support.  This adds an irqdomain to the vic and always registers all
vics in the static vic array rather than for pm only to keep track of
the irq domain.  struct irq_data::hwirq is used where appropriate rather
than runtime masking.

v3: - include linux/export.h for THIS_MODULE
v2: - use irq_domain_simple_ops
- remove stub implementation of vic_of_init for !CONFIG_OF
- Make VIC select IRQ_DOMAIN

Reviewed-by: Rob Herring <robherring2@gmail.com>
Reviewed-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Documentation/devicetree/bindings/arm/vic.txt [new file with mode: 0644]
arch/arm/common/Kconfig
arch/arm/common/vic.c
arch/arm/include/asm/hardware/vic.h