Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gsplhtlxg
clone-Linux
提交
1474e4db
C
clone-Linux
项目概览
gsplhtlxg
/
clone-Linux
通知
2
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
clone-Linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1474e4db
编写于
4月 09, 2012
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'regulator-register' into regulator-drivers
上级
f604c10c
09de3473
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
19 addition
and
17 deletion
+19
-17
drivers/regulator/ad5398.c
drivers/regulator/ad5398.c
+1
-1
drivers/regulator/core.c
drivers/regulator/core.c
+2
-1
drivers/regulator/isl6271a-regulator.c
drivers/regulator/isl6271a-regulator.c
+1
-1
drivers/regulator/lp3971.c
drivers/regulator/lp3971.c
+1
-1
drivers/regulator/lp3972.c
drivers/regulator/lp3972.c
+1
-1
drivers/regulator/max1586.c
drivers/regulator/max1586.c
+1
-1
drivers/regulator/max8649.c
drivers/regulator/max8649.c
+1
-1
drivers/regulator/max8660.c
drivers/regulator/max8660.c
+1
-1
drivers/regulator/max8952.c
drivers/regulator/max8952.c
+1
-1
drivers/regulator/pcap-regulator.c
drivers/regulator/pcap-regulator.c
+1
-1
drivers/regulator/pcf50633-regulator.c
drivers/regulator/pcf50633-regulator.c
+1
-1
drivers/regulator/tps6105x-regulator.c
drivers/regulator/tps6105x-regulator.c
+1
-1
drivers/regulator/tps65217-regulator.c
drivers/regulator/tps65217-regulator.c
+1
-1
drivers/regulator/wm8350-regulator.c
drivers/regulator/wm8350-regulator.c
+1
-1
drivers/regulator/wm8994-regulator.c
drivers/regulator/wm8994-regulator.c
+1
-1
include/linux/regulator/driver.h
include/linux/regulator/driver.h
+3
-2
未找到文件。
drivers/regulator/ad5398.c
浏览文件 @
1474e4db
...
...
@@ -184,7 +184,7 @@ static struct regulator_ops ad5398_ops = {
.
is_enabled
=
ad5398_is_enabled
,
};
static
struct
regulator_desc
ad5398_reg
=
{
static
const
struct
regulator_desc
ad5398_reg
=
{
.
name
=
"isink"
,
.
id
=
0
,
.
ops
=
&
ad5398_ops
,
...
...
drivers/regulator/core.c
浏览文件 @
1474e4db
...
...
@@ -2829,7 +2829,8 @@ static void rdev_init_debugfs(struct regulator_dev *rdev)
* Called by regulator drivers to register a regulator.
* Returns 0 on success.
*/
struct
regulator_dev
*
regulator_register
(
struct
regulator_desc
*
regulator_desc
,
struct
regulator_dev
*
regulator_register
(
const
struct
regulator_desc
*
regulator_desc
,
struct
device
*
dev
,
const
struct
regulator_init_data
*
init_data
,
void
*
driver_data
,
struct
device_node
*
of_node
)
{
...
...
drivers/regulator/isl6271a-regulator.c
浏览文件 @
1474e4db
...
...
@@ -112,7 +112,7 @@ static struct regulator_ops isl_fixed_ops = {
.
list_voltage
=
isl6271a_list_fixed_voltage
,
};
static
struct
regulator_desc
isl_rd
[]
=
{
static
const
struct
regulator_desc
isl_rd
[]
=
{
{
.
name
=
"Core Buck"
,
.
id
=
0
,
...
...
drivers/regulator/lp3971.c
浏览文件 @
1474e4db
...
...
@@ -281,7 +281,7 @@ static struct regulator_ops lp3971_dcdc_ops = {
.
set_voltage_sel
=
lp3971_dcdc_set_voltage_sel
,
};
static
struct
regulator_desc
regulators
[]
=
{
static
const
struct
regulator_desc
regulators
[]
=
{
{
.
name
=
"LDO1"
,
.
id
=
LP3971_LDO1
,
...
...
drivers/regulator/lp3972.c
浏览文件 @
1474e4db
...
...
@@ -444,7 +444,7 @@ static struct regulator_ops lp3972_dcdc_ops = {
.
set_voltage_sel
=
lp3972_dcdc_set_voltage_sel
,
};
static
struct
regulator_desc
regulators
[]
=
{
static
const
struct
regulator_desc
regulators
[]
=
{
{
.
name
=
"LDO1"
,
.
id
=
LP3972_LDO1
,
...
...
drivers/regulator/max1586.c
浏览文件 @
1474e4db
...
...
@@ -161,7 +161,7 @@ static struct regulator_ops max1586_v6_ops = {
.
list_voltage
=
max1586_v6_list
,
};
static
struct
regulator_desc
max1586_reg
[]
=
{
static
const
struct
regulator_desc
max1586_reg
[]
=
{
{
.
name
=
"Output_V3"
,
.
id
=
MAX1586_V3
,
...
...
drivers/regulator/max8649.c
浏览文件 @
1474e4db
...
...
@@ -207,7 +207,7 @@ static struct regulator_ops max8649_dcdc_ops = {
};
static
struct
regulator_desc
dcdc_desc
=
{
static
const
struct
regulator_desc
dcdc_desc
=
{
.
name
=
"max8649"
,
.
ops
=
&
max8649_dcdc_ops
,
.
type
=
REGULATOR_VOLTAGE
,
...
...
drivers/regulator/max8660.c
浏览文件 @
1474e4db
...
...
@@ -313,7 +313,7 @@ static struct regulator_ops max8660_ldo67_ops = {
.
set_voltage
=
max8660_ldo67_set
,
};
static
struct
regulator_desc
max8660_reg
[]
=
{
static
const
struct
regulator_desc
max8660_reg
[]
=
{
{
.
name
=
"V3(DCDC)"
,
.
id
=
MAX8660_V3
,
...
...
drivers/regulator/max8952.c
浏览文件 @
1474e4db
...
...
@@ -159,7 +159,7 @@ static struct regulator_ops max8952_ops = {
.
set_suspend_disable
=
max8952_disable
,
};
static
struct
regulator_desc
regulator
=
{
static
const
struct
regulator_desc
regulator
=
{
.
name
=
"MAX8952_VOUT"
,
.
id
=
0
,
.
n_voltages
=
MAX8952_NUM_DVS_MODE
,
...
...
drivers/regulator/pcap-regulator.c
浏览文件 @
1474e4db
...
...
@@ -241,7 +241,7 @@ static struct regulator_ops pcap_regulator_ops = {
.owner = THIS_MODULE, \
}
static
struct
regulator_desc
pcap_regulators
[]
=
{
static
const
struct
regulator_desc
pcap_regulators
[]
=
{
VREG
(
V1
),
VREG
(
V2
),
VREG
(
V3
),
VREG
(
V4
),
VREG
(
V5
),
VREG
(
V6
),
VREG
(
V7
),
VREG
(
V8
),
VREG
(
V9
),
VREG
(
V10
),
VREG
(
VAUX1
),
VREG
(
VAUX2
),
VREG
(
VAUX3
),
VREG
(
VAUX4
),
VREG
(
VSIM
),
VREG
(
VSIM2
),
VREG
(
VVIB
),
VREG
(
SW1
),
VREG
(
SW2
),
...
...
drivers/regulator/pcf50633-regulator.c
浏览文件 @
1474e4db
...
...
@@ -267,7 +267,7 @@ static struct regulator_ops pcf50633_regulator_ops = {
.
is_enabled
=
pcf50633_regulator_is_enabled
,
};
static
struct
regulator_desc
regulators
[]
=
{
static
const
struct
regulator_desc
regulators
[]
=
{
[
PCF50633_REGULATOR_AUTO
]
=
PCF50633_REGULATOR
(
"auto"
,
PCF50633_REGULATOR_AUTO
,
128
),
[
PCF50633_REGULATOR_DOWN1
]
=
...
...
drivers/regulator/tps6105x-regulator.c
浏览文件 @
1474e4db
...
...
@@ -123,7 +123,7 @@ static struct regulator_ops tps6105x_regulator_ops = {
.
list_voltage
=
tps6105x_regulator_list_voltage
,
};
static
struct
regulator_desc
tps6105x_regulator_desc
=
{
static
const
struct
regulator_desc
tps6105x_regulator_desc
=
{
.
name
=
"tps6105x-boost"
,
.
ops
=
&
tps6105x_regulator_ops
,
.
type
=
REGULATOR_VOLTAGE
,
...
...
drivers/regulator/tps65217-regulator.c
浏览文件 @
1474e4db
...
...
@@ -312,7 +312,7 @@ static struct regulator_ops tps65217_pmic_ldo1_ops = {
.
list_voltage
=
tps65217_pmic_list_voltage
,
};
static
struct
regulator_desc
regulators
[]
=
{
static
const
struct
regulator_desc
regulators
[]
=
{
TPS65217_REGULATOR
(
"DCDC1"
,
TPS65217_DCDC_1
,
tps65217_pmic_ops
,
64
),
TPS65217_REGULATOR
(
"DCDC2"
,
TPS65217_DCDC_2
,
tps65217_pmic_ops
,
64
),
TPS65217_REGULATOR
(
"DCDC3"
,
TPS65217_DCDC_3
,
tps65217_pmic_ops
,
64
),
...
...
drivers/regulator/wm8350-regulator.c
浏览文件 @
1474e4db
...
...
@@ -1269,7 +1269,7 @@ static struct regulator_ops wm8350_isink_ops = {
.
enable_time
=
wm8350_isink_enable_time
,
};
static
struct
regulator_desc
wm8350_reg
[
NUM_WM8350_REGULATORS
]
=
{
static
const
struct
regulator_desc
wm8350_reg
[
NUM_WM8350_REGULATORS
]
=
{
{
.
name
=
"DCDC1"
,
.
id
=
WM8350_DCDC_1
,
...
...
drivers/regulator/wm8994-regulator.c
浏览文件 @
1474e4db
...
...
@@ -209,7 +209,7 @@ static struct regulator_ops wm8994_ldo2_ops = {
.
set_voltage
=
wm8994_ldo2_set_voltage
,
};
static
struct
regulator_desc
wm8994_ldo_desc
[]
=
{
static
const
struct
regulator_desc
wm8994_ldo_desc
[]
=
{
{
.
name
=
"LDO1"
,
.
id
=
1
,
...
...
include/linux/regulator/driver.h
浏览文件 @
1474e4db
...
...
@@ -184,7 +184,7 @@ struct regulator_desc {
* no other direct access).
*/
struct
regulator_dev
{
struct
regulator_desc
*
desc
;
const
struct
regulator_desc
*
desc
;
int
exclusive
;
u32
use_count
;
u32
open_count
;
...
...
@@ -210,7 +210,8 @@ struct regulator_dev {
struct
dentry
*
debugfs
;
};
struct
regulator_dev
*
regulator_register
(
struct
regulator_desc
*
regulator_desc
,
struct
regulator_dev
*
regulator_register
(
const
struct
regulator_desc
*
regulator_desc
,
struct
device
*
dev
,
const
struct
regulator_init_data
*
init_data
,
void
*
driver_data
,
struct
device_node
*
of_node
);
void
regulator_unregister
(
struct
regulator_dev
*
rdev
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录