diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 20:56:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 20:56:37 -0500 |
commit | c0222ac086669a631814bbf857f8c8023452a4d7 (patch) | |
tree | bb1d9908031fcf69016eeefa7b35a4f68f414333 /Documentation/devicetree/bindings/interrupt-controller | |
parent | 140cd7fb04a4a2bc09a30980bc8104cc89e09330 (diff) | |
parent | e2965cd0003f222bd49f67907c2bc6ed691c6d20 (diff) |
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS updates from Ralf Baechle:
"This is an unusually large pull request for MIPS - in parts because
lots of patches missed the 3.18 deadline but primarily because some
folks opened the flood gates.
- Retire the MIPS-specific phys_t with the generic phys_addr_t.
- Improvments for the backtrace code used by oprofile.
- Better backtraces on SMP systems.
- Cleanups for the Octeon platform code.
- Cleanups and fixes for the Loongson platform code.
- Cleanups and fixes to the firmware library.
- Switch ATH79 platform to use the firmware library.
- Grand overhault to the SEAD3 and Malta interrupt code.
- Move the GIC interrupt code to drivers/irqchip
- Lots of GIC cleanups and updates to the GIC code to use modern IRQ
infrastructures and features of the kernel.
- OF documentation updates for the GIC bindings
- Move GIC clocksource driver to drivers/clocksource
- Merge GIC clocksource driver with clockevent driver.
- Further updates to bring the GIC clocksource driver up to date.
- R3000 TLB code cleanups
- Improvments to the Loongson 3 platform code.
- Convert pr_warning to pr_warn.
- Merge a bunch of small lantiq and ralink fixes that have been
staged/lingering inside the openwrt tree for a while.
- Update archhelp for IP22/IP32
- Fix a number of issues for Loongson 1B.
- New clocksource and clockevent driver for Loongson 1B.
- Further work on clk handling for Loongson 1B.
- Platform work for Broadcom BMIPS.
- Error handling cleanups for TurboChannel.
- Fixes and optimization to the microMIPS support.
- Option to disable the FTLB.
- Dump more relevant information on machine check exception
- Change binfmt to allow arch to examine PT_*PROC headers
- Support for new style FPU register model in O32
- VDSO randomization.
- BCM47xx cleanups
- BCM47xx reimplement the way the kernel accesses NVRAM information.
- Random cleanups
- Add support for ATH25 platforms
- Remove pointless locking code in some PCI platforms.
- Some improvments to EVA support
- Minor Alchemy cleanup"
* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (185 commits)
MIPS: Add MFHC0 and MTHC0 instructions to uasm.
MIPS: Cosmetic cleanups of page table headers.
MIPS: Add CP0 macros for extended EntryLo registers
MIPS: Remove now unused definition of phys_t.
MIPS: Replace use of phys_t with phys_addr_t.
MIPS: Replace MIPS-specific 64BIT_PHYS_ADDR with generic PHYS_ADDR_T_64BIT
PCMCIA: Alchemy Don't select 64BIT_PHYS_ADDR in Kconfig.
MIPS: lib: memset: Clean up some MIPS{EL,EB} ifdefery
MIPS: iomap: Use __mem_{read,write}{b,w,l} for MMIO
MIPS: <asm/types.h> fix indentation.
MAINTAINERS: Add entry for BMIPS multiplatform kernel
MIPS: Enable VDSO randomization
MIPS: Remove a temporary hack for debugging cache flushes in SMTC configuration
MIPS: Remove declaration of obsolete arch_init_clk_ops()
MIPS: atomic.h: Reformat to fit in 79 columns
MIPS: Apply `.insn' to fixup labels throughout
MIPS: Fix microMIPS LL/SC immediate offsets
MIPS: Kconfig: Only allow 32-bit microMIPS builds
MIPS: signal.c: Fix an invalid cast in ISA mode bit handling
MIPS: mm: Only build one microassembler that is suitable
...
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller')
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt b/Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt new file mode 100644 index 000000000000..5a65478e5d40 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt | |||
@@ -0,0 +1,55 @@ | |||
1 | MIPS Global Interrupt Controller (GIC) | ||
2 | |||
3 | The MIPS GIC routes external interrupts to individual VPEs and IRQ pins. | ||
4 | It also supports local (per-processor) interrupts and software-generated | ||
5 | interrupts which can be used as IPIs. The GIC also includes a free-running | ||
6 | global timer, per-CPU count/compare timers, and a watchdog. | ||
7 | |||
8 | Required properties: | ||
9 | - compatible : Should be "mti,gic". | ||
10 | - interrupt-controller : Identifies the node as an interrupt controller | ||
11 | - #interrupt-cells : Specifies the number of cells needed to encode an | ||
12 | interrupt specifier. Should be 3. | ||
13 | - The first cell is the type of interrupt, local or shared. | ||
14 | See <include/dt-bindings/interrupt-controller/mips-gic.h>. | ||
15 | - The second cell is the GIC interrupt number. | ||
16 | - The third cell encodes the interrupt flags. | ||
17 | See <include/dt-bindings/interrupt-controller/irq.h> for a list of valid | ||
18 | flags. | ||
19 | |||
20 | Optional properties: | ||
21 | - reg : Base address and length of the GIC registers. If not present, | ||
22 | the base address reported by the hardware GCR_GIC_BASE will be used. | ||
23 | - mti,reserved-cpu-vectors : Specifies the list of CPU interrupt vectors | ||
24 | to which the GIC may not route interrupts. Valid values are 2 - 7. | ||
25 | This property is ignored if the CPU is started in EIC mode. | ||
26 | |||
27 | Required properties for timer sub-node: | ||
28 | - compatible : Should be "mti,gic-timer". | ||
29 | - interrupts : Interrupt for the GIC local timer. | ||
30 | - clock-frequency : Clock frequency at which the GIC timers operate. | ||
31 | |||
32 | Example: | ||
33 | |||
34 | gic: interrupt-controller@1bdc0000 { | ||
35 | compatible = "mti,gic"; | ||
36 | reg = <0x1bdc0000 0x20000>; | ||
37 | |||
38 | interrupt-controller; | ||
39 | #interrupt-cells = <3>; | ||
40 | |||
41 | mti,reserved-cpu-vectors = <7>; | ||
42 | |||
43 | timer { | ||
44 | compatible = "mti,gic-timer"; | ||
45 | interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>; | ||
46 | clock-frequency = <50000000>; | ||
47 | }; | ||
48 | }; | ||
49 | |||
50 | uart@18101400 { | ||
51 | ... | ||
52 | interrupt-parent = <&gic>; | ||
53 | interrupts = <GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH>; | ||
54 | ... | ||
55 | }; | ||