-
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 tag 'irq-s3c24xx-for-v3.10' of git://git.kernel.org/pub/scm/lin…
…ux/kernel/git/kgene/linux-samsung into next/drivers From Kukjin Kim <kgene.kim@samsung.com>: s3c24xx irq cleanup and move into drivers/irqchip * tag 'irq-s3c24xx-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: irqchip: s3c24xx: add devicetree support irqchip: s3c24xx: make interrupt handling independent of irq_domain structure irqchip: s3c24xx: globally keep track of the created intc instances irqchip: s3c24xx: add irq_set_type callback for basic interrupt types irqchip: s3c24xx: fix irqlist of second s3c2416 controller irqchip: s3c24xx: fix comments on some camera interrupts ARM: S3C24XX: move irq driver to drivers/irqchip ARM: S3C24XX: add handle_irq function ARM: S3C24XX: make s3c24xx_init_intc static ARM: S3C24XX: move s3c24xx_init_irq to s3c2410_init_irq ARM: S3C24XX: fix irq parent check ARM: S3C24XX: fix redundant checks in the irq mapping function Signed-off-by: Arnd Bergmann <arnd@arndb.de>
- Loading branch information
Showing
17 changed files
with
472 additions
and
205 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
Documentation/devicetree/bindings/interrupt-controller/samsung,s3c24xx-irq.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,53 @@ | ||
Samsung S3C24XX Interrupt Controllers | ||
|
||
The S3C24XX SoCs contain a custom set of interrupt controllers providing a | ||
varying number of interrupt sources. The set consists of a main- and sub- | ||
controller and on newer SoCs even a second main controller. | ||
|
||
Required properties: | ||
- compatible: Compatible property value should be "samsung,s3c2410-irq" | ||
for machines before s3c2416 and "samsung,s3c2416-irq" for s3c2416 and later. | ||
|
||
- reg: Physical base address of the controller and length of memory mapped | ||
region. | ||
|
||
- interrupt-controller : Identifies the node as an interrupt controller | ||
|
||
- #interrupt-cells : Specifies the number of cells needed to encode an | ||
interrupt source. The value shall be 4 and interrupt descriptor shall | ||
have the following format: | ||
<ctrl_num parent_irq ctrl_irq type> | ||
|
||
ctrl_num contains the controller to use: | ||
- 0 ... main controller | ||
- 1 ... sub controller | ||
- 2 ... second main controller on s3c2416 and s3c2450 | ||
parent_irq contains the parent bit in the main controller and will be | ||
ignored in main controllers | ||
ctrl_irq contains the interrupt bit of the controller | ||
type contains the trigger type to use | ||
|
||
Example: | ||
|
||
interrupt-controller@4a000000 { | ||
compatible = "samsung,s3c2410-irq"; | ||
reg = <0x4a000000 0x100>; | ||
interrupt-controller; | ||
#interrupt-cells=<4>; | ||
}; | ||
|
||
[...] | ||
|
||
serial@50000000 { | ||
compatible = "samsung,s3c2410-uart"; | ||
reg = <0x50000000 0x4000>; | ||
interrupt-parent = <&subintc>; | ||
interrupts = <1 28 0 4>, <1 28 1 4>; | ||
}; | ||
|
||
rtc@57000000 { | ||
compatible = "samsung,s3c2410-rtc"; | ||
reg = <0x57000000 0x100>; | ||
interrupt-parent = <&intc>; | ||
interrupts = <0 30 0 3>, <0 8 0 3>; | ||
}; |
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 was deleted.
Oops, something went wrong.
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
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.