forked from lede-project/source
-
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.
brcm63xx: fix brcm, bcm6345-ext-intc interrupt controller
brcm,field-width is read but unused Signed-off-by: Álvaro Fernández Rojas <[email protected]> Signed-off-by: Jonas Gorski <[email protected]> SVN-Revision: 47379
- Loading branch information
1 parent
64af329
commit 1e43316
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
+ | ||
+Required properties: | ||
+ | ||
+- compatible: Should be "brcm,bcm6345-l2-intc". | ||
+- compatible: Should be "brcm,bcm6345-ext-intc". | ||
+- reg: Specifies the base physical addresses 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 | ||
|
@@ -41,7 +41,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
+Example: | ||
+ | ||
+ext_intc: interrupt-controller@10000018 { | ||
+ compatible = "brcm,bcm6345-l2-intc"; | ||
+ compatible = "brcm,bcm6345-ext-intc"; | ||
+ interrupt-parent = <&periph_intc>; | ||
+ #interrupt-cells = <2>; | ||
+ reg = <0x10000018 0x4>; | ||
|
@@ -73,7 +73,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
obj-$(CONFIG_METAG) += irq-metag-ext.o | ||
--- /dev/null | ||
+++ b/drivers/irqchip/irq-bcm6345-ext.c | ||
@@ -0,0 +1,287 @@ | ||
@@ -0,0 +1,288 @@ | ||
+/* | ||
+ * This file is subject to the terms and conditions of the GNU General Public | ||
+ * License. See the file "COPYING" in the main directory of this archive | ||
|
@@ -283,6 +283,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
+ } | ||
+ | ||
+ data->reg = reg; | ||
+ data->shift = shift; | ||
+ | ||
+ data->chip.name = "bcm6345-ext-intc"; | ||
+ data->chip.irq_ack = bcm6345_ext_intc_irq_ack; | ||
|
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
+ | ||
+Required properties: | ||
+ | ||
+- compatible: Should be "brcm,bcm6345-l2-intc". | ||
+- compatible: Should be "brcm,bcm6345-ext-intc". | ||
+- reg: Specifies the base physical addresses 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 | ||
|
@@ -41,7 +41,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
+Example: | ||
+ | ||
+ext_intc: interrupt-controller@10000018 { | ||
+ compatible = "brcm,bcm6345-l2-intc"; | ||
+ compatible = "brcm,bcm6345-ext-intc"; | ||
+ interrupt-parent = <&periph_intc>; | ||
+ #interrupt-cells = <2>; | ||
+ reg = <0x10000018 0x4>; | ||
|
@@ -73,7 +73,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
obj-$(CONFIG_METAG) += irq-metag-ext.o | ||
--- /dev/null | ||
+++ b/drivers/irqchip/irq-bcm6345-ext.c | ||
@@ -0,0 +1,287 @@ | ||
@@ -0,0 +1,288 @@ | ||
+/* | ||
+ * This file is subject to the terms and conditions of the GNU General Public | ||
+ * License. See the file "COPYING" in the main directory of this archive | ||
|
@@ -283,6 +283,7 @@ Signed-off-by: Jonas Gorski <[email protected]> | |
+ } | ||
+ | ||
+ data->reg = reg; | ||
+ data->shift = shift; | ||
+ | ||
+ data->chip.name = "bcm6345-ext-intc"; | ||
+ data->chip.irq_ack = bcm6345_ext_intc_irq_ack; | ||
|