Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
5bfdd1fc
Commit
5bfdd1fc
authored
10 years ago
by
Albert ARIBAUD \(3ADEV\)
Committed by
Tom Rini
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
omap3: mmc: add 1.8v bias setting for MMC1
Signed-off-by:
Albert ARIBAUD (3ADEV)
<
albert.aribaud@3adev.fr
>
parent
d215b3e5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/include/asm/arch-omap3/mmc_host_def.h
+1
-0
1 addition, 0 deletions
arch/arm/include/asm/arch-omap3/mmc_host_def.h
drivers/mmc/omap_hsmmc.c
+4
-0
4 additions, 0 deletions
drivers/mmc/omap_hsmmc.c
with
5 additions
and
0 deletions
arch/arm/include/asm/arch-omap3/mmc_host_def.h
+
1
−
0
View file @
5bfdd1fc
...
...
@@ -51,6 +51,7 @@ typedef struct t2 {
#define PBIASLITEPWRDNZ0 (1 << 1)
#define PBIASSPEEDCTRL0 (1 << 2)
#define PBIASLITEPWRDNZ1 (1 << 9)
#define PBIASLITEVMODE0 (1 << 0)
#define CTLPROGIO1SPEEDCTRL (1 << 20)
...
...
This diff is collapsed.
Click to expand it.
drivers/mmc/omap_hsmmc.c
+
4
−
0
View file @
5bfdd1fc
...
...
@@ -134,6 +134,10 @@ static unsigned char mmc_board_init(struct mmc *mmc)
pbias_lite
=
readl
(
&
t2_base
->
pbias_lite
);
pbias_lite
&=
~
(
PBIASLITEPWRDNZ1
|
PBIASLITEPWRDNZ0
);
#ifdef CONFIG_TARGET_OMAP3_CAIRO
/* for cairo board, we need to set up 1.8 Volt bias level on MMC1 */
pbias_lite
&=
~
PBIASLITEVMODE0
;
#endif
writel
(
pbias_lite
,
&
t2_base
->
pbias_lite
);
writel
(
pbias_lite
|
PBIASLITEPWRDNZ1
|
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment