Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
db544f1b
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
db544f1b
编写于
9月 16, 2015
作者:
S
Stephen Boyd
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'clk-next' into v4.3-rc1
上级
6ff33f39
e1595d89
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
30 addition
and
5 deletion
+30
-5
drivers/clk/h8300/clk-h8s2678.c
drivers/clk/h8300/clk-h8s2678.c
+1
-0
drivers/clk/hisilicon/Kconfig
drivers/clk/hisilicon/Kconfig
+7
-1
drivers/clk/hisilicon/Makefile
drivers/clk/hisilicon/Makefile
+2
-1
drivers/clk/rockchip/clk-rk3188.c
drivers/clk/rockchip/clk-rk3188.c
+7
-2
drivers/clk/rockchip/clk-rk3368.c
drivers/clk/rockchip/clk-rk3368.c
+6
-0
drivers/clk/tegra/clk-dfll.c
drivers/clk/tegra/clk-dfll.c
+7
-1
未找到文件。
drivers/clk/h8300/clk-h8s2678.c
浏览文件 @
db544f1b
...
...
@@ -8,6 +8,7 @@
#include <linux/err.h>
#include <linux/device.h>
#include <linux/of_address.h>
#include <linux/slab.h>
static
DEFINE_SPINLOCK
(
clklock
);
...
...
drivers/clk/hisilicon/Kconfig
浏览文件 @
db544f1b
config COMMON_CLK_HI6220
bool "Hi6220 Clock Driver"
depends on
(ARCH_HISI || COMPILE_TEST) && MAILBOX
depends on
ARCH_HISI || COMPILE_TEST
default ARCH_HISI
help
Build the Hisilicon Hi6220 clock driver based on the common clock framework.
config STUB_CLK_HI6220
bool "Hi6220 Stub Clock Driver"
depends on COMMON_CLK_HI6220 && MAILBOX
help
Build the Hisilicon Hi6220 stub clock driver.
drivers/clk/hisilicon/Makefile
浏览文件 @
db544f1b
...
...
@@ -7,4 +7,5 @@ obj-y += clk.o clkgate-separated.o clkdivider-hi6220.o
obj-$(CONFIG_ARCH_HI3xxx)
+=
clk-hi3620.o
obj-$(CONFIG_ARCH_HIP04)
+=
clk-hip04.o
obj-$(CONFIG_ARCH_HIX5HD2)
+=
clk-hix5hd2.o
obj-$(CONFIG_COMMON_CLK_HI6220)
+=
clk-hi6220.o clk-hi6220-stub.o
obj-$(CONFIG_COMMON_CLK_HI6220)
+=
clk-hi6220.o
obj-$(CONFIG_STUB_CLK_HI6220)
+=
clk-hi6220-stub.o
drivers/clk/rockchip/clk-rk3188.c
浏览文件 @
db544f1b
...
...
@@ -716,6 +716,8 @@ static const char *const rk3188_critical_clocks[] __initconst = {
"aclk_cpu"
,
"aclk_peri"
,
"hclk_peri"
,
"pclk_cpu"
,
"pclk_peri"
,
};
static
void
__init
rk3188_common_clk_init
(
struct
device_node
*
np
)
...
...
@@ -744,8 +746,6 @@ static void __init rk3188_common_clk_init(struct device_node *np)
rockchip_clk_register_branches
(
common_clk_branches
,
ARRAY_SIZE
(
common_clk_branches
));
rockchip_clk_protect_critical
(
rk3188_critical_clocks
,
ARRAY_SIZE
(
rk3188_critical_clocks
));
rockchip_register_softrst
(
np
,
9
,
reg_base
+
RK2928_SOFTRST_CON
(
0
),
ROCKCHIP_SOFTRST_HIWORD_MASK
);
...
...
@@ -765,6 +765,8 @@ static void __init rk3066a_clk_init(struct device_node *np)
mux_armclk_p
,
ARRAY_SIZE
(
mux_armclk_p
),
&
rk3066_cpuclk_data
,
rk3066_cpuclk_rates
,
ARRAY_SIZE
(
rk3066_cpuclk_rates
));
rockchip_clk_protect_critical
(
rk3188_critical_clocks
,
ARRAY_SIZE
(
rk3188_critical_clocks
));
}
CLK_OF_DECLARE
(
rk3066a_cru
,
"rockchip,rk3066a-cru"
,
rk3066a_clk_init
);
...
...
@@ -801,6 +803,9 @@ static void __init rk3188a_clk_init(struct device_node *np)
pr_warn
(
"%s: missing clocks to reparent aclk_cpu_pre to gpll
\n
"
,
__func__
);
}
rockchip_clk_protect_critical
(
rk3188_critical_clocks
,
ARRAY_SIZE
(
rk3188_critical_clocks
));
}
CLK_OF_DECLARE
(
rk3188a_cru
,
"rockchip,rk3188a-cru"
,
rk3188a_clk_init
);
...
...
drivers/clk/rockchip/clk-rk3368.c
浏览文件 @
db544f1b
...
...
@@ -818,6 +818,10 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = {
GATE
(
0
,
"sclk_timer00"
,
"xin24m"
,
CLK_IGNORE_UNUSED
,
RK3368_CLKGATE_CON
(
24
),
0
,
GFLAGS
),
};
static
const
char
*
const
rk3368_critical_clocks
[]
__initconst
=
{
"pclk_pd_pmu"
,
};
static
void
__init
rk3368_clk_init
(
struct
device_node
*
np
)
{
void
__iomem
*
reg_base
;
...
...
@@ -862,6 +866,8 @@ static void __init rk3368_clk_init(struct device_node *np)
RK3368_GRF_SOC_STATUS0
);
rockchip_clk_register_branches
(
rk3368_clk_branches
,
ARRAY_SIZE
(
rk3368_clk_branches
));
rockchip_clk_protect_critical
(
rk3368_critical_clocks
,
ARRAY_SIZE
(
rk3368_critical_clocks
));
rockchip_clk_register_armclk
(
ARMCLKB
,
"armclkb"
,
mux_armclkb_p
,
ARRAY_SIZE
(
mux_armclkb_p
),
...
...
drivers/clk/tegra/clk-dfll.c
浏览文件 @
db544f1b
...
...
@@ -682,11 +682,17 @@ static int find_lut_index_for_rate(struct tegra_dfll *td, unsigned long rate)
struct
dev_pm_opp
*
opp
;
int
i
,
uv
;
rcu_read_lock
();
opp
=
dev_pm_opp_find_freq_ceil
(
td
->
soc
->
dev
,
&
rate
);
if
(
IS_ERR
(
opp
))
if
(
IS_ERR
(
opp
))
{
rcu_read_unlock
();
return
PTR_ERR
(
opp
);
}
uv
=
dev_pm_opp_get_voltage
(
opp
);
rcu_read_unlock
();
for
(
i
=
0
;
i
<
td
->
i2c_lut_size
;
i
++
)
{
if
(
regulator_list_voltage
(
td
->
vdd_reg
,
td
->
i2c_lut
[
i
])
==
uv
)
return
i
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录