-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/lin…
…ux/kernel/git/tip/tip Pull irq core updates from Thomas Gleixner: "Managerial summary: Core code: - final removal of IRQF_DISABLED - new state save/restore functions for virtualization support - wakeup support for stacked irqdomains - new function to solve the netpoll synchronization problem irqchips: - new driver for STi based devices - new driver for Vybrid MSCM - massive cleanup of the GIC driver by moving the GIC-addons to stacked irqdomains - the usual pile of fixes and updates to the various chip drivers" * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (44 commits) irqchip: GICv3: Add support for irq_[get, set]_irqchip_state() irqchip: GIC: Add support for irq_[get, set]_irqchip_state() genirq: Allow the irqchip state of an IRQ to be save/restored genirq: MSI: Fix freeing of unallocated MSI irqchip: renesas-irqc: Add wake-up support irqchip: armada-370-xp: Allow using wakeup source irqchip: mips-gic: Add new functions to start/stop the GIC counter irqchip: tegra: Add Tegra210 support irqchip: digicolor: Move digicolor_set_gc to init section irqchip: renesas-irqc: Add functional clock to bindings irqchip: renesas-irqc: Add minimal runtime PM support irqchip: renesas-irqc: Add more register documentation DT: exynos: update PMU binding ARM: exynos4/5: convert pmu wakeup to stacked domains irqchip: gic: Don't complain in gic_get_cpumask() if UP system ARM: zynq: switch from gic_arch_extn to gic_set_irqchip_flags ARM: ux500: switch from gic_arch_extn to gic_set_irqchip_flags ARM: shmobile: remove use of gic_arch_extn.irq_set_wake irqchip: gic: Add an entry point to set up irqchip flags ARM: omap: convert wakeupgen to stacked domains ...
- Loading branch information
Showing
79 changed files
with
2,032 additions
and
669 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
Documentation/devicetree/bindings/arm/freescale/fsl,vf610-mscm-cpucfg.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Freescale Vybrid Miscellaneous System Control - CPU Configuration | ||
|
||
The MSCM IP contains multiple sub modules, this binding describes the first | ||
block of registers which contains CPU configuration information. | ||
|
||
Required properties: | ||
- compatible: "fsl,vf610-mscm-cpucfg", "syscon" | ||
- reg: the register range of the MSCM CPU configuration registers | ||
|
||
Example: | ||
mscm_cpucfg: cpucfg@40001000 { | ||
compatible = "fsl,vf610-mscm-cpucfg", "syscon"; | ||
reg = <0x40001000 0x800>; | ||
} |
33 changes: 33 additions & 0 deletions
33
Documentation/devicetree/bindings/arm/freescale/fsl,vf610-mscm-ir.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Freescale Vybrid Miscellaneous System Control - Interrupt Router | ||
|
||
The MSCM IP contains multiple sub modules, this binding describes the second | ||
block of registers which control the interrupt router. The interrupt router | ||
allows to configure the recipient of each peripheral interrupt. Furthermore | ||
it controls the directed processor interrupts. The module is available in all | ||
Vybrid SoC's but is only really useful in dual core configurations (VF6xx | ||
which comes with a Cortex-A5/Cortex-M4 combination). | ||
|
||
Required properties: | ||
- compatible: "fsl,vf610-mscm-ir" | ||
- reg: the register range of the MSCM Interrupt Router | ||
- fsl,cpucfg: The handle to the MSCM CPU configuration node, required | ||
to get the current CPU ID | ||
- interrupt-controller: Identifies the node as an interrupt controller | ||
- #interrupt-cells: Two cells, interrupt number and cells. | ||
The hardware interrupt number according to interrupt | ||
assignment of the interrupt router is required. | ||
Flags get passed only when using GIC as parent. Flags | ||
encoding as documented by the GIC bindings. | ||
- interrupt-parent: Should be the phandle for the interrupt controller of | ||
the CPU the device tree is intended to be used on. This | ||
is either the node of the GIC or NVIC controller. | ||
|
||
Example: | ||
mscm_ir: interrupt-controller@40001800 { | ||
compatible = "fsl,vf610-mscm-ir"; | ||
reg = <0x40001800 0x400>; | ||
fsl,cpucfg = <&mscm_cpucfg>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
interrupt-parent = <&intc>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra-ictlr.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
NVIDIA Legacy Interrupt Controller | ||
|
||
All Tegra SoCs contain a legacy interrupt controller that routes | ||
interrupts to the GIC, and also serves as a wakeup source. It is also | ||
referred to as "ictlr", hence the name of the binding. | ||
|
||
The HW block exposes a number of interrupt controllers, each | ||
implementing a set of 32 interrupts. | ||
|
||
Required properties: | ||
|
||
- compatible : should be: "nvidia,tegra<chip>-ictlr". The LIC on | ||
subsequent SoCs remained backwards-compatible with Tegra30, so on | ||
Tegra generations later than Tegra30 the compatible value should | ||
include "nvidia,tegra30-ictlr". | ||
- reg : Specifies base physical address and size of the registers. | ||
Each controller must be described separately (Tegra20 has 4 of them, | ||
whereas Tegra30 and later have 5" | ||
- interrupt-controller : Identifies the node as an interrupt controller. | ||
- #interrupt-cells : Specifies the number of cells needed to encode an | ||
interrupt source. The value must be 3. | ||
- interrupt-parent : a phandle to the GIC these interrupts are routed | ||
to. | ||
|
||
Notes: | ||
|
||
- Because this HW ultimately routes interrupts to the GIC, the | ||
interrupt specifier must be that of the GIC. | ||
- Only SPIs can use the ictlr as an interrupt parent. SGIs and PPIs | ||
are explicitly forbidden. | ||
|
||
Example: | ||
|
||
ictlr: interrupt-controller@60004000 { | ||
compatible = "nvidia,tegra20-ictlr", "nvidia,tegra-ictlr"; | ||
reg = <0x60004000 64>, | ||
<0x60004100 64>, | ||
<0x60004200 64>, | ||
<0x60004300 64>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
interrupt-parent = <&intc>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
Documentation/devicetree/bindings/interrupt-controller/st,sti-irq-syscfg.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
STMicroelectronics STi System Configuration Controlled IRQs | ||
----------------------------------------------------------- | ||
|
||
On STi based systems; External, CTI (Core Sight), PMU (Performance Management), | ||
and PL310 L2 Cache IRQs are controlled using System Configuration registers. | ||
This driver is used to unmask them prior to use. | ||
|
||
Required properties: | ||
- compatible : Should be set to one of: | ||
"st,stih415-irq-syscfg" | ||
"st,stih416-irq-syscfg" | ||
"st,stih407-irq-syscfg" | ||
"st,stid127-irq-syscfg" | ||
- st,syscfg : Phandle to Cortex-A9 IRQ system config registers | ||
- st,irq-device : Array of IRQs to enable - should be 2 in length | ||
- st,fiq-device : Array of FIQs to enable - should be 2 in length | ||
|
||
Optional properties: | ||
- st,invert-ext : External IRQs can be inverted at will. This property inverts | ||
these IRQs using bitwise logic. A number of defines have been | ||
provided for convenience: | ||
ST_IRQ_SYSCFG_EXT_1_INV | ||
ST_IRQ_SYSCFG_EXT_2_INV | ||
ST_IRQ_SYSCFG_EXT_3_INV | ||
Example: | ||
|
||
irq-syscfg { | ||
compatible = "st,stih416-irq-syscfg"; | ||
st,syscfg = <&syscfg_cpu>; | ||
st,irq-device = <ST_IRQ_SYSCFG_PMU_0>, | ||
<ST_IRQ_SYSCFG_PMU_1>; | ||
st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>, | ||
<ST_IRQ_SYSCFG_DISABLED>; | ||
st,invert-ext = <(ST_IRQ_SYSCFG_EXT_1_INV | ST_IRQ_SYSCFG_EXT_3_INV)>; | ||
}; |
33 changes: 33 additions & 0 deletions
33
Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
TI OMAP4 Wake-up Generator | ||
|
||
All TI OMAP4/5 (and their derivatives) an interrupt controller that | ||
routes interrupts to the GIC, and also serves as a wakeup source. It | ||
is also referred to as "WUGEN-MPU", hence the name of the binding. | ||
|
||
Reguired properties: | ||
|
||
- compatible : should contain at least "ti,omap4-wugen-mpu" or | ||
"ti,omap5-wugen-mpu" | ||
- reg : Specifies base physical address and size of the registers. | ||
- interrupt-controller : Identifies the node as an interrupt controller. | ||
- #interrupt-cells : Specifies the number of cells needed to encode an | ||
interrupt source. The value must be 3. | ||
- interrupt-parent : a phandle to the GIC these interrupts are routed | ||
to. | ||
|
||
Notes: | ||
|
||
- Because this HW ultimately routes interrupts to the GIC, the | ||
interrupt specifier must be that of the GIC. | ||
- Only SPIs can use the WUGEN as an interrupt parent. SGIs and PPIs | ||
are explicitly forbiden. | ||
|
||
Example: | ||
|
||
wakeupgen: interrupt-controller@48281000 { | ||
compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu"; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
reg = <0x48281000 0x1000>; | ||
interrupt-parent = <&gic>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.