Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Trigger Distribution
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Trigger Distribution
Commits
8f291ed7
Commit
8f291ed7
authored
Sep 04, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv:adc: fix devices resources IRQ|MEM
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
e8f7b8fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
wrtd-ref-spec150t-adc-core.c
software/drivers/wrtd-ref-spec150t-adc-core.c
+8
-12
No files found.
software/drivers/wrtd-ref-spec150t-adc-core.c
View file @
8f291ed7
...
...
@@ -12,9 +12,9 @@ static int mfd_id;
enum
wrtd_s150a_dev_offsets
{
WRTD_S150A_FA100_MEM_START
=
0x00002000
,
WRTD_S150A_FA100_MEM_END
=
0x0000
20
00
,
WRTD_S150A_FA100_MEM_END
=
0x0000
3A
00
,
WRTD_S150A_TRTL_MEM_START
=
0x0001E000
,
WRTD_S150A_TRTL_MEM_END
=
0x000
1
E000
,
WRTD_S150A_TRTL_MEM_END
=
0x000
3
E000
,
};
/* MFD devices */
...
...
@@ -32,8 +32,8 @@ static struct resource wrtd_s150a_fa100_res[] = {
},
{
.
name
=
"fmc-adc-100m14b4ch-irq"
,
.
flags
=
IORESOURCE_IRQ
|
IORESOURCE_IRQ_HIGHLEVEL
,
.
start
=
4
,
.
end
=
4
,
.
start
=
0
,
.
end
=
0
,
},
};
...
...
@@ -46,23 +46,19 @@ static struct resource wrtd_s150a_trtl_res[] = {
},
{
.
name
=
"mock-turtle-irq_in"
,
.
flags
=
IORESOURCE_IRQ
|
IORESOURCE_IRQ_HIGHLEVEL
,
.
start
=
0
,
.
end
=
0
,
.
start
=
1
,
},
{
.
name
=
"mock-turtle-irq_out"
,
.
flags
=
IORESOURCE_IRQ
|
IORESOURCE_IRQ_HIGHLEVEL
,
.
start
=
1
,
.
end
=
1
,
.
start
=
2
,
},
{
.
name
=
"mock-turtle-irq_con"
,
.
flags
=
IORESOURCE_IRQ
|
IORESOURCE_IRQ_HIGHLEVEL
,
.
start
=
2
,
.
end
=
2
,
.
start
=
3
,
},
{
.
name
=
"mock-turtle-irq_not"
,
.
flags
=
IORESOURCE_IRQ
|
IORESOURCE_IRQ_HIGHLEVEL
,
.
start
=
3
,
.
end
=
3
,
.
start
=
4
,
},
};
...
...
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