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
e477ce07
Commit
e477ce07
authored
Aug 27, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regulator: arizona-micsupp: Support get/set bypass
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
9a17de04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
drivers/regulator/arizona-micsupp.c
drivers/regulator/arizona-micsupp.c
+5
-0
No files found.
drivers/regulator/arizona-micsupp.c
View file @
e477ce07
...
...
@@ -82,6 +82,9 @@ static struct regulator_ops arizona_micsupp_ops = {
.
get_voltage_sel
=
regulator_get_voltage_sel_regmap
,
.
set_voltage_sel
=
regulator_set_voltage_sel_regmap
,
.
get_bypass
=
regulator_get_bypass_regmap
,
.
set_bypass
=
regulator_set_bypass_regmap
,
};
static
const
struct
regulator_desc
arizona_micsupp
=
{
...
...
@@ -95,6 +98,8 @@ static const struct regulator_desc arizona_micsupp = {
.
vsel_mask
=
ARIZONA_LDO2_VSEL_MASK
,
.
enable_reg
=
ARIZONA_MIC_CHARGE_PUMP_1
,
.
enable_mask
=
ARIZONA_CPMIC_ENA
,
.
bypass_reg
=
ARIZONA_MIC_CHARGE_PUMP_1
,
.
bypass_mask
=
ARIZONA_CPMIC_BYPASS
,
.
owner
=
THIS_MODULE
,
};
...
...
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