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
1fe8c2bc
Commit
1fe8c2bc
authored
Apr 27, 2010
by
Eric Miao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] pxa: allow MFP_LPM_INPUT to be explicitly specified
Signed-off-by:
Eric Miao
<
eric.y.miao@gmail.com
>
parent
c09f431c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
arch/arm/mach-pxa/mfp-pxa2xx.c
arch/arm/mach-pxa/mfp-pxa2xx.c
+1
-0
arch/arm/plat-pxa/mfp.c
arch/arm/plat-pxa/mfp.c
+1
-0
No files found.
arch/arm/mach-pxa/mfp-pxa2xx.c
View file @
1fe8c2bc
...
@@ -81,6 +81,7 @@ static int __mfp_config_gpio(unsigned gpio, unsigned long c)
...
@@ -81,6 +81,7 @@ static int __mfp_config_gpio(unsigned gpio, unsigned long c)
PGSR
(
bank
)
&=
~
mask
;
PGSR
(
bank
)
&=
~
mask
;
is_out
=
1
;
is_out
=
1
;
break
;
break
;
case
MFP_LPM_INPUT
:
case
MFP_LPM_DEFAULT
:
case
MFP_LPM_DEFAULT
:
break
;
break
;
default:
default:
...
...
arch/arm/plat-pxa/mfp.c
View file @
1fe8c2bc
...
@@ -110,6 +110,7 @@ static const unsigned long mfpr_lpm[] = {
...
@@ -110,6 +110,7 @@ static const unsigned long mfpr_lpm[] = {
MFPR_LPM_PULL_LOW
,
MFPR_LPM_PULL_LOW
,
MFPR_LPM_PULL_HIGH
,
MFPR_LPM_PULL_HIGH
,
MFPR_LPM_FLOAT
,
MFPR_LPM_FLOAT
,
MFPR_LPM_INPUT
,
};
};
/* mapping of MFP_PULL_* definitions to MFPR_PULL_* register bits */
/* mapping of MFP_PULL_* definitions to MFPR_PULL_* register bits */
...
...
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