Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
23b266eb
Commit
23b266eb
authored
Jun 30, 2006
by
Juha Yrjola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Menelaus: Add function menelaus_get_slot_pin_states
Signed-off-by:
Juha Yrjola
<
juha.yrjola@solidboot.com
>
parent
80d597b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
drivers/i2c/chips/menelaus.c
drivers/i2c/chips/menelaus.c
+5
-0
include/asm-arm/arch-omap/menelaus.h
include/asm-arm/arch-omap/menelaus.h
+1
-0
No files found.
drivers/i2c/chips/menelaus.c
View file @
23b266eb
...
@@ -594,6 +594,11 @@ int menelaus_set_vmmc(unsigned int mV)
...
@@ -594,6 +594,11 @@ int menelaus_set_vmmc(unsigned int mV)
}
}
EXPORT_SYMBOL
(
menelaus_set_vmmc
);
EXPORT_SYMBOL
(
menelaus_set_vmmc
);
int
menelaus_get_slot_pin_states
(
void
)
{
return
menelaus_read_reg
(
MENELAUS_MCT_PIN_ST
);
}
EXPORT_SYMBOL
(
menelaus_get_slot_pin_states
);
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
...
...
include/asm-arm/arch-omap/menelaus.h
View file @
23b266eb
...
@@ -18,6 +18,7 @@ extern int menelaus_set_vio(unsigned int mV);
...
@@ -18,6 +18,7 @@ extern int menelaus_set_vio(unsigned int mV);
extern
int
menelaus_set_vmmc
(
unsigned
int
mV
);
extern
int
menelaus_set_vmmc
(
unsigned
int
mV
);
extern
int
menelaus_set_vdcdc
(
int
dcdc
,
unsigned
int
mV
);
extern
int
menelaus_set_vdcdc
(
int
dcdc
,
unsigned
int
mV
);
extern
int
menelaus_set_slot_sel
(
int
enable
);
extern
int
menelaus_set_slot_sel
(
int
enable
);
extern
int
menelaus_get_slot_pin_states
(
void
);
#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_MENELAUS)
#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_MENELAUS)
#define omap_has_menelaus() 1
#define omap_has_menelaus() 1
...
...
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