Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a778bf35
Commit
a778bf35
authored
Oct 02, 2014
by
Jason Cooper
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'irqchip/atmel' into irqchip/core
parents
468a903c
20afdeb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
Documentation/devicetree/bindings/interrupt-controller/atmel,aic.txt
...on/devicetree/bindings/interrupt-controller/atmel,aic.txt
+1
-1
drivers/irqchip/irq-atmel-aic5.c
drivers/irqchip/irq-atmel-aic5.c
+11
-1
No files found.
Documentation/devicetree/bindings/interrupt-controller/atmel,aic.txt
View file @
a778bf35
...
...
@@ -2,7 +2,7 @@
Required properties:
- compatible: Should be "atmel,<chip>-aic"
<chip> can be "at91rm9200"
or "sama5d3
"
<chip> can be "at91rm9200"
, "sama5d3" or "sama5d4
"
- interrupt-controller: Identifies the node as an interrupt controller.
- interrupt-parent: For single AIC system, it is an empty property.
- #interrupt-cells: The number of cells to define the interrupts. It should be 3.
...
...
drivers/irqchip/irq-atmel-aic5.c
View file @
a778bf35
...
...
@@ -295,6 +295,7 @@ static void __init sama5d3_aic_irq_fixup(struct device_node *root)
static
const
struct
of_device_id
__initdata
aic5_irq_fixups
[]
=
{
{
.
compatible
=
"atmel,sama5d3"
,
.
data
=
sama5d3_aic_irq_fixup
},
{
.
compatible
=
"atmel,sama5d4"
,
.
data
=
sama5d3_aic_irq_fixup
},
{
/* sentinel */
},
};
...
...
@@ -341,7 +342,7 @@ static int __init aic5_of_init(struct device_node *node,
return
0
;
}
#define NR_SAMA5D3_IRQS
50
#define NR_SAMA5D3_IRQS
48
static
int
__init
sama5d3_aic5_of_init
(
struct
device_node
*
node
,
struct
device_node
*
parent
)
...
...
@@ -349,3 +350,12 @@ static int __init sama5d3_aic5_of_init(struct device_node *node,
return
aic5_of_init
(
node
,
parent
,
NR_SAMA5D3_IRQS
);
}
IRQCHIP_DECLARE
(
sama5d3_aic5
,
"atmel,sama5d3-aic"
,
sama5d3_aic5_of_init
);
#define NR_SAMA5D4_IRQS 68
static
int
__init
sama5d4_aic5_of_init
(
struct
device_node
*
node
,
struct
device_node
*
parent
)
{
return
aic5_of_init
(
node
,
parent
,
NR_SAMA5D4_IRQS
);
}
IRQCHIP_DECLARE
(
sama5d4_aic5
,
"atmel,sama5d4-aic"
,
sama5d4_aic5_of_init
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment