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
db58e027
Commit
db58e027
authored
Dec 10, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/da9055' into regulator-next
parents
4e62cce2
f509fd46
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
715 additions
and
3 deletions
+715
-3
drivers/regulator/Kconfig
drivers/regulator/Kconfig
+10
-0
drivers/regulator/Makefile
drivers/regulator/Makefile
+1
-0
drivers/regulator/da9055-regulator.c
drivers/regulator/da9055-regulator.c
+680
-0
include/linux/mfd/da9055/pdata.h
include/linux/mfd/da9055/pdata.h
+24
-3
No files found.
drivers/regulator/Kconfig
View file @
db58e027
...
...
@@ -109,6 +109,16 @@ config REGULATOR_DA9052
This driver supports the voltage regulators of DA9052-BC and
DA9053-AA/Bx PMIC.
config REGULATOR_DA9055
tristate "Dialog Semiconductor DA9055 regulators"
depends on MFD_DA9055
help
Say y here to support the BUCKs and LDOs regulators found on
Dialog Semiconductor DA9055 PMIC.
This driver can also be built as a module. If so, the module
will be called da9055-regulator.
config REGULATOR_FAN53555
tristate "Fairchild FAN53555 Regulator"
depends on I2C
...
...
drivers/regulator/Makefile
View file @
db58e027
...
...
@@ -19,6 +19,7 @@ obj-$(CONFIG_REGULATOR_ARIZONA) += arizona-micsupp.o arizona-ldo1.o
obj-$(CONFIG_REGULATOR_AS3711)
+=
as3711-regulator.o
obj-$(CONFIG_REGULATOR_DA903X)
+=
da903x.o
obj-$(CONFIG_REGULATOR_DA9052)
+=
da9052-regulator.o
obj-$(CONFIG_REGULATOR_DA9055)
+=
da9055-regulator.o
obj-$(CONFIG_REGULATOR_DBX500_PRCMU)
+=
dbx500-prcmu.o
obj-$(CONFIG_REGULATOR_DB8500_PRCMU)
+=
db8500-prcmu.o
obj-$(CONFIG_REGULATOR_FAN53555)
+=
fan53555.o
...
...
drivers/regulator/da9055-regulator.c
0 → 100644
View file @
db58e027
This diff is collapsed.
Click to expand it.
include/linux/mfd/da9055/pdata.h
View file @
db58e027
...
...
@@ -25,8 +25,29 @@ struct da9055_pdata {
int
gpio_base
;
struct
regulator_init_data
*
regulators
[
DA9055_MAX_REGULATORS
];
bool
reset_enable
;
/* Enable RTC in RESET Mode */
enum
gpio_select
*
gpio_rsel
;
/* Select regulator set thru GPIO 1/2 */
enum
gpio_select
*
gpio_ren
;
/* Enable regulator thru GPIO 1/2 */
/* Enable RTC in RESET Mode */
bool
reset_enable
;
/*
* GPI muxed pin to control
* regulator state A/B, 0 if not available.
*/
int
*
gpio_ren
;
/*
* GPI muxed pin to control
* regulator set, 0 if not available.
*/
int
*
gpio_rsel
;
/*
* Regulator mode control bits value (GPI offset) that
* that controls the regulator state, 0 if not available.
*/
enum
gpio_select
*
reg_ren
;
/*
* Regulator mode control bits value (GPI offset) that
* controls the regulator set A/B, 0 if not available.
*/
enum
gpio_select
*
reg_rsel
;
/* GPIOs to enable regulator, 0 if not available */
int
*
ena_gpio
;
};
#endif
/* __DA9055_PDATA_H */
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