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
a9905b1d
Commit
a9905b1d
authored
Jun 27, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regulator: arizona-ldo1: Implement GPIO enable support
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
495fd8c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/regulator/arizona-ldo1.c
drivers/regulator/arizona-ldo1.c
+4
-0
No files found.
drivers/regulator/arizona-ldo1.c
View file @
a9905b1d
...
@@ -57,6 +57,9 @@ static const struct regulator_desc arizona_ldo1 = {
...
@@ -57,6 +57,9 @@ static const struct regulator_desc arizona_ldo1 = {
};
};
static
const
struct
regulator_init_data
arizona_ldo1_default
=
{
static
const
struct
regulator_init_data
arizona_ldo1_default
=
{
.
constraints
=
{
.
valid_ops_mask
=
REGULATOR_CHANGE_STATUS
,
},
.
num_consumer_supplies
=
1
,
.
num_consumer_supplies
=
1
,
};
};
...
@@ -88,6 +91,7 @@ static __devinit int arizona_ldo1_probe(struct platform_device *pdev)
...
@@ -88,6 +91,7 @@ static __devinit int arizona_ldo1_probe(struct platform_device *pdev)
config
.
dev
=
arizona
->
dev
;
config
.
dev
=
arizona
->
dev
;
config
.
driver_data
=
ldo1
;
config
.
driver_data
=
ldo1
;
config
.
regmap
=
arizona
->
regmap
;
config
.
regmap
=
arizona
->
regmap
;
config
.
ena_gpio
=
arizona
->
pdata
.
ldoena
;
if
(
arizona
->
pdata
.
ldo1
)
if
(
arizona
->
pdata
.
ldo1
)
config
.
init_data
=
arizona
->
pdata
.
ldo1
;
config
.
init_data
=
arizona
->
pdata
.
ldo1
;
...
...
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