Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
9b272e61
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
153
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
9b272e61
编写于
11月 10, 2017
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'regulator/topic/qcom-spmi' into regulator-next
上级
28c426c7
ca5cd8c9
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
22 addition
and
0 deletion
+22
-0
Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.txt
...ion/devicetree/bindings/regulator/qcom,spmi-regulator.txt
+13
-0
drivers/regulator/qcom_spmi-regulator.c
drivers/regulator/qcom_spmi-regulator.c
+9
-0
未找到文件。
Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.txt
浏览文件 @
9b272e61
...
...
@@ -8,6 +8,7 @@ Qualcomm SPMI Regulators
"qcom,pm8916-regulators"
"qcom,pm8941-regulators"
"qcom,pm8994-regulators"
"qcom,pmi8994-regulators"
- interrupts:
Usage: optional
...
...
@@ -100,6 +101,15 @@ Qualcomm SPMI Regulators
Definition: Reference to regulator supplying the input pin, as
described in the data sheet.
- vdd_s1-supply:
- vdd_s2-supply:
- vdd_s3-supply:
- vdd_l1-supply:
Usage: optional (pmi8994 only)
Value type: <phandle>
Definition: Reference to regulator supplying the input pin, as
described in the data sheet.
The regulator node houses sub-nodes for each regulator within the device. Each
sub-node is identified using the node's name, with valid values listed for each
...
...
@@ -122,6 +132,9 @@ pm8994:
l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20,
l21, l22, l23, l24, l25, l26, l27, l28, l29, l30, l31, l32, lvs1, lvs2
pmi8994:
s1, s2, s3, l1
The content of each sub-node is defined by the standard binding for regulators -
see regulator.txt - with additional custom properties described below:
...
...
drivers/regulator/qcom_spmi-regulator.c
浏览文件 @
9b272e61
...
...
@@ -1646,11 +1646,20 @@ static const struct spmi_regulator_data pm8994_regulators[] = {
{
}
};
static
const
struct
spmi_regulator_data
pmi8994_regulators
[]
=
{
{
"s1"
,
0x1400
,
"vdd_s1"
,
},
{
"s2"
,
0x1700
,
"vdd_s2"
,
},
{
"s3"
,
0x1a00
,
"vdd_s3"
,
},
{
"l1"
,
0x4000
,
"vdd_l1"
,
},
{
}
};
static
const
struct
of_device_id
qcom_spmi_regulator_match
[]
=
{
{
.
compatible
=
"qcom,pm8841-regulators"
,
.
data
=
&
pm8841_regulators
},
{
.
compatible
=
"qcom,pm8916-regulators"
,
.
data
=
&
pm8916_regulators
},
{
.
compatible
=
"qcom,pm8941-regulators"
,
.
data
=
&
pm8941_regulators
},
{
.
compatible
=
"qcom,pm8994-regulators"
,
.
data
=
&
pm8994_regulators
},
{
.
compatible
=
"qcom,pmi8994-regulators"
,
.
data
=
&
pmi8994_regulators
},
{
}
};
MODULE_DEVICE_TABLE
(
of
,
qcom_spmi_regulator_match
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录