-
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.
dt-bindings/goldfish-pic: Add device tree binding for Goldfish PIC dr…
…iver Add documentation for DT binding of Goldfish PIC driver. The compatible string used by OS for binding the driver is "google,goldfish-pic". Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Miodrag Dinic <miodrag.dinic@mips.com> Signed-off-by: Goran Ferenc <goran.ferenc@mips.com> Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
- Loading branch information
Miodrag Dinic
authored and
Marc Zyngier
committed
Jan 4, 2018
1 parent
404e6be
commit c2ba80a
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
Documentation/devicetree/bindings/interrupt-controller/google,goldfish-pic.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,30 @@ | ||
Android Goldfish PIC | ||
|
||
Android Goldfish programmable interrupt device used by Android | ||
emulator. | ||
|
||
Required properties: | ||
|
||
- compatible : should contain "google,goldfish-pic" | ||
- reg : <registers mapping> | ||
- interrupts : <interrupt mapping> | ||
|
||
Example for mips when used in cascade mode: | ||
|
||
cpuintc { | ||
#interrupt-cells = <0x1>; | ||
#address-cells = <0>; | ||
interrupt-controller; | ||
compatible = "mti,cpu-interrupt-controller"; | ||
}; | ||
|
||
interrupt-controller@1f000000 { | ||
compatible = "google,goldfish-pic"; | ||
reg = <0x1f000000 0x1000>; | ||
|
||
interrupt-controller; | ||
#interrupt-cells = <0x1>; | ||
|
||
interrupt-parent = <&cpuintc>; | ||
interrupts = <0x2>; | ||
}; |
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