]> git.baikalelectronics.ru Git - kernel.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)
commitdd718a5e0c4f9a01dfcabea7d3adbbac3cd973a5
treea10608259acc0487938f30b4669a2c4b678f91c3
parent8ea77d69b631dda1167aacd90e6030bd877da7e8
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