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
800d2901
Commit
800d2901
authored
Feb 19, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/lp8755' into regulator-next
parents
efc82802
1200c60b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
647 additions
and
0 deletions
+647
-0
drivers/regulator/Kconfig
drivers/regulator/Kconfig
+9
-0
drivers/regulator/Makefile
drivers/regulator/Makefile
+1
-0
drivers/regulator/lp8755.c
drivers/regulator/lp8755.c
+566
-0
include/linux/platform_data/lp8755.h
include/linux/platform_data/lp8755.h
+71
-0
No files found.
drivers/regulator/Kconfig
View file @
800d2901
...
...
@@ -278,6 +278,15 @@ config REGULATOR_LP872X
help
This driver supports LP8720/LP8725 PMIC
config REGULATOR_LP8755
tristate "TI LP8755 High Performance PMU driver"
depends on I2C
select REGMAP_I2C
help
This driver supports LP8755 High Performance PMU driver. This
chip contains six step-down DC/DC converters which can support
9 mode multiphase configuration.
config REGULATOR_LP8788
bool "TI LP8788 Power Regulators"
depends on MFD_LP8788
...
...
drivers/regulator/Makefile
View file @
800d2901
...
...
@@ -30,6 +30,7 @@ obj-$(CONFIG_REGULATOR_LP3972) += lp3972.o
obj-$(CONFIG_REGULATOR_LP872X)
+=
lp872x.o
obj-$(CONFIG_REGULATOR_LP8788)
+=
lp8788-buck.o
obj-$(CONFIG_REGULATOR_LP8788)
+=
lp8788-ldo.o
obj-$(CONFIG_REGULATOR_LP8755)
+=
lp8755.o
obj-$(CONFIG_REGULATOR_MAX1586)
+=
max1586.o
obj-$(CONFIG_REGULATOR_MAX8649)
+=
max8649.o
obj-$(CONFIG_REGULATOR_MAX8660)
+=
max8660.o
...
...
drivers/regulator/lp8755.c
0 → 100644
View file @
800d2901
This diff is collapsed.
Click to expand it.
include/linux/platform_data/lp8755.h
0 → 100644
View file @
800d2901
/*
* LP8755 High Performance Power Management Unit Driver:System Interface Driver
*
* Copyright (C) 2012 Texas Instruments
*
* Author: Daniel(Geon Si) Jeong <daniel.jeong@ti.com>
* G.Shark Jeong <gshark.jeong@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#ifndef _LP8755_H
#define _LP8755_H
#include <linux/regulator/consumer.h>
#define LP8755_NAME "lp8755-regulator"
/*
*PWR FAULT : power fault detected
*OCP : over current protect activated
*OVP : over voltage protect activated
*TEMP_WARN : thermal warning
*TEMP_SHDN : thermal shutdonw detected
*I_LOAD : current measured
*/
#define LP8755_EVENT_PWR_FAULT REGULATOR_EVENT_FAIL
#define LP8755_EVENT_OCP REGULATOR_EVENT_OVER_CURRENT
#define LP8755_EVENT_OVP 0x10000
#define LP8755_EVENT_TEMP_WARN 0x2000
#define LP8755_EVENT_TEMP_SHDN REGULATOR_EVENT_OVER_TEMP
#define LP8755_EVENT_I_LOAD 0x40000
enum
lp8755_bucks
{
LP8755_BUCK0
=
0
,
LP8755_BUCK1
,
LP8755_BUCK2
,
LP8755_BUCK3
,
LP8755_BUCK4
,
LP8755_BUCK5
,
LP8755_BUCK_MAX
,
};
/**
* multiphase configuration options
*/
enum
lp8755_mphase_config
{
MPHASE_CONF0
,
MPHASE_CONF1
,
MPHASE_CONF2
,
MPHASE_CONF3
,
MPHASE_CONF4
,
MPHASE_CONF5
,
MPHASE_CONF6
,
MPHASE_CONF7
,
MPHASE_CONF8
,
MPHASE_CONF_MAX
};
/**
* struct lp8755_platform_data
* @mphase_type : Multiphase Switcher Configurations.
* @buck_data : buck0~6 init voltage in uV
*/
struct
lp8755_platform_data
{
int
mphase
;
struct
regulator_init_data
*
buck_data
[
LP8755_BUCK_MAX
];
};
#endif
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