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
c98cac89
Commit
c98cac89
authored
Apr 28, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/ab8500' into v3.9-rc8
parents
9e63d230
5d9de8b1
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
3917 additions
and
294 deletions
+3917
-294
arch/arm/mach-ux500/board-mop500-regulators.c
arch/arm/mach-ux500/board-mop500-regulators.c
+714
-60
arch/arm/mach-ux500/board-mop500-regulators.h
arch/arm/mach-ux500/board-mop500-regulators.h
+4
-3
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/board-mop500.c
+1
-4
drivers/regulator/Makefile
drivers/regulator/Makefile
+1
-1
drivers/regulator/ab8500-ext.c
drivers/regulator/ab8500-ext.c
+407
-0
drivers/regulator/ab8500.c
drivers/regulator/ab8500.c
+2579
-207
drivers/regulator/dbx500-prcmu.h
drivers/regulator/dbx500-prcmu.h
+0
-2
include/linux/mfd/abx500/ab8500.h
include/linux/mfd/abx500/ab8500.h
+2
-9
include/linux/regulator/ab8500.h
include/linux/regulator/ab8500.h
+209
-8
No files found.
arch/arm/mach-ux500/board-mop500-regulators.c
View file @
c98cac89
This diff is collapsed.
Click to expand it.
arch/arm/mach-ux500/board-mop500-regulators.h
View file @
c98cac89
...
...
@@ -14,10 +14,11 @@
#include <linux/regulator/machine.h>
#include <linux/regulator/ab8500.h>
extern
struct
ab8500_regulator_reg_init
ab8500_regulator_reg_init
[
AB8500_NUM_REGULATOR_REGISTERS
];
extern
struct
regulator_init_data
ab8500_regulators
[
AB8500_NUM_REGULATORS
];
extern
struct
ab8500_regulator_platform_data
ab8500_regulator_plat_data
;
extern
struct
ab8500_regulator_platform_data
ab8505_regulator_plat_data
;
extern
struct
regulator_init_data
tps61052_regulator
;
extern
struct
regulator_init_data
gpio_en_3v3_regulator
;
void
mop500_regulator_init
(
void
);
#endif
arch/arm/mach-ux500/board-mop500.c
View file @
c98cac89
...
...
@@ -199,10 +199,7 @@ static struct platform_device snowball_sbnet_dev = {
struct
ab8500_platform_data
ab8500_platdata
=
{
.
irq_base
=
MOP500_AB8500_IRQ_BASE
,
.
regulator_reg_init
=
ab8500_regulator_reg_init
,
.
num_regulator_reg_init
=
ARRAY_SIZE
(
ab8500_regulator_reg_init
),
.
regulator
=
ab8500_regulators
,
.
num_regulator
=
ARRAY_SIZE
(
ab8500_regulators
),
.
regulator
=
&
ab8500_regulator_plat_data
,
.
gpio
=
&
ab8500_gpio_pdata
,
.
codec
=
&
ab8500_codec_pdata
,
};
...
...
drivers/regulator/Makefile
View file @
c98cac89
...
...
@@ -12,7 +12,7 @@ obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o
obj-$(CONFIG_REGULATOR_88PM8607)
+=
88pm8607.o
obj-$(CONFIG_REGULATOR_AAT2870)
+=
aat2870-regulator.o
obj-$(CONFIG_REGULATOR_AB3100)
+=
ab3100.o
obj-$(CONFIG_REGULATOR_AB8500)
+=
ab8500.o
obj-$(CONFIG_REGULATOR_AB8500)
+=
ab8500.o
ab8500-ext.o
obj-$(CONFIG_REGULATOR_AD5398)
+=
ad5398.o
obj-$(CONFIG_REGULATOR_ANATOP)
+=
anatop-regulator.o
obj-$(CONFIG_REGULATOR_ARIZONA)
+=
arizona-micsupp.o arizona-ldo1.o
...
...
drivers/regulator/ab8500-ext.c
0 → 100644
View file @
c98cac89
This diff is collapsed.
Click to expand it.
drivers/regulator/ab8500.c
View file @
c98cac89
This diff is collapsed.
Click to expand it.
drivers/regulator/dbx500-prcmu.h
View file @
c98cac89
...
...
@@ -21,7 +21,6 @@
* @is_enabled: status of the regulator
* @epod_id: id for EPOD (power domain)
* @is_ramret: RAM retention switch for EPOD (power domain)
* @operating_point: operating point (only for vape, to be removed)
*
*/
struct
dbx500_regulator_info
{
...
...
@@ -32,7 +31,6 @@ struct dbx500_regulator_info {
u16
epod_id
;
bool
is_ramret
;
bool
exclude_from_power_state
;
unsigned
int
operating_point
;
};
void
power_state_active_enable
(
void
);
...
...
include/linux/mfd/abx500/ab8500.h
View file @
c98cac89
...
...
@@ -364,8 +364,7 @@ struct ab8500 {
const
int
*
irq_reg_offset
;
};
struct
regulator_reg_init
;
struct
regulator_init_data
;
struct
ab8500_regulator_platform_data
;
struct
ab8500_gpio_platform_data
;
struct
ab8500_codec_platform_data
;
struct
ab8500_sysctrl_platform_data
;
...
...
@@ -375,19 +374,13 @@ struct ab8500_sysctrl_platform_data;
* @irq_base: start of AB8500 IRQs, AB8500_NR_IRQS will be used
* @pm_power_off: Should machine pm power off hook be registered or not
* @init: board-specific initialization after detection of ab8500
* @num_regulator_reg_init: number of regulator init registers
* @regulator_reg_init: regulator init registers
* @num_regulator: number of regulators
* @regulator: machine-specific constraints for regulators
*/
struct
ab8500_platform_data
{
int
irq_base
;
bool
pm_power_off
;
void
(
*
init
)
(
struct
ab8500
*
);
int
num_regulator_reg_init
;
struct
ab8500_regulator_reg_init
*
regulator_reg_init
;
int
num_regulator
;
struct
regulator_init_data
*
regulator
;
struct
ab8500_regulator_platform_data
*
regulator
;
struct
abx500_gpio_platform_data
*
gpio
;
struct
ab8500_codec_platform_data
*
codec
;
struct
ab8500_sysctrl_platform_data
*
sysctrl
;
...
...
include/linux/regulator/ab8500.h
View file @
c98cac89
This diff is collapsed.
Click to expand it.
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